Interface MCategory
- All Superinterfaces:
MApplicationElement
,MLocalizable
- All Known Implementing Classes:
CategoryImpl
A representation of the model object 'Category'.
This defines a logical grouping of Commands in order to facilitate showing the current set of Commands in dialogs, lists etc
- Since:
- 1.0
- Restriction:
- This interface is not intended to be implemented by clients.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Description' attribute.Returns the value of the 'Localized Description' attribute.Returns the value of the 'Localized Name' attribute.getName()
Returns the value of the 'Name' attribute.void
setDescription
(String value) Sets the value of the 'Description
' attribute.void
Sets the value of the 'Name
' attribute.Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MLocalizable
updateLocalization
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute.The name to be displayed for this category.
- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getDescription
String getDescription()Returns the value of the 'Description' attribute.The description to display for this category.
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
Sets the value of the 'Description
' attribute.- Parameters:
value
- the new value of the 'Description' attribute.- See Also:
-
getLocalizedName
String getLocalizedName()Returns the value of the 'Localized Name' attribute. The default value is""
.- Returns:
- the value of the 'Localized Name' attribute.
-
getLocalizedDescription
String getLocalizedDescription()Returns the value of the 'Localized Description' attribute.- Returns:
- the value of the 'Localized Description' attribute.
-