Interface ClientPluginAction<C extends BaseContext>


@Deprecated public interface ClientPluginAction<C extends BaseContext>
Deprecated.
since 5.0.103 with no replacement
Interface representing a client plugin action
Since:
4.2.434
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    since 5.0.103 with no replacement
    boolean
    isEnabled(C context)
    Deprecated.
    since 5.0.103 with no replacement
    boolean
    isVisible(C context)
    Deprecated.
    since 5.0.103 with no replacement
  • Method Details

    • getLabel

      @Deprecated String getLabel()
      Deprecated.
      since 5.0.103 with no replacement
      Returns a lable representing this action.
      Returns:
      the label for this plugin action.
      Since:
      4.2.434
    • isVisible

      @Deprecated boolean isVisible(C context)
      Deprecated.
      since 5.0.103 with no replacement
      Indicates whether this action is visible in the given context.
      Parameters:
      context - the context to check the visible state for
      Returns:
      true if this plugin action should be visible in the given context, false otherwise
      Since:
      4.2.434
    • isEnabled

      @Deprecated boolean isEnabled(C context)
      Deprecated.
      since 5.0.103 with no replacement
      Indicates whether this action is enabled in the given context.
      Parameters:
      context - the context to check the enabled state for
      Returns:
      true if this plugin action should be enabled in the given context, false otherwise
      Since:
      4.2.434