Skip to main content



      Home
Home » Modeling » EMF » Add Property programmatically
Add Property programmatically [message #1827151] Fri, 08 May 2020 05:39 Go to next message
Eclipse UserFriend
Hello, I have a custom tab in the object property and I would like to add, programmatically, a property to a section via the bindProperty() instruction.

For now, they are hardcoded in the plugin.xml as
<property
           description="General Description"
           label="Custom Property"
           name="PropertyName"
           type="EBoolean"
           value="False">
</property>


but I would like to create them dynamically in Java.

Any suggestions?
Thanks in advance
Re: Add Property programmatically [message #1827164 is a reply to message #1827151] Fri, 08 May 2020 13:55 Go to previous message
Eclipse UserFriend
What did you use to generate this stuff? This isn't stuff supported by the core EMF framework. I suspect you'd be better off to use something that doesn't rely on generated plugin.xml content.... E.g., EMF Forms.
Previous Topic:[CDO] Possibility to implement custom (de-)serialization for ObjectType JAVA_OBJECT?
Next Topic:Convert http://... to platform:/plugin/... URI
Goto Forum:
  


Current Time: Tue Jul 08 00:37:05 EDT 2025

Powered by FUDForum. Page generated in 0.06675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top