Class DefaultActionDefinition

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDescription()
      Returns the description of the node.
      java.lang.String getDescriptionLocKey()
      Returns the localization key for the description of the node.
      java.lang.String getGroup()
      Returns a group name for a node.
      java.lang.String getIconUri()
      Returns the icon URI of the node.
      java.lang.String getIconUriLocKey()
      Returns the localization key for the icon URI of the node.
      java.lang.String getId()
      Returns the ID of the node.
      java.lang.String getName()
      Returns the name of the node.
      java.lang.String getNameLocKey()
      Returns the localization key for the name of the node.
      int hashCode()  
      void setDescription​(java.lang.String description)  
      void setDescriptionLocKey​(java.lang.String descriptionLocKey)  
      void setGroup​(java.lang.String group)  
      void setIconUri​(java.lang.String iconUri)  
      void setIconUriLocKey​(java.lang.String iconUriLocKey)  
      void setName​(java.lang.String name)  
      void setNameLocKey​(java.lang.String nameLocKey)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultActionDefinition

        public DefaultActionDefinition​(java.lang.String id)
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
      • setNameLocKey

        public void setNameLocKey​(java.lang.String nameLocKey)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDescriptionLocKey

        public void setDescriptionLocKey​(java.lang.String descriptionLocKey)
      • setIconUri

        public void setIconUri​(java.lang.String iconUri)
      • setIconUriLocKey

        public void setIconUriLocKey​(java.lang.String iconUriLocKey)
      • getId

        public java.lang.String getId()
        Description copied from interface: ActionDefinition
        Returns the ID of the node. Should be unique within the tree structure.
        Specified by:
        getId in interface ActionDefinition
        Returns:
        ID of the node
      • getGroup

        public java.lang.String getGroup()
        Description copied from interface: ActionDefinition
        Returns a group name for a node.

        Interpretation of group depends totally on toolbar's implementation.

        Specified by:
        getGroup in interface ActionDefinition
        Returns:
        name of group or null if not applicable
      • setGroup

        public void setGroup​(java.lang.String group)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object