You can create your custom project template that appears in the New Project dialog.
Each project template is saved in a separate folder in <modeling tool installation directory>\templates. The template folder should consist of the following files:
Folder name, project file name and .xml file name must be identical. |
While creating a project template, you can also create a category wherein your template can be located. If you need to have several project templates under the same category, in the .xml file, define the same category name for these templates.
To create a custom project template
<?xml version="1.0" encoding="UTF-8"?>
<custom_template>
<icon>Project_Template_Icon.gif</icon>
<iconLabel>Projecttemplatename</iconLabel>
<perspective>MagicDrawperspectivename</perspective>
<tooltip>Projecttemplatetooltiptext</tooltip>
<banner_title>Titlebarname</banner_title>
<banner_description>Projecttemplatedescription</banner_description>
<category>Templatecategoryname</category>
<banner_icon>Title_Bar_Icon.png</banner_icon>
<cloneModules/>
</custom_template>
Save the file and start the modeling tool. Your created project template is displayed in the New Project dialog in the category defined by you. Select your template and create a new project.
The easiest way to create a custom template is to copy and paste the Guide to UML Diagrams Project folder with the different name and edit its inner files. This folder comes with the default modeling tool installation and is located in <modeling tool installation directory>\templates. |