Interface MenuItem

    • Method Detail

      • isEnabled

        boolean isEnabled()
      • setEnabled

        void setEnabled​(boolean enabled)
      • getContributionPoint

        String getContributionPoint()
      • getCaption

        String getCaption()
      • getOrder

        int getOrder()
      • getResourceActions

        default List<ResourceActionRef> getResourceActions()
        Get the list of ResourceActionRef actions this menu item is restricted to.

        The menu item will be available provided all the given actions are authorized within the current context.

      • getPermissions

        default List<String> getPermissions()
        Get the list of permission names this menu item is restricted to.

        The menu item will be available provided all the given permissions are authorized within the current context.

      • accept

        void accept​(MenuVisitor visitor)
        Causes the given MenuVisitor to visit this menu item and its children.