|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.notation.NotationProviderFactory2
The NotationProviderFactory2 is a singleton, since it is the accesspoint for all Figs to access the textual representation of modelobjects, and since plugin modules can add extra languages.
| Field Summary | |
static int |
TYPE_ACTIONSTATE
TYPE_ACTIONSTATE the text shown in an actionstate. |
static int |
TYPE_ASSOCIATION_END_NAME
The text shown at the association end that represents the role. |
static int |
TYPE_ASSOCIATION_ROLE
The text shown for the association role name. |
static int |
TYPE_ATTRIBUTE
TYPE_ATTRIBUTE the text shown in a attribute compartment (1 attrib only). |
static int |
TYPE_CALLSTATE
TYPE_CALLSTATE the text shown on a callstate's state. |
static int |
TYPE_CLASSIFIERROLE
TYPE_CLASSIFIERROLE the text shown on a classifierrole. |
static int |
TYPE_COMPONENTINSTANCE
TYPE_COMPONENTINSTANCE the text shown on a componentInstance. |
static int |
TYPE_EXTENSION_POINT
TYPE_EXTENSION_POINT the text shown on a usecase representing the extensionpoint. |
static int |
TYPE_MESSAGE
TYPE_MESSAGE the text shown on a Message in a Collaborations diagram. |
static int |
TYPE_NAME
TYPE_NAME the name of the modelelement, e.g. |
static int |
TYPE_NODEINSTANCE
TYPE_NODEINSTANCE the text shown on a componentInstance. |
static int |
TYPE_OBJECT
TYPE_OBJECT the text shown on an object. |
static int |
TYPE_OBJECTFLOWSTATE_STATE
TYPE_OBJECTFLOWSTATE_STATE the text shown on a objectflowstate's state. |
static int |
TYPE_OBJECTFLOWSTATE_TYPE
TYPE_TYPE_OBJECTFLOWSTATE_TYPE the text shown on a objectflowstate's type, i.e. |
static int |
TYPE_OPERATION
TYPE_OPERATION the text shown in a operation compartment (1 oper only). |
static int |
TYPE_STATEBODY
TYPE_STATEBODY the multiline text shown inside the state body. |
static int |
TYPE_TRANSITION
TYPE_TRANSITION the main text shown above the transition. |
| Method Summary | |
void |
addNotationProvider(int type,
NotationName notationName,
Class provider)
|
static NotationProviderFactory2 |
getInstance()
|
NotationProvider4 |
getNotationProvider(int type,
NotationContext context,
Object object)
Deprecated. by MVW in V0.21.3. Replaced by getNotationProvider(int, Object)
See issue 3140. |
NotationProvider4 |
getNotationProvider(int type,
Object object)
Get a NotationProvider for the current project. |
boolean |
removeNotation(NotationName notationName)
We need this to remove modules. |
void |
setDefaultNotation(NotationName notationName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TYPE_NAME
public static final int TYPE_TRANSITION
public static final int TYPE_STATEBODY
public static final int TYPE_ACTIONSTATE
public static final int TYPE_ATTRIBUTE
public static final int TYPE_OPERATION
public static final int TYPE_OBJECT
public static final int TYPE_COMPONENTINSTANCE
public static final int TYPE_NODEINSTANCE
public static final int TYPE_OBJECTFLOWSTATE_TYPE
public static final int TYPE_OBJECTFLOWSTATE_STATE
public static final int TYPE_CALLSTATE
public static final int TYPE_CLASSIFIERROLE
public static final int TYPE_MESSAGE
public static final int TYPE_EXTENSION_POINT
public static final int TYPE_ASSOCIATION_END_NAME
public static final int TYPE_ASSOCIATION_ROLE
| Method Detail |
public static NotationProviderFactory2 getInstance()
public NotationProvider4 getNotationProvider(int type,
Object object)
type - the provider typeobject - the constructor parameter
public NotationProvider4 getNotationProvider(int type,
NotationContext context,
Object object)
getNotationProvider(int, Object)
See issue 3140.
type - the provider typecontext - the context (i.e. the notation name)object - the constructor parameter
public void addNotationProvider(int type,
NotationName notationName,
Class provider)
type - the provider typenotationName - the name of the notation (language)provider - the providerpublic void setDefaultNotation(NotationName notationName)
notationName - the UML notation that is to be used as default
if no other is foundpublic boolean removeNotation(NotationName notationName)
notationName - the notation to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |