public interface I18nSupport
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription(NoteType element)
Get the I18n'ed description for a
NoteType . |
java.lang.String |
getDescription(Profile element)
Get the I18n'ed description for a
Profile . |
java.lang.String |
getDescription(PropertyDefinition pdef)
Get the I18n'ed description for a
PropertyDefinition . |
java.lang.String |
getDescription(ResourceType element)
Get the I18n'ed description for a
ResourceType . |
java.lang.String |
getDescription(Stereotype element)
Get the I18n'ed description for a
Stereotype . |
java.lang.String |
getDescription(TagType element)
Get the I18n'ed description for a
TagType . |
java.util.ResourceBundle |
getI18N()
The most basic service: get the ResourceBundle of the module.
|
java.lang.String |
getLabel(NoteType noteType)
Get the I18n'ed label for a NoteType
|
java.lang.String |
getLabel(Profile element)
Get the I18n'ed label for a
Profile . |
java.lang.String |
getLabel(PropertyDefinition pdef)
Get the I18n'ed label for a
PropertyDefinition |
java.lang.String |
getLabel(ResourceType docType)
Get the I18n'ed label for a
ResourceType . |
java.lang.String |
getLabel(Stereotype stereotype)
Get the I18n'ed label for a Stereotype.
|
java.lang.String |
getLabel(TagType tagType)
Get the I18n'ed label for a TagType
|
java.lang.String |
getString(java.lang.String key)
Get the I18n'ed label for a given key
|
java.lang.String getDescription(PropertyDefinition pdef)
PropertyDefinition
.pdef
- the property definition to get the description for.java.lang.String getDescription(NoteType element)
NoteType
.pdef
- the NoteType to get the description for.java.lang.String getDescription(TagType element)
TagType
.pdef
- the TagType to get the description for.java.lang.String getDescription(Stereotype element)
Stereotype
.pdef
- the Stereotype to get the description for.java.lang.String getDescription(ResourceType element)
ResourceType
.pdef
- the ResourceType to get the description for.java.lang.String getDescription(Profile element)
Profile
.element
- the Profile
to get the description for.java.util.ResourceBundle getI18N()
java.lang.String getLabel(Stereotype stereotype)
stereotype
- the stereotype to get the label for.java.lang.String getLabel(TagType tagType)
tagType
- the tag type to get the label for.java.lang.String getLabel(NoteType noteType)
noteType
- the note type to get the label for.java.lang.String getLabel(ResourceType docType)
ResourceType
.docType
- the resource type to get the label for.java.lang.String getLabel(PropertyDefinition pdef)
PropertyDefinition
pdef
- the property definition to get the label for.java.lang.String getLabel(Profile element)
Profile
.docType
- the profile to get the label for.java.lang.String getString(java.lang.String key)
key
- the key for the desired string.