Class ActorUsage

    • Field Detail

      • m_FlowEditor

        protected FlowEditorPanel m_FlowEditor
        the flow editor for displaying flows.
    • Constructor Detail

      • ActorUsage

        public ActorUsage()
        Initializes the menu item.
      • ActorUsage

        public ActorUsage​(AbstractApplicationFrame owner)
        Initializes the menu item.
        Parameters:
        owner - the owning application
    • Method Detail

      • getCategory

        public String getCategory()
        Returns the category of the menu item in which it should appear, i.e., the name of the menu.
        Specified by:
        getCategory in class AbstractMenuItemDefinition
        Returns:
        the category/menu name
      • chooseDir

        protected PlaceholderDirectory chooseDir()
        Lets the user choose the directory with the flows.
        Returns:
        the directory, null if dialog canceled
      • determineUsage

        protected SpreadSheet determineUsage​(PlaceholderDirectory dir)
        Generates the spreadsheet with the actor usage.
        Parameters:
        dir - the directory to inspect
        Returns:
        the spreadsheet, null if failed to generate
      • displayUsage

        protected void displayUsage​(SpreadSheet sheet)
        Displays the actor usage.
        Parameters:
        sheet - the sheet with the usage
      • isSingleton

        public boolean isSingleton()
        Whether the panel can only be displayed once.
        Specified by:
        isSingleton in class AbstractMenuItemDefinition
        Returns:
        true if the panel can only be displayed once