Properties extensions

It is possible to add a properties panel in editor. A properties panel is a specific panel of a specific feature that enables to define and store in project some specific properties.

For example, it may be used to define XML target file names for some XSLT filters.

Extension point enables to define such panels.

        <!ELEMENT extension (generalproperties, requires*)>
        <!ATTLIST extension
                point CDATA #REQUIRED
                id    CDATA #REQUIRED
                name  CDATA #REQUIRED>
  • point - must contain
  • id - a required unique identifier of properties panel.
  • name - an optional name of the proeprties panel, displayed on editor.

Extension point contains exactly one generalproperties tag.

        <!ELEMENT generalproperties (#EMPTY)>
        <!ATTLIST generalproperties
                class CDATA #REQUIRED>
  • class - fully qualified name of a class that extends GeneralPropertiesEditor

Properties panel may be filtered on features requirements.

        <!ELEMENT requires (#EMPTY)>
        <!ATTLIST requires
                feature CDATA #REQUIRED>
  • feature - the name of a feature that is required to be enabled on project, for this plugin to be enabled.

If any of the required features is disabled on project, properties panel will not be displayed.