Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCustom Menu Entry in Create Object of Property
https://www.eclipse.org/forums/index.php/mv/msg/464844/1027855/#msg_1027855
I'm wondering about the ability of custom menu entry in the menu of UML elements that appear when you click on the "create object" or "+" button next to the type field of a class property in a class model.
My backend system has 30000 data types so it is easy to forget a few while importing to the model initially. Therefore import the data type on the fly would be great.
I cannot find a locationURI and wonder if it is even possible without adding to the UML model since the entries seems to be a filtered subset of UML elements only.
Is this maybe what the undocumented dataType extension point (org.eclipse.papyrus.uml.properties.datatype)is supposed to do?
Thanks and regards.
Martin
]]>Martin Jonsson2013-03-27T14:04:39-00:00Re: Custom Menu Entry in Create Object of Property
https://www.eclipse.org/forums/index.php/mv/msg/464844/1028534/#msg_1028534
Values in that menu are added only by code from available UML metadata in org.eclipse.papyrus.views.properties.creation.EcorePropertyEditorFactory.java
To solve this I would either have to create a custom widget and reference all other widgets or add my own entry to UML metadata model with proper handling of course.]]>Martin Jonsson2013-03-28T11:37:01-00:00