Skip to main content



      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 15:08 Go to next message
Eclipse UserFriend
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 16:33 Go to previous message
Eclipse UserFriend
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 13 14:38:45 EDT 2025

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

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

Back to the top