Working Sets

com.sodius.mdw.platform.model.workingSets

MDWorkbench 3.0.0

This extension is used to add new working sets for a specific metamodel.

A working set enables to define a point of view on metamodel contents. A working set is used to group together some semantically related elements. It can also be used to hide a subset of elements that are considered as non relevant for some particular modeling activity.

You may define a working set to group Types or Features.

<!ELEMENT extension (typeWorkingSet* , featureWorkingSet*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT typeWorkingSet (group+)>

<!ATTLIST typeWorkingSet

id             CDATA #REQUIRED

name           CDATA #REQUIRED

metamodel      CDATA #REQUIRED

defaultExclude (true | false)

icon           CDATA #IMPLIED

ordered        (true | false) >

A working set to group the types of a metamodel.



<!ELEMENT featureWorkingSet (group+)>

<!ATTLIST featureWorkingSet

id             CDATA #REQUIRED

name           CDATA #REQUIRED

metamodel      CDATA #REQUIRED

defaultExclude (true | false)

icon           CDATA #IMPLIED

ordered        (true | false) >

A working set to group the features of a metamodel.



<!ELEMENT group ((group | element)*)>

<!ATTLIST group

name    CDATA #REQUIRED

layout  (none|top|bottom)

ordered (true | false) >

a group of elements. A working set must contain at least one group. A group may contain other groups and elements.



<!ELEMENT element EMPTY>

<!ATTLIST element

name CDATA #REQUIRED>

a leaf element of the working set, that references either a metamodel type or a feature



Following is an example of a Type working set extension:

  

<extension point=

"com.sodius.mdw.platform.model.workingSets"

>

<typeWorkingSet id=

"com.sodius.mdw.metamodel.uml21.metamodelPackagesWorkingSet"

metamodel=

"uml21"

name=

"Metamodel Packages"

>

<group name=

"Structure.Classes"

>

<element name=

"Association"

/>

<element name=

"Class"

/>

</group>

<group name=

"Structure.Components"

>

<element name=

"Component"

/>

<element name=

"Connector"

/>

</group>

</typeWorkingSet>

</extension>

</extension>