Interface ToolSource

All Known Subinterfaces:
AuditIssueContextMenuEvent, ContextMenuEvent, WebSocketContextMenuEvent, WebSocketEditorEvent

public interface ToolSource
Tool that is the source of an object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isFromTool(ToolType... toolType)
    Determine whether this tool source is from a specified tool.
     
  • Method Details

    • toolType

      ToolType toolType()
      Returns:
      the tool type.
    • isFromTool

      boolean isFromTool(ToolType... toolType)
      Determine whether this tool source is from a specified tool.
      Parameters:
      toolType - The tool types to check.
      Returns:
      Returns true if this tool source is from any of the specified tool types.