Class AbstractListNameUsage<T>

    • Field Detail

      • m_Name

        protected String m_Name
        the name to look for.
    • Constructor Detail

      • AbstractListNameUsage

        public AbstractListNameUsage()
    • Method Detail

      • setName

        public void setName​(String value)
        Sets the name to look for.
        Parameters:
        value - the name
      • getName

        public String getName()
        Returns the name to look for.
        Returns:
        the name
      • nameTipText

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

        protected abstract boolean isNameMatch​(Object obj)
        Checks whether the located object matches the name that we are looking for.
        Parameters:
        obj - the object to check
        Returns:
        true if a match
      • 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