Interface IElementCategory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
EWorkflowElementCategory
Models a category for a workflow element, such as a node or trigger. The category classifies a workflow element and
determines how it is shown in the drawer panel to the left of the workflow designer.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault IGuiIcongetIcon()(Optional) If this method returns null, a default icon will be used.The name needs to be provided as it is used as the identifier of the category.default String(Optional) If this method returns null or a blank string, the category will be sorted by its localized name (getName(Locale).
-
Method Details
-
getName
The name needs to be provided as it is used as the identifier of the category.- Parameters:
locale-Localefor which to get the category name.- Returns:
- The name of the category.
-
getSortKey
(Optional) If this method returns null or a blank string, the category will be sorted by its localized name (getName(Locale).- Returns:
- The key by which the category is sorted.
-
getIcon
(Optional) If this method returns null, a default icon will be used.- Returns:
IGuiIconfor displaying the category with an icon
-