public interface MApplicationElement
This is the root element for all UI Model elements, defining attribtues common to every element; the element's id as well as three general storage elements:
The following features are supported:
Modifier and Type | Method and Description |
---|---|
String |
getContributorURI()
Returns the value of the 'Contributor URI' attribute
|
String |
getElementId()
Returns the value of the 'Element Id' attribute
|
Map<String,String> |
getPersistedState()
Returns the value of the 'Persisted State' map.
|
List<String> |
getTags()
Returns the value of the 'Tags' attribute list.
|
Map<String,Object> |
getTransientData()
Returns the value of the 'Transient Data' map.
|
void |
setContributorURI(String value)
Sets the value of the '
Contributor URI ' attribute |
void |
setElementId(String value)
Sets the value of the '
Element Id ' attribute |
String getElementId()
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.
setElementId(String)
void setElementId(String value)
Element Id
' attribute.
value
- the new value of the 'Element Id' attribute.getElementId()
Map<String,String> getPersistedState()
String
,
and the value is of type String
,
This is a Strimg to String map that can be used to persist information avout model elements across program sessions. 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.
List<String> getTags()
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
String getContributorURI()
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.
setContributorURI(String)
void setContributorURI(String value)
Contributor URI
' attribute.
value
- the new value of the 'Contributor URI' attribute.getContributorURI()
Map<String,Object> getTransientData()
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.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.