Property editor for non bean components

All
My Requirement:
I had just started to develop an IDE for java, if i click on the component for eg,, a button in the frame i should get all the properties of that component. Is there anyway i could do this thru the PropertyEditor object.
Any other suggestions????
Tx in advance
Arul

First I suggest you bone up on the JavaBeans specification... know it well.
Next I think you'll conclude that you'll need to build your own PropertyEditors for all the common types. Along with custom editors for complex types e.g., Font.
Also I think you'll notice that the JavaBeans component model is severely lacking regarding property exposure; a competent property inspector will have to embellish on the JavaBeans model.
Good luck.

Similar Messages

  • [svn] 4735: Fixing id selectors for non-visual components.

    Revision: 4735
    Author: [email protected]
    Date: 2009-01-29 10:53:55 -0800 (Thu, 29 Jan 2009)
    Log Message:
    Fixing id selectors for non-visual components. This required a special modification to the compiler to include id properties in generated code if a component was guaranteed to have an id property. A new mx.core.IID interface was introduced to opt in to the id property to be included. This change also required TextGraphicElement based components to implement IAdvancedStyleClient instead of just IStyleClient (though note that pseudo-selectors have no meaning for these components as they do not possess states).
    QE: Yes
    Doc: It's reasonably advanced, but we may want to document mx.core.IID for the case where a custom component exists that needs to be styled but is not based on UIComponent or GraphicElement.
    Checkintests: Pass
    Reviewers: Glenn, Paul R
    Bugs:
    SDK-18651 - Advanced CSS not setting styles on FXG elements correctly when styling using IDs
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18651
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as
    flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
    Added Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.as

    Anyone able to help?

  • RM-30410: Warning: Single Record property ignored for non-control block

    Hi gurus,
    I have one block, as oracle default behavious is that when any user enters record and during that if he/she hits down arrow key then it gets to next new record, i want to prevent this behaviour.
    In other words i want that user should not enter second record and if he or she needs to enter second record after saving first then user can only do if he navigate to the form second time.
    In property pallete i put yes to single record but when i compile the form it gives me following warning
    FRM-30410: Warning: Single Record property ignored for non-control block Employees
    Created form file C:\my_forms\employees.fmxPlease seeks help that how can i sort it out.
    Thank you
    Hina

    if he/she hits down arrow key then it gets to next new record, i want to prevent this behaviour. Change the block's key-down and/or key-nxtrec trigger to
    begin
      null;
    end;(or give the user a message "Key not allowed here").

  • Dynamic Property Editor for a Component

    All,
    Have a requirement to show the properties of a given component when the component is selected by the user in a nice property editor within Webcenter. The component will be part of a Fusion Web application (ADF). Can we surface the properties of the component via introspection at runtime from a Fusion Web application (ADF) within WebCenter for DT@ RT. Does Webcenter have any property editor which introspects and displays the component properties, say the properties of a Java Data Transfer Object in this case.
    Thank you.

    well your requirement is similar that ADF Faces Rich client demo provides.
    Unfortunately the online hosted version is not working but you can download the code and run http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
    http://www.oracle.com/technetwork/developer-tools/jdev/index-098948.html
    Zeeshan

  • Missing Property Editor for worksets and roles

    Hello,
    I created a role and different worksets.
    Now i woud like to set the Entry-Point of some worksets to "yes". But if i open the workset from the Portel-Content-Menu, there is no property-editor opened. Only the object-editor is opened.
    Regards,
    Werner

    Hi
    @Gopala,
    Probably he wants the workset to be a part of the TLN and not the role. In this situation it makes sense for the workset to be the entry point.
    @Werner
    I didnt quite understand the meaning when you said that it opens the object editor and not the properties of the workset. Could you check if the workset object is locked.
    Thanks,
    GLM

  • FRM-30410: Warning: Single Record property ignored for non-control block

    I am getting this error
    FRM-30401: Warning: Formula ignored for non-formula item BILLING.TOTALBILL.
    How to mask this warning?

    What about removing the cause of the warning? make the item a formula-item or remove the formula.

  • Use J2EE CAS COM Bridge locally for non visual components

    if you only have non visual java-classes which you want to access locally through COM, you should use J2EE CAS COM Bridge. this is a very powerfull component, that makes it very easy to use about ANY java-class in VC++, VB, ASP and VBScripts. Some people said earlier in this forum, that you can only use EJBs which must also have been deployed in a J2EE EJB server. well that's not true!! if you need only local access to java-components, you can use J2EE CAS COM Bridge as well. All you need is just a JRE, actually you can have multiple JREs installed and choose among them, even dynamiclly in runtime. No JDKs and no additional J2EE components are required.
    J2EE CAS COM Bridge comes with very usefull tools and lots of examples that show, how you can access java-classes in VC++, VB, ASP, etc.
    So TRY THIS!!

    unfortunately, it's outdated! The last example (6) doesn't work. The batch file cloudUtil.bat has to be adjusted to use the current cloudscape JAR files. And even then, the Visual Basic Programm terminates with an Exception at line:
    Set AcctHome = J2eeRi.LookupEjbHome("MyAccount", "account.AccountHome")
    Exception:
    Run-time error '-2147467259 (80004005)':
    JavaException: java.lang.Exception: Could not call javax.naming.InitialContext.lookup because:
    javax.naming.CommunicationException: Can't find SerialContextProvider
    :-(

  • Collection property editor

    In both of the RAD environment which I have previously used, there are property editors for a collection of a particular property type. In Borland's VCL the property editor is built-in once one uses a VCL collection as a property, while in .Net one can specify the System.ComponentModel.Design.CollectionEditor for a ,Net collection. These properties editors work flawlessly for a property which is a collection of a particular property type, whether it is a value type, like a Java int, or a reference type like a Java Object of a particular base class. They allow the end user to add an entry to the collection and then either type the value, if it is a value type, or present a drop-down list of other components of the specified type which have been added to the form ( bean context in Java terms ) for the user to choose, if it is a reference type.
    Coming to JavaBean development I was surprised that Java does not apparently have such a built-in property editor. Is this true, or have I just been unable to find documentation about it ?
    If there is no built-in property editor for a collection of types, are there any such property editors for this on the Internet anywhere ?
    I realize that I can build my own generic property editor for a collection, but I would like to avoid it if I can and use one that already exists. The case of a property editor for a collection seems quite common in terms of creating re-usable components, and I need one for a property of a JavaBean I am creating. Any help on this would be greatly appreciated.

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4043157
    It is not implemented yet.

  • Custom Property Editors in jDev

    Hello,
    I have a custom property editor for a component in the viewer window. How do I access the component from my custom property editor? The propety editor does not have any reference of the component, since it is used to set the value of the property in the property inspector. Does anyone have a way to this?? Please help.
    Another problem I faced is that a Combobox does not show the items as it normally does when used in the UI of a custom property editor. Why is it so??
    Thankyou.

    already done that....
    apparently it's something to do with the inner properties of the editor being 'hidden' and the IDE doesn't notice that the bean has changed when its inner properties have changed.
    tried setting the property to 'hidden' as recommended elsewhere, but still no luck

  • Service desk for non-sap (please - any inputs are welcome)

    hi all,,
    I know how to setup service desk for SAP use. Can some one provide me some tips on using solution manager - service desk for non-sap as well? eg: the company wants to use service desk for normal activities as well, as laptop not working, server down, other system issues etc.
    The questions I have are -
    1) Any specific structure to be created for the non-sap? The way we use in SAP specific environment is to use "SAP Components" while creating tickets. How can we create tickets for non-sap components? What will be the "responsibility" selection?
    2) How about the Ibase? For SAP, the ibase already have the data from SMSY. How can I get data for non-sap systems? Anything is SAP to keep the Asset management data (like entries of laptops, servers etc)
    Thanks for all the suggestions !!
    JZKALH

    Hi
    You need to go for service desk XT which is the extension of service desk to manage non sap or IT incidents
    Check below link
    https://websmp110.sap-ag.de/_solutionmanager
    Heterogeous system environments are a challenge for IT-service management in any company. The associated complex structures and varying forms of media often make it difficult to realize efficient service processes. With SAP Solution Manager Service Desk - Extended Usage (Service Desk XT), SAP offers a centralized support tool as a single point of access - for service requests and problem tickets related to SAP and non-SAP software.
    The Single Point of Access for Support
    SAP Solution Manager, which is a standard part of every SAP solution and therefore can be used by all SAP customers, supports users in SAP relevant service requests. The standard function of the service desk is restricted to service requests.
    With Service Desk XT, SAP provides an extended support tool, which can be also used for general service requests, for example regarding IT or telecommunication equipment.
    This priced add-on does not require additional interfaces to third-party products - the same service requests are used for SAP and non-SAP applications. This simplification is a benefit for your employees.
    This solution has been created with IT service providers in mind, especially those which work within a company and currently do not have an IT-service desk application in place or would like to replace an existing system.
    Also,
    check this link
    pg(46)
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000147532009E
    Pg 52 onwards
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000059742008E
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000548652007E
    Hope it helps
    Regards
    Prakhar

  • Property Editor Missing

    Hi,
    My situation: I created a role and tried to create a folder as a point of access in my role.
    My problem: Logging on to the portal as Administrator User, I can see the Property Editor for this folder and define this folder as an Entrypoint. By Logging on to the Portal with a User, which I assigned to the same Roles and Groups as the Administrator User, I am not able to see the Property Editor. Do someone know, why I don't see the Property Editor?
    Thanks,
    Anna

    Hello Anna,
    Your Adminstrator User have some specific roles such as super_admin role other that the groups you have specified.
    So when you do a USER COPY the role are also assigned to the new user with the groups. So it has all the authorizations of the Administrator User.
    So try assigning the roles the adminstartor user has, like super_admin_role to the user you have created and the problem will be solved.
    Regards
    Deb
    [provide points for helpful answers]
    Message was edited by:
            Debasish Sarkar

  • How to setup EWA for non-ABAP system with SM 4.0 ?

    Hi, we are running SM 4.0 with the support-stack 06. I have set-up a solution for monitoring which includes a NW04 WebAS 6.40 Java only system. Has anyone set-up EWA reports for this type of non_ABAP system who can advise of the steps necessary for this ?
    It seems like you need to define RFC destinations for where the monitored system data should be collected from , but there doesn't appear to be anywhere to do this for non-ABAP systems ?
    I have looked at Note 738676 - Service Data Download for Non-ABAP Components but it hasn't helped and it seems to be SDCC specific, rather than SDCCN.
    Thanks.

    Hi Andrew,
    we are just developing it, at the moment you have the following option, your java system has to send by ccms agends its data to an ABAP 640 system or higher, there you can see its alerts in ccms, then you have to make both system available in SMSY. Then important you have to assign the java system as a system component, then we collect also the java data and shows them in the EWA of the ABAP system. There for go to the main instance tab and set a java main instance to relevant and assign your java system.
    This is the old, available standard solution. At the moment we develop it also for java stand alone.
    I think it will be available with the new ST-SER in autumn
    Regards,
    uDo

  • EWA for non-ABAP systems

    Hi,
    We are planing to implement EWA for Java systems. Currently EWA is active for all ABAP systems. Do we need Wily Introscope in order to setup the EWA for non-ABAP systems? Or just we can use the SMD to generate EWA reports for Java systems?
    Any idea?
    Thanks,
    Kris

    Thanks Paul
    We are on SM 7.0 EhP1. But I see following info in note 976054. It says data sources for EWA are different on 7.0 EhP1, does it mean we don't need wily from 7.0 EhP1 onwards?
    Data sources in Solution Manager Diagnostics up to SP17 used for EWA for non-ABAP components analysis are:
                          - Introscope (SAP Note 797147),
                          - Garbage Collection (SAP Note 1079125) and
                          - Portal Activity Reporting (SAP Notes 936612 to know how to activate PAR and 914791, 1075276 to configure SQL           
                            Command Console).
    Starting with Solution Manager 7.0 EHP1 (SP18) the data sources are:
                          - Solution Manager BI for performance data
                          - Configuration and Change DB(CCDB) for configuration data
    Thanks,
    Kris

  • LOok for Emergeny help about Property editor not visible

    For some reason, my Property Editor window of Workshop is not visible any more. I have tried restart workshop and from possible menus.
    I have read a posting dated Mar 10, 15,17 by Jared, Judecki, he said even by restall the workshop, the problem still there. He talked about editing a properties file that Weblogic placed in Window's profile
    (which related with the window's location.
    I post this problem again want to get tour response especially from Jared Judecki, if you know what's the name of properties file and how to edit it, also if you know the email of Jared Judecki, that's of great help.
    Thanks again!!
    Please tell me the steps how to fix the "property
    editor not visible in weblogic", where is the properties file related with weblogic in windows profile. and how to edit this file.

    Did you try selecting portal components like books, pages, portlets. I have seen this problem too. But it would go away when you restart workshop.
    --SJ                                                                                                                                                                                                                                                                                                               

  • Generic Property Editor-like panel for generic variable editing

    I am looking for a TreeTable like interface to modify a rather large list of hierarchical parameters. These parameters for example can be a bunch of class variables that may be written to a "configuration file" later on. For example:
    ParamSetA (expand/collapse available)
    |-------> ParamA1_name, ParamA1_value
    |-------> ParamA2_name, ParamA2_value
    |-------> ParamSetB
    |-------> ParamB1_name, ParamB1_value
    |-------> ParamB2_name, ParamB2_value
    ParamSetC (expand/collapse available)
    |-------> ParamC1_name, ParamC1_value
    |-------> ParamC2_name, ParamC2_value
    |-------> ParamC3_name, ParamC3_value
    ...(etc)
    Ideally, I really like the built-in property editor found say in NetBeans, or those used to edit bean properties. An example is found [in this image|http://java.sun.com/docs/books/tutorial/figures/javabeans/customization.gif], But I am not sure how to implement it so that it edits generic data (i.e. class variables) and not specific bean data.
    I understand regular tables are editable, but I like being able to expand/collapse sets to simplify the view. I understand TreeTables are available, but I haven't seen implementations for things other than a file browser, but I'm fairly new to swing.
    Any recommendations on built-in java capabilities that will help with this above concept?
    Thank you.

    You are going to have to pick a specific tree table. Hard to help you with an implementation when you haven't even chosen which component you are using. I recommend SwingX's TreeTable:
    [https://swingx.dev.java.net/]
    Questions regarding it should probably be posted on their forum rather than here though.

Maybe you are looking for