Interface MApplicationElement

    • Method Detail

      • getElementId

        String getElementId()
        Returns the value of the 'Element Id' attribute.

        Developers: Add more detailed documentation by editing this comment in org.eclipse.ui.model.workbench/model/UIElements.ecore. There is a GenModel/documentation node under each type and attribute.

        Returns:
        the value of the 'Element Id' attribute.
        See Also:
        setElementId(String)
      • setElementId

        void setElementId​(String value)
        Sets the value of the 'Element Id' attribute.
        Parameters:
        value - the new value of the 'Element Id' attribute.
        See Also:
        getElementId()
      • getPersistedState

        Map<String,​String> getPersistedState()
        Returns the value of the 'Persisted State' map. The key is of type String, and the value is of type String,

        This is a String to String map that can be used to persist information about model elements across program restarts. The format of the 'value' string is defined by the code setting the value into the map. Information stored in this map is part of the model and will be persisted and restored as such.

        Returns:
        the value of the 'Persisted State' map.
      • getTags

        List<String> getTags()
        Returns the value of the 'Tags' attribute list. The list contents are of type String.

        Tags are a list of Strings that are persistent parts of the UI Model. They can be used to 'refine' a particular model element, supplying extra 'meta' information. These tags interact with the CSS engine so that it's possible to write CSS specific to a particular tag. The platform currently uses this mechanism to cause the color change in the stack comtaining the currently active part

        Returns:
        the value of the 'Tags' attribute list.
      • getContributorURI

        String getContributorURI()
        Returns the value of the 'Contributor URI' attribute.

        This field is used to track the bundle (if any) from which the UI element was derived in order to faciliate its removal should the bundle go away or be updated.

        Returns:
        the value of the 'Contributor URI' attribute.
        See Also:
        setContributorURI(String)
      • setContributorURI

        void setContributorURI​(String value)
        Sets the value of the 'Contributor URI' attribute.
        Parameters:
        value - the new value of the 'Contributor URI' attribute.
        See Also:
        getContributorURI()
      • getTransientData

        Map<String,​Object> getTransientData()
        Returns the value of the 'Transient Data' map. The key is of type String, and the value is of type Object,

        This is a String to Object map into which any desired runtime information realted to a particular element may be stored. It is not persisted across sessions so it is not necessary that the 'values' be serializable.

        Returns:
        the value of the 'Transient Data' map.