1
General Board / Overriding default toolboxes in an MDG
« on: November 08, 2007, 03:02:50 am »
I'm so close!!
I have created a version of the requirements toolbox with our stereotyped versions of the elements and connectors. As the last step I wanted to override the default UML requirements toolbox with our own tailored version. I followed the instructions in the user guide and added the redefinedtoolbox instruction in the notes for the diagram scoped to the toolbox profile, but when I generate the MDG and use it it doesn't override the default requirements toolbox!! I'm using a class diagram for the toolbox profile (not sure if this is relevant or not)!
This is what I put in the diagram notes:
RedefinedToolbox=Extended::Requirements;Alias=Requirements;Notes=Structural elements for requirements diagrams;
I added the MDG by adding a path in Settings|MDG Technology to the MDG XML file.
The toolbox appears in the More Tools... list, but doesn't override the default requirements toolbox when I open a requirements diagram.
I also did a bit of digging into the MDG XML and noticed that the ICONIX MDG technology XML contains the following elements in the definition of the UI Toolbox section:
<Options>
<Option name="RedefinedToolbox" value="Extended::Analysis"/>
</Options>
When I generate my MDG this doesn't appear in the XML.
Any help would be very much appreciated.
I have created a version of the requirements toolbox with our stereotyped versions of the elements and connectors. As the last step I wanted to override the default UML requirements toolbox with our own tailored version. I followed the instructions in the user guide and added the redefinedtoolbox instruction in the notes for the diagram scoped to the toolbox profile, but when I generate the MDG and use it it doesn't override the default requirements toolbox!! I'm using a class diagram for the toolbox profile (not sure if this is relevant or not)!
This is what I put in the diagram notes:
RedefinedToolbox=Extended::Requirements;Alias=Requirements;Notes=Structural elements for requirements diagrams;
I added the MDG by adding a path in Settings|MDG Technology to the MDG XML file.
The toolbox appears in the More Tools... list, but doesn't override the default requirements toolbox when I open a requirements diagram.
I also did a bit of digging into the MDG XML and noticed that the ICONIX MDG technology XML contains the following elements in the definition of the UI Toolbox section:
<Options>
<Option name="RedefinedToolbox" value="Extended::Analysis"/>
</Options>
When I generate my MDG this doesn't appear in the XML.
Any help would be very much appreciated.