Interface MenuRegistry.MenuContribution

Enclosing interface:
MenuRegistry

public static interface MenuRegistry.MenuContribution
Immutable declaration of one action-backed menu item.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the identifier of the action to invoke.
    Returns the slash-delimited logical menu path.
    int
    Returns the deterministic ordering value within the logical menu location.
  • Method Details

    • actionId

      String actionId()
      Returns the identifier of the action to invoke.
      Returns:
      non-null action identifier registered through the plugin action registry
    • order

      int order()
      Returns the deterministic ordering value within the logical menu location.
      Returns:
      contribution ordering value