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.

Similar Messages

  • Property Editor failed! for workset creation

    Hi All,
    I am getting "Property Editor failed!" when i create a new workset in EP.i am not seeing any properties window for the workset at all.any help greatly appreciated.
    Thanks
    Aravind

    Hi Aravind,
    When asking a question, can you try to be just a little more precise: At what point do you get the error? When you click Finish to create the workset, or when you open up the workset in the Portal Catalog? What version are you using? Any other special features of your portal or landscape?
    Thanks.
    Daniel

  • Creating an attribute editor like panel from Interface Builder

    The Attributes Inspector from Interface Builder presents the user with a great set of options that are neatly organized in folding panels. I really want to do something like this for a project I'm working on to help organize a large set of options that I plan on presenting to the end user.
    Only problem is I have no idea what this widget is called or even if its available from Cocoa. I thought it was a NSRuleEditor but I've seen no examples so I'm not sure. So if someone could help point me in the right direction that would be awesome. If you know of an example project in the Examples folder that would be even better. Thanks a lot.

    The IB toolpanel is just built out of stock IB parts but there are quite a few of them. As far as I can tell it's just an NSPanel with a toolbar at the top and then at least one NSSplitView with an NSScrollView inserted into it.
    To add something like this to your project - although I would recommend starting simpler for learning - simply drag an NSPanel into your IB window and then drag an NSScrollView on top of it and it will fill the NSPanel and you can modify it from there. You can also drag an NSScrollView directly into your nib and work on it and then drop it on the NSPanel if you want. This might make the process easier/more clear for you. If you put an NSTextView into the window it will automatically show and hide scrollbars depending on content unless you tell it otherwise.
    Custom views can be confusing but since NSPanels can be made to show themselves as soon as a program launches (I think this is their default state) your content should show up automatically which makes it easier than creating regular windows and then worrying about showing their contents.
    Do this help?
    =Tod

  • Error When Prompting for Substitution Variable

    Hi - I'm receiving an error when I try to run the following using the substitution variable - but only when I enter a string; when I enter a numeric value it runs fine.
    DECLARE
        l_SCR_Info            VARCHAR2(50) := '''SCR'||&SCR_NUM||'-'||'''';
    begin
    dbms_output.put_line(l_SCR_Info);
    end;Here is the error I receive when I supply a string value when prompted:
    ORA-06550: line 3, column 52:
    PLS-00201: identifier 'AB' must be declared
    ORA-06550: line 3, column 27:
    PL/SQL: Item ignored
    ORA-06550: line 10, column 22:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 10, column 1:
    PL/SQL: Statement ignoredCan anyone shed some light on what I'm missing here?
    Thanks!
    Christine

    Hi,
    It looks like you just want one string there:
    l_SCR_Info            VARCHAR2(50) := '''SCR&SCR_NUM-''';Remeber how substitution variables work: SQL*Plus replaces them with values before sending the code to the back end to be compiled.
    If you give a value like AB for the variable, the code you posted is equivalent to:
         l_SCR_Info            VARCHAR2(50) := '''SCR'|| AB ||'-'||'''';by the time it reaches the compiler. AB is not inside quotes, so the compiler looks for a variable or function called AB.
    If you gave a number:
         l_SCR_Info            VARCHAR2(50) := '''SCR'|| 123 ||'-'||'''';there's no problem; the compile knows what the literal number 123 is.

  • Enum property editor not rendering

    I am trying to get a simple Enum property editor to work for my custom component but I keep getting an error: "Failed to load/render Property Editor"
    The component XML is:
    <input-parameter  hidden="false"  name="level" required="true" title="Log Level" type="org.apache.log4j.Level">
              <default-value>
            </default-value>
          <property-editor editor-id="com.adobe.idp.dsc.propertyeditor.system.Enum" />
      </input-parameter>
    <class-path>
          libs/log4j.jar
       </class-path>
    Log4j.jar is in the component package and in the component class path
    I have tried the com.adobe.idp.dsc.propertyeditor.system.Enum Class as described in the docs here: http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001419.html
    I also tried using com.adobe.idp.dsc.propertyeditor.system.EnumPropertyEditorComponent as described here: http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001379.html
    Both give the same error. I even tried using my own Enum class insteasd of org.apache.log4j.Level and referencing that, but still get the same error.
    Any ideas would be helpful - thanks
    (Adobe LiveCycle Workbench ES2
    Version: 9.0.0.1.20100511.1.236086)

    Ok after some playing about and changing random things, I seem to have figured it out.
    - org.apache.log4j.Level is not an Enum class, it is a collection of static vars.
    - I refactored my own Enum class to remove everything but the Enumeration values (no constructor, methods or construction parameters)
    - I used com.adobe.idp.dsc.propertyeditor.system.Enum and not com.adobe.idp.dsc.propertyeditor.system.EnumPropertyEditorComponent
    - I added my Enum class to the <export-packages> XML parameter
    Hope this helps someone else with the same issues

  • Dropdown values for field in property editor

    Hello Everyone,
    I have created one simple entity service and deployed on the server.
    I have used property editor pattern for UI generation.
    I have used dropdown for one of the ui elements. But i can't get any values in this dropdown field. I don't know how to prepopulate values in this dropdown field.
    Waiting for reply.
    Thanks,
    Bhavik

    Hi Aliaksei,
    I have created one simple type in the Java dictionary project which is automatically created for my entity service project. I have built and deployed on the server. But when i tested this entity service, it gives following error:
    com.sap.caf.rt.exception.CAFBaseRuntimeException: DDIC type does not exist: com.lti.department.Dept_active
         at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:285)
         at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:204)
         at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:392)
         at com.sap.caf.rt.ui.cool.generic.ColModelClassPropertyInfo.<init>(ColModelClassPropertyInfo.java:78)
         at com.sap.caf.rt.ui.cool.generic.ColModelClassInfo.<init>(ColModelClassInfo.java:149)
         at com.sap.caf.rt.ui.cool.generic.ColModelInfo.getOrCreateModelClassInfo(ColModelInfo.java:117)
         at com.sap.caf.rt.ui.cool.generic.ColModelInfo.createModelClassesForQuery(ColModelInfo.java:317)
         at com.sap.caf.rt.ui.cool.generic.ColModelInfo.createModelClassInfos(ColModelInfo.java:270)
         at com.sap.caf.rt.ui.cool.generic.ColModelInfo.<init>(ColModelInfo.java:51)
         at com.sap.caf.rt.ui.cool.generic.CAFRepositoryManager.getServiceModuleDescriptor(CAFRepositoryManager.java:72)
         at com.sap.caf.rt.ui.cool.generic.CAFServiceManager.getServiceModuleDescriptor(CAFServiceManager.java:443)
         at com.sap.caf.rt.ui.cool.generic.CAFServiceManager.getAspectServiceAccess(CAFServiceManager.java:227)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.getServiceModule(ServiceFacade.java:375)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.getServiceModule(ServiceFacade.java:146)
         at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.ServiceBrowserCC.getServiceModuleDescriptor(ServiceBrowserCC.java:551)
         at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.ServiceBrowserCC.supplyAspects(ServiceBrowserCC.java:298)
         at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalServiceBrowserCC.supplyAspects(InternalServiceBrowserCC.java:224)
         at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.IPublicServiceBrowserCC$IAspectsNode.doSupplyElements(IPublicServiceBrowserCC.java:1085)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:461)
    It means simple type i have created, is not available at runtime.
    What should be the problem?
    Thanks,
    Bhavik

  • 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                                                                                                                                                                                                                                                                                                               

  • 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

  • I currently have a mbp with two internal hard drives ( took super drive out) which for a video editor like myself is a dream I can edit video anywhere, my question can I order a new mbp with 2 internal flash drives?

    I currently have a mbp 2.3 gighuz intel core 7 16 gig of ram with two internal hard drives ( took super drive out) which for a video editor like myself is a dream I can edit video anywhere, my question can I order a new mbp with 2 internal flash drives?

    I wouldn't think so because the newer ones with Retina displays don't have an internal SuperDrive that can be replaced. Therefore the newer logic boards wouldn't have the two SATA/SATA Express connections on the logic board.
    At least that was the case as of 2012. I've seen newer ones and they also don't have a SuperDrive.

  • 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

  • Best Index type for low variability columns like Country or LastName

    Hi, 
    What would be best Index to use on Low variability columns like Country or LastName in SQL Server.
    I think BitMap index we can use only on columns where we can have two possible value like male/female.

    basically I was trying to figure out if there is any kind of Indexes in SQL Server which have special design for low variability column. 
    my example queries like :  select a,b,c from table t where country = 'USA'
    Hi Eshant,
    In your scenario, you need to know which index is the best Index to use on Low variability columns like Country or LastName in SQL Server. As per my understanding, the performance not only related to the types of index on that column, but also related
    to the records on your table.
    Here is blog which tests the performance for different types of index on variability column like lastname, please refer to the link below.
    http://www.codeproject.com/Articles/234399/Database-performance-optimization-part-Indexing
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • 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.

  • Property editor sheet

    Hi
    I need to develop a generic GUI-based java bean property editor. A simple sheet like the one used to edit bean properties in netbeans would suffice. Can anyone tell me if some software is already available for this purpose?

    Christoph,
    I would guess that your view part needs to implement ISelectionProvider...
    On 30/11/2012 10:59 AM, Christoph Miksovic wrote:
    > Dear readers,
    >
    > I have an EMF-based RCP-application that was originally generated
    > using the genmodel-generator. The application thus has EMF.Edit end
    > EMF.Editor components. When I run the application, I basically have an
    > editor and a property sheet. When I select an object in the editor,
    > the property sheet shows its properties, as expected.
    > Now I added a custom view part that contains a Tree viewer.
    > Essentially the code is as follows:
    >
    >
    > public class MyCustomViewPart extends ViewPart
    > (...)
    > private ComposedAdapterFactory adapterFactory = new
    > ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
    > (...)
    > public void partActivated(IWorkbenchPartReference arg0) {
    > (...)
    > treeViewer.setContentProvider(new
    > AdapterFactoryContentProvider(adapterFactory));
    > treeViewer.setLabelProvider(new
    > AdapterFactoryLabelProvider(adapterFactory));
    > treeViewer.setInput(editingDomain.getResourceSet());
    > (...)
    > }
    >
    > public void createPartControl(Composite parent)
    > { (...)
    > getSite().setSelectionProvider(treeViewer);
    > (...)
    > }
    >
    >
    > When I now select an object in the tree viewer of MyCustomViewPart,
    > the property sheet remains empty. When I activate the editor and
    > select an object in the editor, the property sheet shows the
    > proprieties of the selected objects.
    >
    > Can anyone please give me a hint why the property sheet remains empty
    > if I select an object in the tree viewer of my MyCustomViewPart?
    >
    > Thank you very much for any help,
    > Christoph

  • Some comments on Adobe 'Custom Panels for XMP File Info' document

    In developing a couple of Photoshop/Bridge custom metadata panels for cataloguing my photo collection, I noticed one or two things that look like possible errors in the above document. These comments relate to the version of the document dated April 2005.
    P10, description of 'cat_container_edit_text' widget type: surely this should also list custom variable 'container_type', which is needed to specify whether the metadata array is a bag, seq or whatever.
    P25, details of 'cat_container_edit_text': same comment applies.
    P8 et seq: the requirements for use of the 'name' variable appear contradictory. The summary descriptions of various widgets such as 'edit_text' contain the statement that 'You must provide name, xmp_namespace and xmp_path values for this widget to supply a dynamic
    value', but the description of 'name' on P16 says that it 'Applies only to fixed-text widgets. Do not use this variable to change the value or text of the widget at run time.'
    Regards
    Adrian

    Joe, here is the Adobe link that I could not find yesterday when I put up the link to the (suspect) archive site:
    http://partners.adobe.com/public/developer/xmp/sdk/topic_cust_file_info_panels.html
    I have not looked into these panels for years and I am not sure what has changed in CS4.
    Yes, the free software mentioned previously was limited in the amount of fields, however correct me if I am wrong - the output was just XMP text data and one could simply open it in a text editor and copy/paste/edit extra fields and resave, as the limitation was with the GUI frontend and not with XMP.
    Obviously the computer reading the file needs the custom info panel installed to see the panel in it's full glory, otherwise the metadata is "hidden" away in one of the other metadata listings (I can't remember where). I also had problems picking up the custom metadata when searching via catalogue applications that could read other common metadata such as IPTC.
    It was a bit of a mixed bag if I recall, showing promise however it was not really ready for the average user to use.
    Anyway, it sounds as if my very limited knowlege on this area is being exhausted...
    While on the topic, some other links that may help:
    http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/metadata_fields
    http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/resource_center/xmp_custom_panel
    http://www.disc-info.org/resources/xmp.zip (perhaps you look at the source code for ideas)
    http://www.iptc.org/IPTC4XMP/
    http://www.controlledvocabulary.com/forum.html
    http://www.controlledvocabulary.com/imagedatabases/mtworkaround.html
    http://metadatamanifesto.blogspot.com/
    iView Media Pro software also had a custom panel for Photoshop that may also give you ideas.
    Regards,
    Stephen Marsh

  • Prperty editor not coming for roles in dev server

    Hi all,
    Actually in my development server ,when iam clicking on any of the roles the property editor on the right panel is not coming ,whereas for iviews this problem is not there ,please help me with this isssue and guide me with the necessary  steps which need to be done.

    HI Prem,
    THnks for ur help but its like i  have checked the "Activate Accessibility Feature" its unchecked and moreover whenever I try opening portal objects it gives portal runtime error.
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.pcmEditor
    Component Name : com.sap.portal.appdesigner.framework.defaultPcmEditor
    getDeltalinkState() returns as value IPcmDeltaLinkState.DlState.PLAIN_CONTEXT or IPcmDeltaLinkState.DlState.ADDED_CONTEXT.
    Exception id: 03:09_07/03/08_0018_2747750
    See the details for the exception ID in the log file.
    after that i checked in the log files:
    Caused by: java.lang.IllegalStateException: getDeltalinkState() returns as value IPcmDeltaLinkState.DlState.PLAIN_CONTEXT or IPcmDeltaLinkState.DlState.ADDED_CONTEXT
    Thanks& Regards
    Pooja
    Edited by: Pooja Gehani on Mar 7, 2008 1:03 PM

Maybe you are looking for

  • I am trying to get my word doc's to fit PDF pages correctly

    I have a website and I rely on my opt-in email lists when people sign-up for my reports that are sent out in PDF form. I write the reports in a 2007 word doc. and save them into a PDF but the pages don't save as a full page sometimes it only takes up

  • Trouble setting up new device with iCloud backup

    I am trying to set up a new Mac Book Pro, and a new iPad Air. I wasn't sure which to choose, set up as new or from iCloud backup. I was having challenges backing up to iCloud from my iPhone, so I chose set up as new, thinking when I logged into iClou

  • AP Aging Report

    Hi, I've got a few questions to ask regarding AP Aging 1. I've tried to pull out the Document Date in AP Aging using PLD but there's no such field to be selected. It seems that most of the fields in the standard PLD AP Aging report are consists of va

  • Can you import iTunes playlists from iPod?

    I have moved my iTunes library off my computer and onto an external hard drive and somehow in the process have lost my playlist.  (I didn't do a good job of moving over, had to basically download everything back from the cloud).  So my music is all t

  • Cannot boot from USB/dvd-drive on Satellite Pro M10

    Hi, since the internal dvd-drive is broken, an external USB drive is used. Now, I need to reinstall windows on a new harddrive. How can I boot from this external drive? (I do have a Floppy disk drive, but I cannot find the right drivers) Thanks, Luc