|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.notation.Notation
Provides centralized methods dealing with notation.
| Field Summary | |
static ConfigurationKey |
KEY_DEFAULT_NOTATION
The configuration key for the preferred notation. |
static ConfigurationKey |
KEY_DEFAULT_SHADOW_WIDTH
Default value for the shadow size of classes, interfaces etc. |
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_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 | |
protected void |
finalize()
Remove the notation change listener. |
static NotationName |
findNotation(String s)
Convert a String into a NotationName. |
static ArrayList |
getAvailableNotations()
Get list of available notations, of type NotationName. |
static NotationName |
getConfigueredNotation()
Returns the Notation as set in the menu. |
static int |
getDefaultShadowWidth()
Deprecated. by MVW in V0.21.3.Use ProjectSettings instead. |
static Notation |
getInstance()
|
static NotationName |
getNotation(NotationContext context)
Deprecated. by MVW in V0.21.3. Replaced by ProjectSettings.getNotationName()
See issue 3140. |
static boolean |
getUseGuillemots()
Deprecated. by MVW in V0.21.3.Use ProjectSettings instead. |
static NotationName |
makeNotation(String k1,
String k2,
Icon icon)
Create a versioned notation name with an icon. |
void |
propertyChange(PropertyChangeEvent pce)
Called after the notation default property gets changed. |
static void |
setDefaultNotation(NotationName n)
|
static void |
setDefaultShadowWidth(int width)
Deprecated. by MVW in V0.21.3.Use ProjectSettings instead. |
static void |
setUseGuillemots(boolean useGuillemots)
Deprecated. by MVW in V0.21.3.Use ProjectSettings instead. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ConfigurationKey KEY_DEFAULT_NOTATION
public static final ConfigurationKey KEY_SHOW_STEREOTYPES
public static final ConfigurationKey KEY_USE_GUILLEMOTS
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
public static final ConfigurationKey KEY_DEFAULT_SHADOW_WIDTH
| Method Detail |
protected void finalize()
finalize should never happen, but play it safe.
TODO: Explain why we don't call super.finalize()!
public static void setDefaultNotation(NotationName n)
n - the NotationName that will become defaultpublic static NotationName findNotation(String s)
s - the String
public static NotationName getConfigueredNotation()
public static Notation getInstance()
public static NotationName getNotation(NotationContext context)
ProjectSettings.getNotationName()
See issue 3140.
context - the notation context
public void propertyChange(PropertyChangeEvent pce)
propertyChange in interface PropertyChangeListenerPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)public static ArrayList getAvailableNotations()
public static NotationName makeNotation(String k1,
String k2,
Icon icon)
k1 - the name (e.g. UML)k2 - the version (e.g. 1.3)icon - the icon
public static boolean getUseGuillemots()
true if guillemots (« and ») are used
instead of << and >>.public static void setUseGuillemots(boolean useGuillemots)
useGuillemots - true if guillemots («
and ») shall be used instead of << and >>.public static int getDefaultShadowWidth()
public static void setDefaultShadowWidth(int width)
width - the Fig shadow width
|
|||||||||||
| 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 |