Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Add Property programmatically
Add Property programmatically [message #1827151] Fri, 08 May 2020 09:39 Go to next message
Daniele Mazzotta is currently offline Daniele MazzottaFriend
Messages: 1
Registered: May 2020
Junior Member
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 17:55 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31839
Registered: July 2009
Senior Member
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.

Ed Merks
Professional Support: https://www.macromodeling.com/
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: Mon Apr 19 18:53:10 GMT 2021

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

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

Back to the top