Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

In the template edit mode the contents of a template can be modified. It is divided in five tabs which will be described in the following table.

GENERAL

In the GENERAL tab the fields for the name and the component are deactivated. To rename a template you could use the rename button in the templates list.

The corresponding graphomate component can not be changed, because the property set in a template can be only applied to the same component which was a well used to create the template.

The field for the tags can be filled with a list of tags which are separated by comma. The description and the author are free text fields.

In the Created and Changed Fields nothing can be changed, because the Changed timestamp will be updated automatically once the template is saved.



* PROPERTIES

The PROPERTIES themselves are divided in five categories which are explainend below.



Boolean Properties

The boolean properties are simple truefalse switches. If the slider appears blue and is moved to the right the property is activated. The grey slider on the left indicates a deactivated property.

To toggle a change click on the slider or the name of the property.



Number Properties

All properties that represent numbers can be adjusted in this section.



String Properties

The string properties can be changed here. With string properties there is a exeption, some of them only work with a specified set of choices. There is no mechnism that stops you from entering invalid values.

This could result in unwanted behavior when a the template is applied to a graphomate component. Please refer to the manual of the specific component.



Color Properties

Color properties can be changed by using the color picker which opens on click on the choosen property.



Extended Properties

The properties which are more complicated and hence are saved as JSON can be edited by clicking on the EDIT button of the specific property. A dialog opens containing the sub-properties. Clicking OK will not save the changes. It is necessary to click the SAVE button after the dialog is closed by clicking OK.



* JSON

The JSON representation of the properties can be changed manually. This is necessary if you want to add new items to a JSON array for example.


UI-5 Extension Javascript Code

This section displays UI5 code that can be used to add graphomate for UI5 components to an UI5 Javascript application. The parts that need to be customized are documented by comments in the code.


UI-5 Extension XML Code

This section displays UI5 code that can be used to add graphomate for UI5 components to an UI5 XML view. The parts that need to be customized are documented by comments in the code.


By clicking the SAVE button the changes will be saved but the admin will stay in edit mode. Clicking the SAVE AND CLOSE button will result in saving the changes and going back to the list view.

  • No labels