|
|
|
|
|
|
|
|
|
Re: Headers of Sysml Diagram [message #1715025 is a reply to message #1714983] |
Wed, 18 November 2015 15:17 |
Klaas Gadeyne Messages: 165 Registered: July 2009 |
Senior Member |
|
|
Hi Camille,
Camille Letavernier wrote on Wed, 18 November 2015 04:47Hi,
If you only need the header notation, you can use a CSS rule:
CompositeStructureDiagram > Class {
displayHeader: true;
textAlignment: left;
}
CompositeStructureDiagram > Class > Compartment{
displayBorder: false;
}
However, if you need specific extra-information in this header, then this currently can't be done in Papyrus (Although native GMF may provide enough flexibility to achieve that - I'm not sure)
Regards,
Camille
It's even a lot complexer than that. For instance, have a look at page 225 (Figure D.15 and D.16) of the SysML 1.4 specification.
In figure D.16, the frame of the diagram represents a block (AutomotiveDomain), but the contents of the BDD don't "match" with any compartment of a Block, so it's currently impossible to mimic this kind of behaviour using css in Papyrus.
So the example you gave above only works well in the specific case that the diagram content of a specific diagram is currently captured by a specific compartment in Papyrus (composite structure, activity diagram, package diagram, block diagram owned by a Package, ...), but definitly not for all cases (BDD owned by a block, requirement diagram owned by a requirement, ...).
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05786 seconds