|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xtools.uml.msl.lang.AbstractLanguageDescriptor
public abstract class AbstractLanguageDescriptor
This is the base implementation for an IUMLLanguageDescriptor.
| Constructor Summary | |
|---|---|
protected |
AbstractLanguageDescriptor(String langId,
String name)
Constructor for a given language. |
protected |
AbstractLanguageDescriptor(String langId,
String name,
String extension)
Constructor when the language extension is known. |
| Method Summary | |
|---|---|
String |
getDisplayName()
The display name is unchangeable. |
Collection<String> |
getLanguageActivityIDs()
|
String |
getLanguageExtension()
|
String |
getLanguageID()
|
Collection<URI> |
getLanguageLibraryURIs()
|
protected Package |
getLibrary(ResourceSet resourceSet,
String name)
Gets the library with the specified name. |
protected Collection<String> |
getPrimitiveTypeLibraryNames()
The names of the primitive type libraries (Packages) that contain the specialized primitive types. |
Collection<PrimitiveType> |
getPrimitiveTypes(ResourceSet set)
Gets the primitive types associated with this language. |
Collection<URI> |
getProfileURIs()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractLanguageDescriptor(String langId,
String name)
langId - The unique language id to be used when storing a language in the model
(Must not be null)name - A user readable display name if extra description is necessary
(Must not be null)
protected AbstractLanguageDescriptor(String langId,
String name,
String extension)
langId - The unique language id to be used when storing a language in the model
(Must not be null)name - A user readable display name if extra description is necessary
(Must not be null)extension - The file extension typically associated with this language| Method Detail |
|---|
public String getLanguageID()
getLanguageID in interface IUMLLanguageDescriptorpublic String getLanguageExtension()
getLanguageExtension in interface IUMLLanguageDescriptorpublic final String getDisplayName()
getDisplayName in interface IUMLLanguageDescriptorpublic Collection<String> getLanguageActivityIDs()
getLanguageActivityIDs in interface IUMLLanguageDescriptorCollection of activity ID's that enable
language specified actions / UI in the workbench.public Collection<URI> getLanguageLibraryURIs()
getLanguageLibraryURIs in interface IUMLLanguageDescriptorCollection of URI's that point to library
models that are required for this particular language.public Collection<URI> getProfileURIs()
getProfileURIs in interface IUMLLanguageDescriptorCollection of URI's that point to
profiles that are required for this particular language.public Collection<PrimitiveType> getPrimitiveTypes(ResourceSet set)
getPrimitiveTypes in interface IUMLLanguageDescriptorset - the resource set to use as context
protected Collection<String> getPrimitiveTypeLibraryNames()
AbstractLanguageDescriptor.getPrimitiveTypes(ResourceSet)
protected Package getLibrary(ResourceSet resourceSet,
String name)
Package that is the root of the
model library. or null if not found.
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||