|
Generators | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiagramConfiguration
A representation of the model object 'Diagram Configuration'.
The following features are supported:
Project NameNamePackagePrefixPalettePartsLayoutObjectsGen ModelDefault Background ColorDefault Foreground ColorDefault FontTemplate Root ObjectForce OverwriteOverwrite Graph ConfOrganize ImportsEditor ConfiguratorCopyright TextPlugin VersionProviderSame Plugin As Editor
DiagramconfiguratorPackage.getDiagramConfiguration()| Method Summary | |
|---|---|
java.lang.String |
getBasePackage()
|
java.lang.String |
getCopyrightText()
Returns the value of the 'Copyright Text' attribute. |
org.eclipse.swt.graphics.Color |
getDefaultBackgroundColor()
Returns the value of the 'Default Background Color' attribute. |
java.lang.String |
getDefaultBackgroundColorStringValue()
Get the String value representing the DefaultBackgroundColor |
org.eclipse.swt.graphics.Font |
getDefaultFont()
Returns the value of the 'Default Font' attribute. |
java.lang.String |
getDefaultFontStringValue()
Get the String value representing the DefaultFont |
org.eclipse.swt.graphics.Color |
getDefaultForegroundColor()
Returns the value of the 'Default Foreground Color' attribute. |
java.lang.String |
getDefaultForegroundColorStringValue()
Get the String value representing the DefaultForegroundColor |
EditorConfiguration |
getEditorConfigurator()
Returns the value of the 'Editor Configurator' reference. |
java.lang.String |
getExtension()
Return the extension to use for the model file in the editor |
java.lang.String |
getExtensionDiagram()
Return the extension to use for the diagram file in the editor |
GenModel |
getGenModel()
Returns the value of the 'Gen Model' reference. |
java.lang.String |
getGraphConfIPath()
Return the String that represent the IPath of the diagram.graphconf relative to the Plugin |
java.lang.String |
getJavaCopyrightText()
Return the copyright as the Java format. |
LayoutType |
getLayout()
Returns the value of the 'Layout' attribute. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
EList<ObjectConfiguration> |
getObjects()
Returns the value of the 'Objects' containment reference list. |
java.lang.String |
getPackage()
Returns the value of the 'Package' attribute. |
PaletteConfiguration |
getPalette()
Returns the value of the 'Palette' containment reference. |
java.util.List<PartAction> |
getPartActions()
Get the list of all the actions that are defined in the PartConfiguration elements of this DiagramConfiguration |
EList<PartConfiguration> |
getParts()
Returns the value of the 'Parts' containment reference list. |
java.lang.String |
getPluginPrefix()
Return the prefix of the Plugin.java file that should be associated with the diagram. |
java.lang.String |
getPluginVersion()
Returns the value of the 'Plugin Version' attribute. |
java.lang.String |
getPrefix()
Returns the value of the 'Prefix' attribute. |
java.lang.String |
getProjectName()
Returns the value of the 'Project Name' attribute. |
java.lang.String |
getProvider()
Returns the value of the 'Provider' attribute. |
GenClass |
getTemplateRootObject()
Returns the value of the 'Template Root Object' reference. |
java.util.List<ModelObjectConfiguration> |
getUniqueModelObjectConfList(boolean nodeFilter,
boolean edgeFilter)
Get the list of all the model objects that are referenced by Parts. |
java.util.List<ModelObjectConfiguration> |
getUniqueModelObjectConfListFromPalette(boolean nodeFilter,
boolean edgeFilter)
Get the list of all the model objects referenced by the different PaletteItem of the PaletteConfiguration. |
boolean |
isForceOverwrite()
Returns the value of the 'Force Overwrite' attribute. |
boolean |
isOrganizeImports()
Returns the value of the 'Organize Imports' attribute. |
boolean |
isOverwriteGraphConf()
Returns the value of the 'Overwrite Graph Conf' attribute. |
boolean |
isSamePluginAsEditor()
Returns the value of the 'Same Plugin As Editor' attribute. |
void |
setCopyrightText(java.lang.String value)
Sets the value of the ' Copyright Text'
attribute. |
void |
setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
Sets the value of the ' Default Background Color'
attribute. |
void |
setDefaultFont(org.eclipse.swt.graphics.Font value)
Sets the value of the ' Default Font'
attribute. |
void |
setDefaultForegroundColor(org.eclipse.swt.graphics.Color value)
Sets the value of the ' Default Foreground Color'
attribute. |
void |
setEditorConfigurator(EditorConfiguration value)
Sets the value of the ' Editor Configurator'
reference. |
void |
setForceOverwrite(boolean value)
Sets the value of the ' Force Overwrite'
attribute. |
void |
setGenModel(GenModel value)
Sets the value of the ' Gen Model'
reference. |
void |
setLayout(LayoutType value)
Sets the value of the ' Layout'
attribute. |
void |
setName(java.lang.String value)
Sets the value of the ' Name'
attribute. |
void |
setOrganizeImports(boolean value)
Sets the value of the ' Organize Imports'
attribute. |
void |
setOverwriteGraphConf(boolean value)
Sets the value of the ' Overwrite Graph Conf'
attribute. |
void |
setPackage(java.lang.String value)
Sets the value of the ' Package'
attribute. |
void |
setPalette(PaletteConfiguration value)
Sets the value of the ' Palette'
containment reference. |
void |
setPluginVersion(java.lang.String value)
Sets the value of the ' Plugin Version'
attribute. |
void |
setPrefix(java.lang.String value)
Sets the value of the ' Prefix'
attribute. |
void |
setProjectName(java.lang.String value)
Sets the value of the ' Project Name'
attribute. |
void |
setProvider(java.lang.String value)
Sets the value of the ' Provider'
attribute. |
void |
setSamePluginAsEditor(boolean value)
Sets the value of the ' Same Plugin As Editor'
attribute. |
void |
setTemplateRootObject(GenClass value)
Sets the value of the ' Template Root Object'
reference. |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
java.lang.String getProjectName()
If the meaning of the 'Project Name' attribute isn't clear, there really should be more of a description here...
setProjectName(String),
DiagramconfiguratorPackage.getDiagramConfiguration_ProjectName()void setProjectName(java.lang.String value)
Project Name'
attribute.
value - the new value of the 'Project Name' attribute.getProjectName()java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
setName(String),
DiagramconfiguratorPackage.getDiagramConfiguration_Name()void setName(java.lang.String value)
Name'
attribute.
value - the new value of the 'Name' attribute.getName()java.lang.String getPackage()
If the meaning of the 'Package' attribute isn't clear, there really should be more of a description here...
setPackage(String),
DiagramconfiguratorPackage.getDiagramConfiguration_Package()void setPackage(java.lang.String value)
Package'
attribute.
value - the new value of the 'Package' attribute.getPackage()java.lang.String getPrefix()
If the meaning of the 'Prefix' attribute isn't clear, there really should be more of a description here...
setPrefix(String),
DiagramconfiguratorPackage.getDiagramConfiguration_Prefix()java.lang.String getPluginPrefix()
void setPrefix(java.lang.String value)
Prefix'
attribute.
value - the new value of the 'Prefix' attribute.getPrefix()PaletteConfiguration getPalette()
If the meaning of the 'Palette' containment reference isn't clear, there really should be more of a description here...
setPalette(PaletteConfiguration),
DiagramconfiguratorPackage.getDiagramConfiguration_Palette()void setPalette(PaletteConfiguration value)
Palette'
containment reference.
value - the new value of the 'Palette' containment reference.getPalette()EList<PartConfiguration> getParts()
PartConfiguration.
If the meaning of the 'Parts' containment reference list isn't clear, there really should be more of a description here...
DiagramconfiguratorPackage.getDiagramConfiguration_Parts()LayoutType getLayout()
"XYLayout".
The literals are from the enumeration LayoutType.
If the meaning of the 'Layout' attribute isn't clear, there really should be more of a description here...
LayoutType,
setLayout(LayoutType),
DiagramconfiguratorPackage.getDiagramConfiguration_Layout()void setLayout(LayoutType value)
Layout'
attribute.
value - the new value of the 'Layout' attribute.LayoutType,
getLayout()EList<ObjectConfiguration> getObjects()
ObjectConfiguration.
If the meaning of the 'Objects' containment reference list isn't clear, there really should be more of a description here...
DiagramconfiguratorPackage.getDiagramConfiguration_Objects()GenModel getGenModel()
If the meaning of the 'Gen Model' reference isn't clear, there really should be more of a description here...
setGenModel(GenModel),
DiagramconfiguratorPackage.getDiagramConfiguration_GenModel()void setGenModel(GenModel value)
Gen Model'
reference.
value - the new value of the 'Gen Model' reference.getGenModel()org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
"255,255,255".
If the meaning of the 'Default Background Color' attribute isn't clear, there really should be more of a description here...
setDefaultBackgroundColor(Color),
DiagramconfiguratorPackage.getDiagramConfiguration_DefaultBackgroundColor()void setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
Default Background Color'
attribute.
value - the new value of the 'Default Background Color' attribute.getDefaultBackgroundColor()org.eclipse.swt.graphics.Color getDefaultForegroundColor()
"0,0,0".
If the meaning of the 'Default Foreground Color' attribute isn't clear, there really should be more of a description here...
setDefaultForegroundColor(Color),
DiagramconfiguratorPackage.getDiagramConfiguration_DefaultForegroundColor()void setDefaultForegroundColor(org.eclipse.swt.graphics.Color value)
Default Foreground Color'
attribute.
value - the new value of the 'Default Foreground Color' attribute.getDefaultForegroundColor()org.eclipse.swt.graphics.Font getDefaultFont()
"".
If the meaning of the 'Default Font' attribute isn't clear, there really should be more of a description here...
setDefaultFont(Font),
DiagramconfiguratorPackage.getDiagramConfiguration_DefaultFont()void setDefaultFont(org.eclipse.swt.graphics.Font value)
Default Font'
attribute.
value - the new value of the 'Default Font' attribute.getDefaultFont()GenClass getTemplateRootObject()
If the meaning of the 'Template Root Object' reference isn't clear, there really should be more of a description here...
setTemplateRootObject(GenClass),
DiagramconfiguratorPackage.getDiagramConfiguration_TemplateRootObject()void setTemplateRootObject(GenClass value)
Template Root Object'
reference.
value - the new value of the 'Template Root Object' reference.getTemplateRootObject()boolean isForceOverwrite()
"false".
If the meaning of the 'Force Overwrite' attribute isn't clear, there really should be more of a description here...
setForceOverwrite(boolean),
DiagramconfiguratorPackage.getDiagramConfiguration_ForceOverwrite()void setForceOverwrite(boolean value)
Force Overwrite'
attribute.
value - the new value of the 'Force Overwrite' attribute.isForceOverwrite()boolean isOverwriteGraphConf()
"true".
If the meaning of the 'Overwrite Graph Conf' attribute isn't clear, there really should be more of a description here...
setOverwriteGraphConf(boolean),
DiagramconfiguratorPackage.getDiagramConfiguration_OverwriteGraphConf()void setOverwriteGraphConf(boolean value)
Overwrite Graph Conf'
attribute.
value - the new value of the 'Overwrite Graph Conf' attribute.isOverwriteGraphConf()boolean isOrganizeImports()
"true".
If the meaning of the 'Organize Imports' attribute isn't clear, there really should be more of a description here...
setOrganizeImports(boolean),
DiagramconfiguratorPackage.getDiagramConfiguration_OrganizeImports()void setOrganizeImports(boolean value)
Organize Imports'
attribute.
value - the new value of the 'Organize Imports' attribute.isOrganizeImports()EditorConfiguration getEditorConfigurator()
If the meaning of the 'Editor Configurator' reference isn't clear, there really should be more of a description here...
setEditorConfigurator(EditorConfiguration),
DiagramconfiguratorPackage.getDiagramConfiguration_EditorConfigurator()void setEditorConfigurator(EditorConfiguration value)
Editor Configurator'
reference.
value - the new value of the 'Editor Configurator' reference.getEditorConfigurator()java.lang.String getCopyrightText()
If the meaning of the 'Copyright Text' attribute isn't clear, there really should be more of a description here...
setCopyrightText(String),
DiagramconfiguratorPackage.getDiagramConfiguration_CopyrightText()java.lang.String getJavaCopyrightText()
* characters are added.
void setCopyrightText(java.lang.String value)
Copyright Text'
attribute.
value - the new value of the 'Copyright Text' attribute.getCopyrightText()java.lang.String getPluginVersion()
If the meaning of the 'Plugin Version' attribute isn't clear, there really should be more of a description here...
setPluginVersion(String),
DiagramconfiguratorPackage.getDiagramConfiguration_PluginVersion()void setPluginVersion(java.lang.String value)
Plugin Version'
attribute.
value - the new value of the 'Plugin Version' attribute.getPluginVersion()java.lang.String getProvider()
"Topcased".
If the meaning of the 'Provider' attribute isn't clear, there really should be more of a description here...
setProvider(String),
DiagramconfiguratorPackage.getDiagramConfiguration_Provider()void setProvider(java.lang.String value)
Provider'
attribute.
value - the new value of the 'Provider' attribute.getProvider()boolean isSamePluginAsEditor()
"false".
If the meaning of the 'Same Plugin As Editor' attribute isn't clear, there really should be more of a description here...
setSamePluginAsEditor(boolean),
DiagramconfiguratorPackage.getDiagramConfiguration_SamePluginAsEditor()void setSamePluginAsEditor(boolean value)
Same Plugin As Editor'
attribute.
value - the new value of the 'Same Plugin As Editor' attribute.isSamePluginAsEditor()java.lang.String getBasePackage()
java.lang.String getExtension()
java.lang.String getExtensionDiagram()
java.lang.String getGraphConfIPath()
java.util.List<ModelObjectConfiguration> getUniqueModelObjectConfList(boolean nodeFilter,
boolean edgeFilter)
nodeFilter - Specify whether the NodePartConfiguration should be includededgeFilter - Specify whether the EdgePartConfiguration should be included
java.util.List<ModelObjectConfiguration> getUniqueModelObjectConfListFromPalette(boolean nodeFilter,
boolean edgeFilter)
nodeFilter - Specify whether the NodePartConfiguration should be includededgeFilter - Specify whether the EdgePartConfiguration should be included
java.lang.String getDefaultBackgroundColorStringValue()
java.lang.String getDefaultForegroundColorStringValue()
java.lang.String getDefaultFontStringValue()
java.util.List<PartAction> getPartActions()
|
Generators | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.