Class ListObjectCommandlines

    • Field Detail

      • m_Classname

        protected BaseClassname m_Classname
        the classname to look for.
      • m_AddFullActorName

        protected boolean m_AddFullActorName
        whether to add the full name of an enclosing actor (if available).
      • m_Class

        protected transient Class m_Class
        the class we are looking for.
    • Constructor Detail

      • ListObjectCommandlines

        public ListObjectCommandlines()
    • Method Detail

      • setClassname

        public void setClassname​(BaseClassname value)
        Sets the class to look for.
        Parameters:
        value - the class
      • getClassname

        public BaseClassname getClassname()
        Returns the class to look for.
        Returns:
        the class
      • classnameTipText

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

        public void setAddFullActorName​(boolean value)
        Sets whether to add the full name of the enclosing actor (if available).
        Parameters:
        value - the class
      • getAddFullActorName

        public boolean getAddFullActorName()
        Returns whether to add the full name of the enclosing actor (if available).
        Returns:
        true if to add
      • addFullActorNameTipText

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

        protected String objectToString​(AbstractOption option,
                                        Object obj,
                                        OptionTraversalPath path)
        Returns the string representation of the object that is to be added to the list.
        Overrides:
        objectToString in class AbstractListingProcessor
        Parameters:
        option - the current option
        obj - the object to turn into a string
        path - the traversal path of properties
        Returns:
        the string representation, null if to ignore the item
      • isValid

        protected boolean isValid​(AbstractOption option,
                                  Object obj,
                                  OptionTraversalPath path)
        Checks whether the object is valid and should be added to the list.
        Specified by:
        isValid in class AbstractListingProcessor
        Parameters:
        option - the current option
        obj - the object to check
        path - the traversal path of properties
        Returns:
        true if valid
      • isSortedList

        protected boolean isSortedList()
        Returns whether the list should be sorted.
        Specified by:
        isSortedList in class AbstractListingProcessor
        Returns:
        true if the list should get sorted
      • isUniqueList

        protected boolean isUniqueList()
        Returns whether the list should not contain any duplicates.
        Specified by:
        isUniqueList in class AbstractListingProcessor
        Returns:
        true if the list contains no duplicates
      • getTitle

        public String getTitle()
        Returns the title for the dialog.
        Returns:
        the title
      • getHeader

        protected String getHeader()
        Returns the header to use in the dialog, i.e., the one-liner that explains the output.
        Specified by:
        getHeader in class AbstractListingProcessor
        Returns:
        the header, null if no header available