Interface IBpmnProcessElementUi


public interface IBpmnProcessElementUi
Extension 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 Details

    • 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. If true the custom editor tabs defined in getEditorTabs(ElementConfigurator) are not displayed.

      Implementing this method is optional. If not implemented this method will return false.

      Returns:
      true if 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 method IIvyProcessPalette.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 addPaletteGroup(IIvyProcessPalette). This allows extensions to add their entries in groups that were added by other extensions.

      Implementing this method is optional. If not implemented this method will add this process element to the group defined in getDefaultGroup(String), in position 100000.
      Parameters:
      palette - Palette where the new entry will be added.
      name - The name of this process element, matches getName().
      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.