Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Reduce default value selection list
Reduce default value selection list [message #1754196] Wed, 15 February 2017 08:46 Go to next message
Marc Van Vlimmeren is currently offline Marc Van VlimmerenFriend
Messages: 1
Registered: February 2017
Junior Member
When adding a default value for a property, a type selection list is shown. (See attached screen shot)
For a DSML application, I would like to reduce this list to only 2 entries (LiteralReal and OpaqueExpression).
Is this possible and if yes, how can I do that?

Re: Reduce default value selection list [message #1755048 is a reply to message #1754196] Mon, 27 February 2017 14:03 Go to previous message
Benoit Maggi is currently offline Benoit MaggiFriend
Messages: 129
Registered: March 2013
Location: Bordeaux, France
Senior Member

As far as I know, there is no "standard" way to do that/

I looked in the code and the default value widget is ReferenceDialog
(See these classes : and org.eclipse.papyrus.infra.widgets.editors.ReferenceDialog)

One option is to create a custom property view and extends theses classes with a custom implementation.


Previous Topic:Applying OCL on UML profiles
Next Topic:How to build and run the papyrus source code?
Goto Forum:

Current Time: Tue Jan 21 16:52:21 GMT 2020

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

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

Back to the top