|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.notation.Notation
public final class Notation
Provides centralized methods dealing with notation.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_NOTATION
Default notation with both base name and version (e.g. |
static ConfigurationKey |
KEY_DEFAULT_NOTATION
The configuration key for the preferred notation. |
static ConfigurationKey |
KEY_SHOW_ASSOCIATION_NAMES
Indicates if the user wants to see association names |
static ConfigurationKey |
KEY_SHOW_INITIAL_VALUE
Indicates if the user wants to see the initial value. |
static ConfigurationKey |
KEY_SHOW_MULTIPLICITY
Indicates if the user wants to see multiplicity in attributes and classes. |
static ConfigurationKey |
KEY_SHOW_PROPERTIES
Indicates if the user wants to see the properties (everything between braces), that is for example the concurrency. |
static ConfigurationKey |
KEY_SHOW_SINGULAR_MULTIPLICITIES
The configuration key that indicates whether to show stereotypes in the navigation panel. |
static ConfigurationKey |
KEY_SHOW_STEREOTYPES
The configuration key that indicates whether to show stereotypes in the navigation panel. |
static ConfigurationKey |
KEY_SHOW_TYPES
Indicates if the user wants to see the types and parameters of attributes and operations. |
static ConfigurationKey |
KEY_SHOW_VISIBILITY
Indicates if the user wants to see visibility signs (public, private, protected or # + -). |
static ConfigurationKey |
KEY_USE_GUILLEMOTS
The configuration key that indicates whether to use guillemots or greater/lessthan characters in stereotypes. |
Method Summary | |
---|---|
static NotationName |
findNotation(java.lang.String s)
Convert a String into a NotationName. |
static java.util.List<NotationName> |
getAvailableNotations()
Get list of available notations, of type NotationName. |
static NotationName |
getConfiguredNotation()
Returns the Notation as set in the menu. |
static Notation |
getInstance()
|
static NotationName |
makeNotation(java.lang.String k1,
java.lang.String k2,
javax.swing.Icon icon)
Create a versioned notation name with an icon. |
void |
propertyChange(java.beans.PropertyChangeEvent pce)
|
static boolean |
removeNotation(NotationName theNotation)
Remove a complete Notation language. |
static void |
setDefaultNotation(NotationName n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_NOTATION
public static final ConfigurationKey KEY_DEFAULT_NOTATION
public static final ConfigurationKey KEY_SHOW_STEREOTYPES
public static final ConfigurationKey KEY_SHOW_SINGULAR_MULTIPLICITIES
public static final ConfigurationKey KEY_USE_GUILLEMOTS
public static final ConfigurationKey KEY_SHOW_ASSOCIATION_NAMES
public static final ConfigurationKey KEY_SHOW_VISIBILITY
public static final ConfigurationKey KEY_SHOW_MULTIPLICITY
public static final ConfigurationKey KEY_SHOW_INITIAL_VALUE
public static final ConfigurationKey KEY_SHOW_PROPERTIES
public static final ConfigurationKey KEY_SHOW_TYPES
Method Detail |
---|
public static void setDefaultNotation(NotationName n)
n
- the NotationName that will become defaultpublic static NotationName findNotation(java.lang.String s)
s
- the String
public static NotationName getConfiguredNotation()
public static Notation getInstance()
public void propertyChange(java.beans.PropertyChangeEvent pce)
propertyChange
in interface java.beans.PropertyChangeListener
public static java.util.List<NotationName> getAvailableNotations()
public static boolean removeNotation(NotationName theNotation)
This function fails if the given notation does not exist.
theNotation
- the given NotationName
public static NotationName makeNotation(java.lang.String k1, java.lang.String k2, javax.swing.Icon icon)
k1
- the name (e.g. UML)k2
- the version (e.g. 1.3)icon
- the icon
|
||||||||||
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 |