Interface IBpmnProcessElementUi
-
public interface IBpmnProcessElementUiExtension point interface to provide the user interface part of an 3rd party Ivy process element.3rd party providers can implement this interface to provide user interface representation of their own process elements
- Since:
- 9.2.0
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaddPaletteEntry(IIvyProcessPalette palette, String name)Adds entries to the palette.default voidaddPaletteGroup(IIvyProcessPalette palette)Adds a palette group to given palette.default StringgetDescription(Locale locale)Returns a description for this process element with given locale.default StringgetHelpPath()Specifies the URL path to the help page of this inscription editor.StringgetName()Returns the name of the 3rd party process element.default StringgetName(Locale locale)Returns the name for this process element with given locale.default StringgetShortName(Locale locale)Returns the short name for this process element with given locale.default booleanshowDefaultTabs()Specifies if the default tab 'PI' should be displayed or not.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the 3rd party process element.The name must match the one of the execution process element
IBpmnProcessElement.getName()- Returns:
- A name that matches a registered executable element
IBpmnProcessElement.getName() - Since:
- 9.2.0
- API:
- This public API is available in Java.
-
getShortName
default String getShortName(Locale locale)
Returns the short name for this process element with given locale.Implementing this method is optional. If not implemented this method will return the value of
getName(Locale).- Parameters:
locale- The locale in which the short name should be returned.- Returns:
- Short name of the process element or
null. - Since:
- 9.2.0
- API:
- This public API is available in Java.
-
getName
default String getName(Locale locale)
Returns the name for this process element with given locale.Implementing this method is optional. If not implemented this method will return the value of
getName().- Parameters:
locale- The locale in which the name should be returned.- Returns:
- Name of the process element.
- Since:
- 9.2.0
- API:
- This public API is available in Java.
-
getDescription
default String getDescription(Locale locale)
Returns a description for this process element with given locale.Implementing this method is optional. If not implemented this method will return
null.- Parameters:
locale- The locale in which the description should be returned.- Returns:
- Description of the process element or
null. - Since:
- 9.2.0
- API:
- This public API is available in Java.
-
showDefaultTabs
default boolean showDefaultTabs()
Specifies if the default tab 'PI' should be displayed or not. Iftruethe custom editor tabs defined ingetEditorTabs(ElementConfigurator)are not displayed.Implementing this method is optional. If not implemented this method will return
false.- Returns:
trueif the 'PI' tab to configure timeout behavior should be displayed.- Since:
- 9.2.0
- API:
- This public API is available in Java.
-
addPaletteGroup
default void addPaletteGroup(IIvyProcessPalette palette)
Adds a palette group to given palette. Use the methodIIvyProcessPalette.addGroup(String, String, int)to add new groups inside this method.This method is called on every Ivy process element extension before method
addPaletteEntry(IIvyProcessPalette, String)is called. This allows 3rd party process elements to be bundled in groups.Implementing this method is optional. If not implemented this method will not add any new group.
- Parameters:
palette- Palette where the new group will be added.- Since:
- 9.2.0
- API:
- This public API is available in Java.
-
addPaletteEntry
default void addPaletteEntry(IIvyProcessPalette palette, String name)
Adds entries to the palette. Use the method
IIvyProcessPalette.addEntry(String, String, int)to add new entries.This method is called on every Ivy process element extension after the method
Implementing this method is optional. If not implemented this method will add this process element to the group defined inaddPaletteGroup(IIvyProcessPalette). This allows extensions to add their entries in groups that were added by other extensions.getDefaultGroup(String), in position 100000.- Parameters:
palette- Palette where the new entry will be added.name- The name of this process element, matchesgetName().- Since:
- 9.2.0
- API:
- This public API is available in Java.
-
getHelpPath
default String getHelpPath()
Specifies the URL path to the help page of this inscription editor.- Returns:
- The URL help path of this editor or null if undefined
- Since:
- 9.2.0
- API:
- This public API is available in Java.
-
-