Interface ExecutablePluginItem<C extends BaseContext>

All Known Subinterfaces:
ExecutableContextMenuItem, ExecutableGroupingToolbarItem, ExecutableInlineEditItem, ExecutableMediaManagementItem, ExecutableToolbarActionsItem, ExecutableToolbarItem, JavaClientExecutablePluginItem<C>, JavaClientExecutableReportItem<T>, WebeditExecutablePluginItem<C>, WebeditExecutableReportItem<T>

public interface ExecutablePluginItem<C extends BaseContext>
Definition of an item providing an executable operation.
Since:
5.0.204
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(C context)
    Executes an operation associated with this item considering the given context.
    @NotNull String
    getLabel(C context)
    Provides a label for this item wrt. the given context.
  • Method Details

    • getLabel

      @NotNull @NotNull String getLabel(@NotNull C context)
      Provides a label for this item wrt. the given context.
      Parameters:
      context - The context to be considered for providing a label.
      Returns:
      The resulting label.
      Since:
      5.0.204
    • execute

      void execute(@NotNull C context)
      Executes an operation associated with this item considering the given context.
      Parameters:
      context - The context operating in.
      Since:
      5.0.204