public interface IconDescriptor extends UserAttributeContainer, PluginDataContainer
Additional information may be required, depending on the context in which the icon descriptor is used. This information can be stored in the user attributes.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IconDescriptor.Dimension
Simple class for a dimension, that is a width and a height in pixel used
for icons.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns a description text of the icon (may be null).
|
IconDescriptor.Dimension[] |
getDimensions()
Gets all dimensions (width and height) the corresponding icon is available
for.
|
java.util.UUID |
getID()
Returns the repository-wide unique ID of the icon.
|
java.lang.String |
getName()
The arbitrary name of the icon.
|
long |
getRevision()
Gets the (base) revision of this icon which allows to track changes.
|
State |
getState()
Gets the current deployment state of this code descriptor, that is whether
it is currently modified, it can be used or it may not be used any more.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.util.UUID getID()
java.lang.String getName()
java.lang.String getDescription()
null.IconDescriptor.Dimension[] getDimensions()
long getRevision()
state is set to
IN_DEVELOPMENT but the revision remains until the branch
is released.State getState()