Class AbstractSelectObjects

    • Field Detail

      • m_SuperClass

        protected BaseClassname m_SuperClass
        the superclass.
      • m_InitialObjects

        protected BaseString[] m_InitialObjects
        the initial objects.
      • m_NonInteractive

        protected boolean m_NonInteractive
        whether to automate the actor.
      • m_ShortTitle

        protected boolean m_ShortTitle
        whether to use just the actor name or the full name as title.
    • Constructor Detail

      • AbstractSelectObjects

        public AbstractSelectObjects()
    • Method Detail

      • getDefaultSuperClass

        protected BaseClassname getDefaultSuperClass()
        Returns the default superclass to use.
        Returns:
        the default superclass
      • setSuperClass

        public void setSuperClass​(BaseClassname value)
        Sets the superclass for the class hierarchy to use.
        Parameters:
        value - the superclass
      • getSuperClass

        public BaseClassname getSuperClass()
        Returns the superclass for the class hierarchy in use.
        Returns:
        the superclass
      • superClassTipText

        public String superClassTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultInitialObjects

        public BaseString[] getDefaultInitialObjects()
        Returns the default set of objects (in their commandline representation) to use.
      • setInitialObjects

        public void setInitialObjects​(BaseString[] value)
        Sets the initial objects (commandlines).
        Parameters:
        value - the initial objects
      • getInitialObjects

        public BaseString[] getInitialObjects()
        Returns the initial objects.
        Returns:
        the initial objects
      • initialObjectsTipText

        public String initialObjectsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setShortTitle

        public void setShortTitle​(boolean value)
        Sets whether to use just the name of the actor or the full name.
        Parameters:
        value - if true just the name will get used, otherwise the full name
      • getShortTitle

        public boolean getShortTitle()
        Returns whether to use just the name of the actor or the full name.
        Returns:
        true if just the name used, otherwise full name
      • shortTitleTipText

        public String shortTitleTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • commandlineToObject

        protected abstract Object commandlineToObject​(String cmdline)
        Turns a commandline into an object.
        Parameters:
        cmdline - the commandline to convert
        Returns:
        the generated object, null if failed to convert
      • initializeDialog

        protected abstract void initializeDialog()
        Initializes the interactive dialog with the
      • showDialog

        protected abstract Object[] showDialog()
        Displays the dialog, prompting the user to select classes.
        Returns:
        the selected objects, null in case of user cancelling the dialog