Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Custom Palette creation(Property - > Set meta-element properties - Multiplicity missing)
icon5.gif  Custom Palette creation [message #1726364] Fri, 11 March 2016 20:08 Go to next message
Larry D is currently offline Larry DFriend
Messages: 1
Registered: July 2009
Junior Member
I'm trying to create a custom palette to speed up class diagram creation.
In this palette I would like to create different property elements with preset meta-element properties like type, visibility, multiplicity, ...
Unfortunately the feature multiplicity is missing when trying to create an optional property element.
Is this a bug, or I am missing something?

See the screenshot for clarification:
index.php/fa/25271/0/
Re: Custom Palette creation [message #1726369 is a reply to message #1726364] Fri, 11 March 2016 21:33 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1206
Registered: July 2009
Location: Canada
Senior Member

Hi,

Multiplicity is not literally a feature of a Property. You need to
create nested ValueSpecifications for upper and lower bounds:

* a LiteralInteger for the lower bound, if you need something different to 1
* a LiteralUnlimitedNatural for the upper bound, if different to 1

HTH,

Christian


On 2016-03-11 21:05:08 +0000, Larry D said:

> I'm trying to create a custom palette to speed up class diagram creation.
> In this palette I would like to create different property elements with
> preset meta-element properties like type, visibility, multiplicity, ...
> Unfortunately the feature multiplicity is missing when trying to create
> an optional property element.
> Is this a bug, or I am missing something?
>
> See the screenshot for clarification:
>
> <image>
Previous Topic:[CSS] Control stereotype display in figure label
Next Topic:[BDD][IBD] Label selection in Mars release
Goto Forum:
  


Current Time: Sun Jul 12 19:15:56 GMT 2020

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

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

Back to the top