Creating your own templates
In Forte for Java, Community Edition, any object can be used as a template. There are two ways to set an object as a template:
To set an object as a template:
- Right-click the desired object under the Filesystems tab in the Explorer and choose Save as Template from the contextual menu.
- In the Save as Template dialog box that appears, choose the template category where you want the new template placed.
Or:
- Select the desired object in the Explorer and open its property sheet.
- Change its Template property to
True
.- If you want the new template visible in the menus and dialog boxes used for creating objects from templates, copy it and paste it to a template category under the
Templates
node in the Global Options window.The difference between a template and a normal object is only in what is done when you double-click on it in the Explorer. For a plain object, a default Editor window is opened (if available) on templates, a dialog box appears enabling you to create a new object from the template.
If you want to open the Editor on a template, choose Open from the template's contextual menu in the Explorer.
Contents | Prev | Next | Index |