Home » Modeling » Papyrus » CSS Canonical does not work in SysML
CSS Canonical does not work in SysML [message #1700354] |
Thu, 02 July 2015 03:05  |
Eclipse User |
|
|
|
Hi, I've tested the canonical function of CSS with UML and SysML.
Here are my observations:
- UML :
+ canonical = true => all ports (of a certain part in a composite diagram) appears
+ however, right then, I modify canonical = false => the ports will not disappears. That means, once the properties are showed, they can not be unshowed by setting canonica = false
- SysML : canonical does not function in IBD
Could anyone show me how to get this done in SysML?
Thanks for your help.
Thanh Liem.
|
|
| |
Re: CSS Canonical does not work in SysML [message #1700364 is a reply to message #1700356] |
Thu, 02 July 2015 03:45   |
Eclipse User |
|
|
|
Hi Liem,
Quote:+ however, right then, I modify canonical = false => the ports will not disappears. That means, once the properties are showed, they can not be unshowed by setting canonica = false
That's intentional: the synchronization mechanism automatically displays everything (Populates the diagram), but it doesn't need to be active at all time. If the elements are not synchronized, then the mechanism simply does nothing. It doesn't keep track of elements that have been automatically synchronized, vs the ones that have been manually displayed.
Undoing canonical = true works, however.
Regards,
Camille
|
|
|
Re: CSS Canonical does not work in SysML [message #1700414 is a reply to message #1700354] |
Thu, 02 July 2015 09:02   |
Eclipse User |
|
|
|
Hi, Thanh Liem,
The canonical edit policy does not purport to remove views when it is
disabled. It only removes views for elements that should no longer be
shown as child nodes or connected edges because the structure of the
model has changed.
If the SysML IBD has some missing canonical behaviour, then perhaps it
needs to register some canonical strategies to make that work. Please
raise a bug on the SysML component.
Cheers,
Christian
On 2015-07-02 07:05:21 +0000, Thanh Liem Phan said:
> Hi, I've tested the canonical function of CSS with UML and SysML. Here
> are my observations:
> - UML : + canonical = true => all ports (of a certain part in a
> composite diagram) appears
> + however, right then, I modify canonical = false => the ports will
> not disappears. That means, once the properties are showed, they can
> not be unshowed by setting canonica = false
>
> - SysML : canonical does not function in IBD
>
> Could anyone show me how to get this done in SysML?
> Thanks for your help.
>
> Thanh Liem.
|
|
| | | | | | | |
Re: CSS Canonical does not work in SysML [message #1701118 is a reply to message #1701068] |
Thu, 09 July 2015 09:01  |
Eclipse User |
|
|
|
Hi, PTL,
That is a bug. Would you mind raising it in bugzilla?
https://bugs.eclipse.org/bugs/enter_bug.cgi?form_name=enter_bug&product=Papyrus&version=1.1.0
Thanks!
Christian
On 2015-07-09 07:46:37 +0000, Thanh Liem Phan said:
> Hi Christian,
>
> When I register a new D&D strategy (disable the registration of the new
> EditPolicyProviders), the popup menu is like the following :
>
>
> There are two dnd strategies in this case:
> - the new one I've just created "Drop the component from the Spider Library"
> - and "Selection drop action for"
>
> But in fact, "Selection drop action for" is not listed in the
> Preferences\Papyrus\Drag&Drop. This is a default DnD strategy, which is
> created "on the fly" in the class DropEditPolicy, which is then
> instantiated by DropEditPolicyProvider.
>
> That means, evens I deselect all d&d strategies but my own one (cf the
> figure below), the popup menu is always displayed when user drag&drop a
> component from model lib.
>
>
> Do you have any idea?
>
> Thanks and have a nice day.
> PTL.
>
> <image>
> <image>
|
|
|
Goto Forum:
Current Time: Wed Jul 23 18:35:42 EDT 2025
Powered by FUDForum. Page generated in 0.05567 seconds
|