Interface ObjectAction

All Known Implementing Classes:
GraphDefinition, ObjectTool, ObjectToolDetails

public interface ObjectAction
Generic interface for user-defined object actions (object tools, graph templates, etc.)
  • Method Details

    • getMenuFilter

      ObjectMenuFilter getMenuFilter()
      Get menu filter associated with the tool
      Returns:
      menu filter associated with the tool
    • setMenuFilter

      void setMenuFilter(ObjectMenuFilter filter)
      Sets menu filter for the tool
      Parameters:
      filter - new menu filter
    • getToolType

      int getToolType()
      Get tool type
      Returns:
      tool type
    • isApplicableForObject

      boolean isApplicableForObject(AbstractObject object)
      Check if this action is applicable to given object
      Parameters:
      object - object
      Returns:
      true if applicable