|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.gmf.codegen.gmfgen.impl.GenDiagramPreferencesImpl
public class GenDiagramPreferencesImpl
An implementation of the model object 'Gen Diagram Preferences'.
The following features are implemented:
Line StyleDefault FontFont ColorFill ColorLine ColorNote Fill ColorNote Line ColorShow Connection HandlesShow Popup BarsPrompt On Del From ModelPrompt On Del From DiagramEnable Animated LayoutEnable Animated ZoomEnable Anti AliasShow GridShow RulersSnap To GridRuler UnitsGrid Spacing
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected GenFont |
defaultFont
The cached value of the ' Default Font' containment reference |
protected static boolean |
ENABLE_ANIMATED_LAYOUT_EDEFAULT
The default value of the ' Enable Animated Layout' attribute |
protected static boolean |
ENABLE_ANIMATED_ZOOM_EDEFAULT
The default value of the ' Enable Animated Zoom' attribute |
protected static boolean |
ENABLE_ANTI_ALIAS_EDEFAULT
The default value of the ' Enable Anti Alias' attribute |
protected boolean |
enableAnimatedLayout
The cached value of the ' Enable Animated Layout' attribute |
protected boolean |
enableAnimatedZoom
The cached value of the ' Enable Animated Zoom' attribute |
protected boolean |
enableAntiAlias
The cached value of the ' Enable Anti Alias' attribute |
protected GenColor |
fillColor
The cached value of the ' Fill Color' containment reference |
protected GenColor |
fontColor
The cached value of the ' Font Color' containment reference |
protected static double |
GRID_SPACING_EDEFAULT
The default value of the ' Grid Spacing' attribute |
protected double |
gridSpacing
The cached value of the ' Grid Spacing' attribute |
protected static Routing |
LINE_STYLE_EDEFAULT
The default value of the ' Line Style' attribute |
protected GenColor |
lineColor
The cached value of the ' Line Color' containment reference |
protected Routing |
lineStyle
The cached value of the ' Line Style' attribute |
protected GenColor |
noteFillColor
The cached value of the ' Note Fill Color' containment reference |
protected GenColor |
noteLineColor
The cached value of the ' Note Line Color' containment reference |
protected static boolean |
PROMPT_ON_DEL_FROM_DIAGRAM_EDEFAULT
The default value of the ' Prompt On Del From Diagram' attribute |
protected static boolean |
PROMPT_ON_DEL_FROM_MODEL_EDEFAULT
The default value of the ' Prompt On Del From Model' attribute |
protected boolean |
promptOnDelFromDiagram
The cached value of the ' Prompt On Del From Diagram' attribute |
protected boolean |
promptOnDelFromModel
The cached value of the ' Prompt On Del From Model' attribute |
protected static RulerUnits |
RULER_UNITS_EDEFAULT
The default value of the ' Ruler Units' attribute |
protected RulerUnits |
rulerUnits
The cached value of the ' Ruler Units' attribute |
protected static boolean |
SHOW_CONNECTION_HANDLES_EDEFAULT
The default value of the ' Show Connection Handles' attribute |
protected static boolean |
SHOW_GRID_EDEFAULT
The default value of the ' Show Grid' attribute |
protected static boolean |
SHOW_POPUP_BARS_EDEFAULT
The default value of the ' Show Popup Bars' attribute |
protected static boolean |
SHOW_RULERS_EDEFAULT
The default value of the ' Show Rulers' attribute |
protected boolean |
showConnectionHandles
The cached value of the ' Show Connection Handles' attribute |
protected boolean |
showGrid
The cached value of the ' Show Grid' attribute |
protected boolean |
showPopupBars
The cached value of the ' Show Popup Bars' attribute |
protected boolean |
showRulers
The cached value of the ' Show Rulers' attribute |
protected static boolean |
SNAP_TO_GRID_EDEFAULT
The default value of the ' Snap To Grid' attribute |
protected boolean |
snapToGrid
The cached value of the ' Snap To Grid' attribute |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
GenDiagramPreferencesImpl()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
protected static final Routing LINE_STYLE_EDEFAULT
Line Style' attribute.
getLineStyle()protected Routing lineStyle
Line Style' attribute.
getLineStyle()protected GenFont defaultFont
Default Font' containment reference.
getDefaultFont()protected GenColor fontColor
Font Color' containment reference.
getFontColor()protected GenColor fillColor
Fill Color' containment reference.
getFillColor()protected GenColor lineColor
Line Color' containment reference.
getLineColor()protected GenColor noteFillColor
Note Fill Color' containment reference.
getNoteFillColor()protected GenColor noteLineColor
Note Line Color' containment reference.
getNoteLineColor()protected static final boolean SHOW_CONNECTION_HANDLES_EDEFAULT
Show Connection Handles' attribute.
isShowConnectionHandles(),
Constant Field Valuesprotected boolean showConnectionHandles
Show Connection Handles' attribute.
isShowConnectionHandles()protected static final boolean SHOW_POPUP_BARS_EDEFAULT
Show Popup Bars' attribute.
isShowPopupBars(),
Constant Field Valuesprotected boolean showPopupBars
Show Popup Bars' attribute.
isShowPopupBars()protected static final boolean PROMPT_ON_DEL_FROM_MODEL_EDEFAULT
Prompt On Del From Model' attribute.
isPromptOnDelFromModel(),
Constant Field Valuesprotected boolean promptOnDelFromModel
Prompt On Del From Model' attribute.
isPromptOnDelFromModel()protected static final boolean PROMPT_ON_DEL_FROM_DIAGRAM_EDEFAULT
Prompt On Del From Diagram' attribute.
isPromptOnDelFromDiagram(),
Constant Field Valuesprotected boolean promptOnDelFromDiagram
Prompt On Del From Diagram' attribute.
isPromptOnDelFromDiagram()protected static final boolean ENABLE_ANIMATED_LAYOUT_EDEFAULT
Enable Animated Layout' attribute.
isEnableAnimatedLayout(),
Constant Field Valuesprotected boolean enableAnimatedLayout
Enable Animated Layout' attribute.
isEnableAnimatedLayout()protected static final boolean ENABLE_ANIMATED_ZOOM_EDEFAULT
Enable Animated Zoom' attribute.
isEnableAnimatedZoom(),
Constant Field Valuesprotected boolean enableAnimatedZoom
Enable Animated Zoom' attribute.
isEnableAnimatedZoom()protected static final boolean ENABLE_ANTI_ALIAS_EDEFAULT
Enable Anti Alias' attribute.
isEnableAntiAlias(),
Constant Field Valuesprotected boolean enableAntiAlias
Enable Anti Alias' attribute.
isEnableAntiAlias()protected static final boolean SHOW_GRID_EDEFAULT
Show Grid' attribute.
isShowGrid(),
Constant Field Valuesprotected boolean showGrid
Show Grid' attribute.
isShowGrid()protected static final boolean SHOW_RULERS_EDEFAULT
Show Rulers' attribute.
isShowRulers(),
Constant Field Valuesprotected boolean showRulers
Show Rulers' attribute.
isShowRulers()protected static final boolean SNAP_TO_GRID_EDEFAULT
Snap To Grid' attribute.
isSnapToGrid(),
Constant Field Valuesprotected boolean snapToGrid
Snap To Grid' attribute.
isSnapToGrid()protected static final RulerUnits RULER_UNITS_EDEFAULT
Ruler Units' attribute.
getRulerUnits()protected RulerUnits rulerUnits
Ruler Units' attribute.
getRulerUnits()protected static final double GRID_SPACING_EDEFAULT
Grid Spacing' attribute.
getGridSpacing(),
Constant Field Valuesprotected double gridSpacing
Grid Spacing' attribute.
getGridSpacing()| Constructor Detail |
|---|
protected GenDiagramPreferencesImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic Routing getLineStyle()
getLineStyle in interface GenDiagramPreferencesRouting,
GenDiagramPreferences.setLineStyle(Routing),
GMFGenPackage.getGenDiagramPreferences_LineStyle()public void setLineStyle(Routing newLineStyle)
setLineStyle in interface GenDiagramPreferencesnewLineStyle - the new value of the 'Line Style' attribute.Routing,
GenDiagramPreferences.getLineStyle()public GenFont getDefaultFont()
getDefaultFont in interface GenDiagramPreferencesGenDiagramPreferences.setDefaultFont(GenFont),
GMFGenPackage.getGenDiagramPreferences_DefaultFont()
public NotificationChain basicSetDefaultFont(GenFont newDefaultFont,
NotificationChain msgs)
public void setDefaultFont(GenFont newDefaultFont)
setDefaultFont in interface GenDiagramPreferencesnewDefaultFont - the new value of the 'Default Font' containment reference.GenDiagramPreferences.getDefaultFont()public GenColor getFontColor()
getFontColor in interface GenDiagramPreferencesGenDiagramPreferences.setFontColor(GenColor),
GMFGenPackage.getGenDiagramPreferences_FontColor()
public NotificationChain basicSetFontColor(GenColor newFontColor,
NotificationChain msgs)
public void setFontColor(GenColor newFontColor)
setFontColor in interface GenDiagramPreferencesnewFontColor - the new value of the 'Font Color' containment reference.GenDiagramPreferences.getFontColor()public GenColor getFillColor()
getFillColor in interface GenDiagramPreferencesGenDiagramPreferences.setFillColor(GenColor),
GMFGenPackage.getGenDiagramPreferences_FillColor()
public NotificationChain basicSetFillColor(GenColor newFillColor,
NotificationChain msgs)
public void setFillColor(GenColor newFillColor)
setFillColor in interface GenDiagramPreferencesnewFillColor - the new value of the 'Fill Color' containment reference.GenDiagramPreferences.getFillColor()public GenColor getLineColor()
getLineColor in interface GenDiagramPreferencesGenDiagramPreferences.setLineColor(GenColor),
GMFGenPackage.getGenDiagramPreferences_LineColor()
public NotificationChain basicSetLineColor(GenColor newLineColor,
NotificationChain msgs)
public void setLineColor(GenColor newLineColor)
setLineColor in interface GenDiagramPreferencesnewLineColor - the new value of the 'Line Color' containment reference.GenDiagramPreferences.getLineColor()public GenColor getNoteFillColor()
getNoteFillColor in interface GenDiagramPreferencesGenDiagramPreferences.setNoteFillColor(GenColor),
GMFGenPackage.getGenDiagramPreferences_NoteFillColor()
public NotificationChain basicSetNoteFillColor(GenColor newNoteFillColor,
NotificationChain msgs)
public void setNoteFillColor(GenColor newNoteFillColor)
setNoteFillColor in interface GenDiagramPreferencesnewNoteFillColor - the new value of the 'Note Fill Color' containment reference.GenDiagramPreferences.getNoteFillColor()public GenColor getNoteLineColor()
getNoteLineColor in interface GenDiagramPreferencesGenDiagramPreferences.setNoteLineColor(GenColor),
GMFGenPackage.getGenDiagramPreferences_NoteLineColor()
public NotificationChain basicSetNoteLineColor(GenColor newNoteLineColor,
NotificationChain msgs)
public void setNoteLineColor(GenColor newNoteLineColor)
setNoteLineColor in interface GenDiagramPreferencesnewNoteLineColor - the new value of the 'Note Line Color' containment reference.GenDiagramPreferences.getNoteLineColor()public boolean isShowConnectionHandles()
isShowConnectionHandles in interface GenDiagramPreferencesGenDiagramPreferences.setShowConnectionHandles(boolean),
GMFGenPackage.getGenDiagramPreferences_ShowConnectionHandles()public void setShowConnectionHandles(boolean newShowConnectionHandles)
setShowConnectionHandles in interface GenDiagramPreferencesnewShowConnectionHandles - the new value of the 'Show Connection Handles' attribute.GenDiagramPreferences.isShowConnectionHandles()public boolean isShowPopupBars()
isShowPopupBars in interface GenDiagramPreferencesGenDiagramPreferences.setShowPopupBars(boolean),
GMFGenPackage.getGenDiagramPreferences_ShowPopupBars()public void setShowPopupBars(boolean newShowPopupBars)
setShowPopupBars in interface GenDiagramPreferencesnewShowPopupBars - the new value of the 'Show Popup Bars' attribute.GenDiagramPreferences.isShowPopupBars()public boolean isPromptOnDelFromModel()
isPromptOnDelFromModel in interface GenDiagramPreferencesGenDiagramPreferences.setPromptOnDelFromModel(boolean),
GMFGenPackage.getGenDiagramPreferences_PromptOnDelFromModel()public void setPromptOnDelFromModel(boolean newPromptOnDelFromModel)
setPromptOnDelFromModel in interface GenDiagramPreferencesnewPromptOnDelFromModel - the new value of the 'Prompt On Del From Model' attribute.GenDiagramPreferences.isPromptOnDelFromModel()public boolean isPromptOnDelFromDiagram()
isPromptOnDelFromDiagram in interface GenDiagramPreferencesGenDiagramPreferences.setPromptOnDelFromDiagram(boolean),
GMFGenPackage.getGenDiagramPreferences_PromptOnDelFromDiagram()public void setPromptOnDelFromDiagram(boolean newPromptOnDelFromDiagram)
setPromptOnDelFromDiagram in interface GenDiagramPreferencesnewPromptOnDelFromDiagram - the new value of the 'Prompt On Del From Diagram' attribute.GenDiagramPreferences.isPromptOnDelFromDiagram()public boolean isEnableAnimatedLayout()
isEnableAnimatedLayout in interface GenDiagramPreferencesGenDiagramPreferences.setEnableAnimatedLayout(boolean),
GMFGenPackage.getGenDiagramPreferences_EnableAnimatedLayout()public void setEnableAnimatedLayout(boolean newEnableAnimatedLayout)
setEnableAnimatedLayout in interface GenDiagramPreferencesnewEnableAnimatedLayout - the new value of the 'Enable Animated Layout' attribute.GenDiagramPreferences.isEnableAnimatedLayout()public boolean isEnableAnimatedZoom()
isEnableAnimatedZoom in interface GenDiagramPreferencesGenDiagramPreferences.setEnableAnimatedZoom(boolean),
GMFGenPackage.getGenDiagramPreferences_EnableAnimatedZoom()public void setEnableAnimatedZoom(boolean newEnableAnimatedZoom)
setEnableAnimatedZoom in interface GenDiagramPreferencesnewEnableAnimatedZoom - the new value of the 'Enable Animated Zoom' attribute.GenDiagramPreferences.isEnableAnimatedZoom()public boolean isEnableAntiAlias()
isEnableAntiAlias in interface GenDiagramPreferencesGenDiagramPreferences.setEnableAntiAlias(boolean),
GMFGenPackage.getGenDiagramPreferences_EnableAntiAlias()public void setEnableAntiAlias(boolean newEnableAntiAlias)
setEnableAntiAlias in interface GenDiagramPreferencesnewEnableAntiAlias - the new value of the 'Enable Anti Alias' attribute.GenDiagramPreferences.isEnableAntiAlias()public boolean isShowGrid()
isShowGrid in interface GenDiagramPreferencesGenDiagramPreferences.setShowGrid(boolean),
GMFGenPackage.getGenDiagramPreferences_ShowGrid()public void setShowGrid(boolean newShowGrid)
setShowGrid in interface GenDiagramPreferencesnewShowGrid - the new value of the 'Show Grid' attribute.GenDiagramPreferences.isShowGrid()public boolean isShowRulers()
isShowRulers in interface GenDiagramPreferencesGenDiagramPreferences.setShowRulers(boolean),
GMFGenPackage.getGenDiagramPreferences_ShowRulers()public void setShowRulers(boolean newShowRulers)
setShowRulers in interface GenDiagramPreferencesnewShowRulers - the new value of the 'Show Rulers' attribute.GenDiagramPreferences.isShowRulers()public boolean isSnapToGrid()
isSnapToGrid in interface GenDiagramPreferencesGenDiagramPreferences.setSnapToGrid(boolean),
GMFGenPackage.getGenDiagramPreferences_SnapToGrid()public void setSnapToGrid(boolean newSnapToGrid)
setSnapToGrid in interface GenDiagramPreferencesnewSnapToGrid - the new value of the 'Snap To Grid' attribute.GenDiagramPreferences.isSnapToGrid()public RulerUnits getRulerUnits()
getRulerUnits in interface GenDiagramPreferencesRulerUnits,
GenDiagramPreferences.setRulerUnits(RulerUnits),
GMFGenPackage.getGenDiagramPreferences_RulerUnits()public void setRulerUnits(RulerUnits newRulerUnits)
setRulerUnits in interface GenDiagramPreferencesnewRulerUnits - the new value of the 'Ruler Units' attribute.RulerUnits,
GenDiagramPreferences.getRulerUnits()public double getGridSpacing()
getGridSpacing in interface GenDiagramPreferencesGenDiagramPreferences.setGridSpacing(double),
GMFGenPackage.getGenDiagramPreferences_GridSpacing()public void setGridSpacing(double newGridSpacing)
setGridSpacing in interface GenDiagramPreferencesnewGridSpacing - the new value of the 'Grid Spacing' attribute.GenDiagramPreferences.getGridSpacing()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplpublic java.lang.String toString()
toString in class BasicEObjectImpl
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.