|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.kernel.ProjectSettings
public class ProjectSettings
A datastructure for settings for a Project.
Most getters return a string, since they are used by "argo.tee". This is also the reason all these attributes are not part of a Map or something.
TODO: The header comment is currently not used - this function is not completely implemented yet. How do we store this in the project? Where should the user enter his header comment? See issue 4813.
| Method Summary | |
|---|---|
DiagramSettings |
getDefaultDiagramSettings()
|
java.lang.String |
getDefaultShadowWidth()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
int |
getDefaultShadowWidthValue()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.lang.String |
getDefaultStereotypeView()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
int |
getDefaultStereotypeViewValue()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.awt.Font |
getFont(int fontStyle)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.awt.Font |
getFontBold()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.awt.Font |
getFontBoldItalic()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.awt.Font |
getFontItalic()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.lang.String |
getFontName()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.awt.Font |
getFontPlain()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
int |
getFontSize()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.lang.String |
getGenerationOutputDir()
Deprecated. for 0.27.2 by tfmorris. This is a user setting, not a project setting. |
java.lang.String |
getHeaderComment()
|
java.lang.String |
getHideBidirectionalArrows()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
boolean |
getHideBidirectionalArrowsValue()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.lang.String |
getLeftGuillemot()
Deprecated. for 0.27.2 by tfmorris. There's no need for a separate method for this. It can be easily handled in a format string using the results of DiagramSettings#isUseGuillemets(). |
java.lang.String |
getNotationLanguage()
Used by "argo.tee". |
NotationName |
getNotationName()
|
NotationSettings |
getNotationSettings()
|
java.lang.String |
getRightGuillemot()
Deprecated. for 0.27.2 by tfmorris. There's no need for a separate method for this. It can be easily handled in a format string using the results of DiagramSettings#isUseGuillemets(). |
java.lang.String |
getShowAssociationNames()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowAssociationNamesValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowBoldNames()
Used by "argo.tee". |
boolean |
getShowBoldNamesValue()
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
java.lang.String |
getShowInitialValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowInitialValueValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowMultiplicity()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowMultiplicityValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowProperties()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowPropertiesValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowSingularMultiplicities()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowSingularMultiplicitiesValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowStereotypes()
Used by "argo.tee". |
boolean |
getShowStereotypesValue()
TODO: Is this used in places other than on Diagrams? If so, it needs to stay in ProjectSettings (as well as being a DiagramSetting). |
java.lang.String |
getShowTypes()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowTypesValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getShowVisibility()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
boolean |
getShowVisibilityValue()
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
java.lang.String |
getUseGuillemots()
Used by "argo.tee". |
boolean |
getUseGuillemotsValue()
Get setting controlling whether guillemets (the double angle brackets quotation mark characters from Unicode) are to be used for formatting instead of two individual characters for each quote mark (e.g. |
void |
init()
Deprecated. for 0.27.2 by tfmorris. No replacement. Diagrams/Figs are now created with the correct initial settings. |
void |
setDefaultShadowWidth(int newWidth)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setDefaultShadowWidth(java.lang.String width)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setDefaultStereotypeView(int newView)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setFontName(java.lang.String newFontName)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setFontSize(int newFontSize)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setGenerationOutputDir(java.lang.String od)
Deprecated. for 0.27.2 by tfmorris. This is a user setting, not a project setting. Any uses will be ignored. |
void |
setHeaderComment(java.lang.String c)
|
void |
setHideBidirectionalArrows(boolean hideem)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setHideBidirectionalArrows(java.lang.String hideem)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setNotationLanguage(NotationName nn)
|
boolean |
setNotationLanguage(java.lang.String newLanguage)
|
void |
setShowAssociationNames(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowAssociationNames(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowBoldNames(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setShowBoldNames(java.lang.String showbold)
Deprecated. for 0.27.2 by tfmorris. Use DiagramSettings. |
void |
setShowInitialValue(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowInitialValue(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowMultiplicity(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowMultiplicity(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowProperties(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowProperties(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowSingularMultiplicities(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowSingularMultiplicities(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowStereotypes(boolean showem)
|
void |
setShowStereotypes(java.lang.String showem)
|
void |
setShowTypes(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowTypes(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowVisibility(boolean showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setShowVisibility(java.lang.String showem)
Deprecated. for 0.27.2 by tfmorris. Use NotationSettings. |
void |
setUseGuillemots(boolean showem)
|
void |
setUseGuillemots(java.lang.String showem)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Deprecated public void init()
public DiagramSettings getDefaultDiagramSettings()
public NotationSettings getNotationSettings()
public java.lang.String getNotationLanguage()
public NotationName getNotationName()
public boolean setNotationLanguage(java.lang.String newLanguage)
newLanguage - the notation language.
public void setNotationLanguage(NotationName nn)
nn - the new notation languagepublic java.lang.String getShowBoldNames()
@Deprecated public boolean getShowBoldNamesValue()
DiagramSettings.
true if we show bold names.@Deprecated public void setShowBoldNames(java.lang.String showbold)
DiagramSettings.
showbold - true if names are to be shown in bold font.@Deprecated public void setShowBoldNames(boolean showem)
DiagramSettings.
showem - true if names are to be shown in bold font.public java.lang.String getUseGuillemots()
getUseGuillemotsValue()public boolean getUseGuillemotsValue()
true if we show guillemets.public void setUseGuillemots(java.lang.String showem)
showem - true if guillemets are to be used.getUseGuillemotsValue()public void setUseGuillemots(boolean showem)
showem - true if guillemets are to be shown.getUseGuillemotsValue()@Deprecated public java.lang.String getLeftGuillemot()
DiagramSettings#isUseGuillemets().
@Deprecated public java.lang.String getRightGuillemot()
DiagramSettings#isUseGuillemets().
@Deprecated public java.lang.String getShowAssociationNames()
NotationSettings.
@Deprecated public boolean getShowAssociationNamesValue()
NotationSettings.
true if we show association names.@Deprecated public void setShowAssociationNames(java.lang.String showem)
NotationSettings.
showem - true if association names are to be shown.@Deprecated public void setShowAssociationNames(boolean showem)
NotationSettings.
showem - true if association names are to be shown.@Deprecated public java.lang.String getShowVisibility()
NotationSettings.
@Deprecated public boolean getShowVisibilityValue()
NotationSettings.
true if we show visibilities.@Deprecated public void setShowVisibility(java.lang.String showem)
NotationSettings.
showem - true if visibilities are to be shown.@Deprecated public void setShowVisibility(boolean showem)
NotationSettings.
showem - true if visibilities are to be shown.@Deprecated public java.lang.String getShowMultiplicity()
NotationSettings.
@Deprecated public boolean getShowMultiplicityValue()
NotationSettings.
true if we show multiplicities.@Deprecated public void setShowMultiplicity(java.lang.String showem)
NotationSettings.
showem - true if multiplicity is to be shown.@Deprecated public void setShowMultiplicity(boolean showem)
NotationSettings.
showem - true if the multiplicity is to be shown.@Deprecated public java.lang.String getShowInitialValue()
NotationSettings.
@Deprecated public boolean getShowInitialValueValue()
NotationSettings.
true if we show initial values.@Deprecated public void setShowInitialValue(java.lang.String showem)
NotationSettings.
showem - true if initial values are to be shown.@Deprecated public void setShowInitialValue(boolean showem)
NotationSettings.
showem - true if initial values are to be shown.@Deprecated public java.lang.String getShowProperties()
NotationSettings.
@Deprecated public boolean getShowPropertiesValue()
NotationSettings.
true if we show properties.@Deprecated public void setShowProperties(java.lang.String showem)
NotationSettings.
showem - true if properties are to be shown.@Deprecated public void setShowProperties(boolean showem)
NotationSettings.
showem - true if properties are to be shown.@Deprecated public java.lang.String getShowTypes()
NotationSettings.
@Deprecated public boolean getShowTypesValue()
NotationSettings.
true if we show types.@Deprecated public void setShowTypes(java.lang.String showem)
NotationSettings.
showem - true if types are to be shown.@Deprecated public void setShowTypes(boolean showem)
NotationSettings.
showem - true if types are to be shown.public java.lang.String getShowStereotypes()
public boolean getShowStereotypesValue()
true if we show stereotypes in the explorerpublic void setShowStereotypes(java.lang.String showem)
showem - true if stereotypes are to be shown in the
explorer.public void setShowStereotypes(boolean showem)
showem - true if stereotypes are to be shown in the
explorer view.@Deprecated public java.lang.String getShowSingularMultiplicities()
NotationSettings.
@Deprecated public boolean getShowSingularMultiplicitiesValue()
NotationSettings.
true if we show "1" Multiplicities.@Deprecated public void setShowSingularMultiplicities(java.lang.String showem)
NotationSettings.
showem - true if "1" Multiplicities are to be shown.@Deprecated public void setShowSingularMultiplicities(boolean showem)
NotationSettings.
showem - true if "1" Multiplicities are to be shown.@Deprecated public java.lang.String getHideBidirectionalArrows()
DiagramSettings.
@Deprecated public boolean getHideBidirectionalArrowsValue()
DiagramSettings.
true if we show the arrows when
both association ends of an association are navigable.@Deprecated public void setHideBidirectionalArrows(java.lang.String hideem)
DiagramSettings.
hideem - true if both arrows are to be shown when
both association ends of an association are navigable.@Deprecated public void setHideBidirectionalArrows(boolean hideem)
DiagramSettings.
hideem - true if both arrows are to be shown when
both association ends of an association are navigable.@Deprecated public java.lang.String getDefaultShadowWidth()
DiagramSettings.
@Deprecated public int getDefaultShadowWidthValue()
DiagramSettings.
@Deprecated public void setDefaultShadowWidth(int newWidth)
DiagramSettings.
newWidth - The Shadow Width.@Deprecated public void setDefaultShadowWidth(java.lang.String width)
DiagramSettings.
width - The shadow width to set.@Deprecated public java.lang.String getDefaultStereotypeView()
DiagramSettings.
@Deprecated public int getDefaultStereotypeViewValue()
DiagramSettings.
@Deprecated public java.lang.String getGenerationOutputDir()
@Deprecated public void setGenerationOutputDir(java.lang.String od)
od - the output directory namepublic java.lang.String getHeaderComment()
@Deprecated public void setDefaultStereotypeView(int newView)
DiagramSettings.
newView - the default stereotype viewpublic void setHeaderComment(java.lang.String c)
c - the header comment string@Deprecated public java.lang.String getFontName()
DiagramSettings.
Used by "argo.tee".
@Deprecated public void setFontName(java.lang.String newFontName)
DiagramSettings.
newFontName - diagram font name.@Deprecated public int getFontSize()
DiagramSettings.
Used by "argo.tee".
@Deprecated public void setFontSize(int newFontSize)
DiagramSettings.
newFontSize - diagram font size.@Deprecated public java.awt.Font getFontPlain()
DiagramSettings.
@Deprecated public java.awt.Font getFontItalic()
DiagramSettings.
@Deprecated public java.awt.Font getFontBold()
DiagramSettings.
@Deprecated public java.awt.Font getFontBoldItalic()
DiagramSettings.
@Deprecated public java.awt.Font getFont(int fontStyle)
DiagramSettings.
fontStyle - the style; see the predefined constants in Font
|
||||||||||
| 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 |