Class AbstractContextEntry

    • Constructor Detail

      • AbstractContextEntry

        public AbstractContextEntry​(IFeature feature,
                                    IContext context)
        Creates a new AbstractContextEntry.
        Parameters:
        feature - the feature
        context - the context
    • Method Detail

      • canExecute

        public boolean canExecute()
        Description copied from interface: IContextEntry
        Can execute.
        Specified by:
        canExecute in interface IContextEntry
        Returns:
        true, if successful
      • getIconId

        public java.lang.String getIconId()
        Description copied from interface: IContextEntry
        Gets the icon id.
        Specified by:
        getIconId in interface IContextEntry
        Returns:
        the icon id
      • getText

        public java.lang.String getText()
        Description copied from interface: IContextEntry
        Gets the text.
        Specified by:
        getText in interface IContextEntry
        Returns:
        the text
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: IContextEntry
        Gets the description.
        Specified by:
        getDescription in interface IContextEntry
        Returns:
        the description
      • setIconId

        public void setIconId​(java.lang.String iconId)
        Description copied from interface: IContextEntry
        Sets the icon id.
        Specified by:
        setIconId in interface IContextEntry
        Parameters:
        iconId - the new icon id
      • setText

        public void setText​(java.lang.String text)
        Description copied from interface: IContextEntry
        Sets the text.
        Specified by:
        setText in interface IContextEntry
        Parameters:
        text - the new text
      • setDescription

        public void setDescription​(java.lang.String text)
        Description copied from interface: IContextEntry
        Sets the description.
        Specified by:
        setDescription in interface IContextEntry
        Parameters:
        text - the new description