Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Custom Menu Entry in Create Object of Property (Add custom menu entry in create object of property type field)
Custom Menu Entry in Create Object of Property [message #1027855] Wed, 27 March 2013 14:04 Go to next message
Martin Jonsson is currently offline Martin JonssonFriend
Messages: 21
Registered: March 2013
Junior Member
Hello all.

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


Re: Custom Menu Entry in Create Object of Property [message #1028534 is a reply to message #1027855] Thu, 28 March 2013 11:37 Go to previous message
Martin Jonsson is currently offline Martin JonssonFriend
Messages: 21
Registered: March 2013
Junior Member
This is not possible.
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.
Previous Topic:The UML metemodel of Papyrus
Next Topic:The default value"unbounded" of an attribute
Goto Forum:
  


Current Time: Tue Apr 23 17:56:39 GMT 2024

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

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

Back to the top