Create a .MTS File
To create a .MTS file, select the Tools | Generate MDG Technology File menu option to launch the MDG Technology Wizard. Choose the following options in the Wizard:
|·||On Page 1, select Create a new MTS file and click on the Next button.|
|·||On Page 2, browse to the folder in which to create your technology, enter the name of the .MTS file to create and click on the Next button.|
|·||On Page 3, in the Technology field, type the full name of the technology you are creating, browse to the folder in which to create your technology and enter the name of the .XML file you want to create in the Filename field, enter the technology ID in the ID field, enter whatever you like in the Version and Notes fields, and uncheck all the options except "Profiles". Click on the Next button.|
|·||On Page 4, select only the name of the Stereotypes Profile created previously. Click on the Next button.|
|·||On Page 5, click on the Finish button.|
Modify Your .MTS File
Once you have created the .MTS file, open it in a text editor. Cut and paste the following two lines before the last line of the file (i.e. between the <Technology... /> and </MDG.Selections> lines:
<UIToolboxes directory="" files=""/>
<DiagramProfile directory="" files=""/>
<UITaskpanes directory="" files=""/>
In the "directory" attributes enter the full path of the folder where your Toolbox Profiles, Diagram Profile (if you have one) and Task Pane Profile (if you have one) are kept. In the "files" attributes enter a comma-separated ordered list of profile filenames.
You can also add the necessary attributes for defining an icon and a logo for your technology. See Icons and Logos for Technology for instructions on how to do this.
Save the .MTS file.
Create an MDG Technology
Select the Tools | Generate MDG Technology File menu option, but this time select Open an Existing MTS file and click on the Next button until the wizard is finished. Your MDG Technology file is created.