|
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.gmfgraph.impl.ShapeImpl
An implementation of the model object 'Shape'.
The following features are implemented:
Layout DataLayoutParentReferencing ElementsNameChildrenForeground ColorBackground ColorMaximum SizeMinimum SizePreferred SizeFontInsetsBorderLocationSizeOutlineFillLine WidthLine KindXor FillXor OutlineResolved Children
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
| Field Summary | |
protected Color |
backgroundColor
The cached value of the ' Background Color' containment reference |
protected Border |
border
The cached value of the ' Border' containment reference |
protected EList |
children
The cached value of the ' Children' containment reference list |
protected boolean |
fill
The cached value of the ' Fill' attribute |
protected static boolean |
FILL_EDEFAULT
The default value of the ' Fill' attribute |
protected Font |
font
The cached value of the ' Font' containment reference |
protected Color |
foregroundColor
The cached value of the ' Foreground Color' containment reference |
protected Insets |
insets
The cached value of the ' Insets' containment reference |
protected Layout |
layout
The cached value of the ' Layout' containment reference |
protected LayoutData |
layoutData
The cached value of the ' Layout Data' containment reference |
protected static LineKind |
LINE_KIND_EDEFAULT
The default value of the ' Line Kind' attribute |
protected static int |
LINE_WIDTH_EDEFAULT
The default value of the ' Line Width' attribute |
protected LineKind |
lineKind
The cached value of the ' Line Kind' attribute |
protected int |
lineWidth
The cached value of the ' Line Width' attribute |
protected Point |
location
The cached value of the ' Location' containment reference |
protected Dimension |
maximumSize
The cached value of the ' Maximum Size' containment reference |
protected Dimension |
minimumSize
The cached value of the ' Minimum Size' containment reference |
protected java.lang.String |
name
The cached value of the ' Name' attribute |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the ' Name' attribute |
protected boolean |
outline
The cached value of the ' Outline' attribute |
protected static boolean |
OUTLINE_EDEFAULT
The default value of the ' Outline' attribute |
protected Dimension |
preferredSize
The cached value of the ' Preferred Size' containment reference |
protected EList |
referencingElements
The cached value of the ' Referencing Elements' reference list |
protected Point |
size
The cached value of the ' Size' containment reference |
protected static boolean |
XOR_FILL_EDEFAULT
The default value of the ' Xor Fill' attribute |
protected static boolean |
XOR_OUTLINE_EDEFAULT
The default value of the ' Xor Outline' attribute |
protected boolean |
xorFill
The cached value of the ' Xor Fill' attribute |
protected boolean |
xorOutline
The cached value of the ' Xor Outline' 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 |
ShapeImpl()
|
| 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 LayoutData layoutData
Layout Data' containment reference.
ShapeImpl.getLayoutData()protected Layout layout
Layout' containment reference.
ShapeImpl.getLayout()protected EList referencingElements
Referencing Elements' reference list.
ShapeImpl.getReferencingElements()protected static final java.lang.String NAME_EDEFAULT
Name' attribute.
ShapeImpl.getName()protected java.lang.String name
Name' attribute.
ShapeImpl.getName()protected EList children
Children' containment reference list.
ShapeImpl.getChildren()protected Color foregroundColor
Foreground Color' containment reference.
ShapeImpl.getForegroundColor()protected Color backgroundColor
Background Color' containment reference.
ShapeImpl.getBackgroundColor()protected Dimension maximumSize
Maximum Size' containment reference.
ShapeImpl.getMaximumSize()protected Dimension minimumSize
Minimum Size' containment reference.
ShapeImpl.getMinimumSize()protected Dimension preferredSize
Preferred Size' containment reference.
ShapeImpl.getPreferredSize()protected Font font
Font' containment reference.
ShapeImpl.getFont()protected Insets insets
Insets' containment reference.
ShapeImpl.getInsets()protected Border border
Border' containment reference.
ShapeImpl.getBorder()protected Point location
Location' containment reference.
ShapeImpl.getLocation()protected Point size
Size' containment reference.
ShapeImpl.getSize()protected static final boolean OUTLINE_EDEFAULT
Outline' attribute.
ShapeImpl.isOutline(),
Constant Field Valuesprotected boolean outline
Outline' attribute.
ShapeImpl.isOutline()protected static final boolean FILL_EDEFAULT
Fill' attribute.
ShapeImpl.isFill(),
Constant Field Valuesprotected boolean fill
Fill' attribute.
ShapeImpl.isFill()protected static final int LINE_WIDTH_EDEFAULT
Line Width' attribute.
ShapeImpl.getLineWidth(),
Constant Field Valuesprotected int lineWidth
Line Width' attribute.
ShapeImpl.getLineWidth()protected static final LineKind LINE_KIND_EDEFAULT
Line Kind' attribute.
ShapeImpl.getLineKind()protected LineKind lineKind
Line Kind' attribute.
ShapeImpl.getLineKind()protected static final boolean XOR_FILL_EDEFAULT
Xor Fill' attribute.
ShapeImpl.isXorFill(),
Constant Field Valuesprotected boolean xorFill
Xor Fill' attribute.
ShapeImpl.isXorFill()protected static final boolean XOR_OUTLINE_EDEFAULT
Xor Outline' attribute.
ShapeImpl.isXorOutline(),
Constant Field Valuesprotected boolean xorOutline
Xor Outline' attribute.
ShapeImpl.isXorOutline()| Constructor Detail |
protected ShapeImpl()
| Method Detail |
protected EClass eStaticClass()
public LayoutData getLayoutData()
getLayoutData in interface LayoutableLayoutable.setLayoutData(LayoutData),
GMFGraphPackage.getLayoutable_LayoutData(),
LayoutData.getOwner()
public NotificationChain basicSetLayoutData(LayoutData newLayoutData,
NotificationChain msgs)
public void setLayoutData(LayoutData newLayoutData)
setLayoutData in interface LayoutablenewLayoutData - the new value of the 'Layout Data' containment reference.Layoutable.getLayoutData()public Layout getLayout()
getLayout in interface LayoutableLayoutable.setLayout(Layout),
GMFGraphPackage.getLayoutable_Layout()
public NotificationChain basicSetLayout(Layout newLayout,
NotificationChain msgs)
public void setLayout(Layout newLayout)
setLayout in interface LayoutablenewLayout - the new value of the 'Layout' containment reference.Layoutable.getLayout()public java.lang.String getName()
getName in interface IdentityIdentity.setName(String),
GMFGraphPackage.getIdentity_Name()public void setName(java.lang.String newName)
setName in interface IdentitynewName - the new value of the 'Name' attribute.Identity.getName()public EList getChildren()
getChildren in interface FigureGMFGraphPackage.getFigure_Children(),
FigureMarker.getParent()public Figure getParent()
getParent in interface FigureMarkerGMFGraphPackage.getFigureMarker_Parent(),
Figure.getChildren()public Color getForegroundColor()
getForegroundColor in interface FigureFigure.setForegroundColor(Color),
GMFGraphPackage.getFigure_ForegroundColor()
public NotificationChain basicSetForegroundColor(Color newForegroundColor,
NotificationChain msgs)
public void setForegroundColor(Color newForegroundColor)
setForegroundColor in interface FigurenewForegroundColor - the new value of the 'Foreground Color' containment reference.Figure.getForegroundColor()public Color getBackgroundColor()
getBackgroundColor in interface FigureFigure.setBackgroundColor(Color),
GMFGraphPackage.getFigure_BackgroundColor()
public NotificationChain basicSetBackgroundColor(Color newBackgroundColor,
NotificationChain msgs)
public void setBackgroundColor(Color newBackgroundColor)
setBackgroundColor in interface FigurenewBackgroundColor - the new value of the 'Background Color' containment reference.Figure.getBackgroundColor()public Dimension getMaximumSize()
getMaximumSize in interface FigureFigure.setMaximumSize(Dimension),
GMFGraphPackage.getFigure_MaximumSize()
public NotificationChain basicSetMaximumSize(Dimension newMaximumSize,
NotificationChain msgs)
public void setMaximumSize(Dimension newMaximumSize)
setMaximumSize in interface FigurenewMaximumSize - the new value of the 'Maximum Size' containment reference.Figure.getMaximumSize()public Dimension getMinimumSize()
getMinimumSize in interface FigureFigure.setMinimumSize(Dimension),
GMFGraphPackage.getFigure_MinimumSize()
public NotificationChain basicSetMinimumSize(Dimension newMinimumSize,
NotificationChain msgs)
public void setMinimumSize(Dimension newMinimumSize)
setMinimumSize in interface FigurenewMinimumSize - the new value of the 'Minimum Size' containment reference.Figure.getMinimumSize()public Dimension getPreferredSize()
getPreferredSize in interface FigureFigure.setPreferredSize(Dimension),
GMFGraphPackage.getFigure_PreferredSize()
public NotificationChain basicSetPreferredSize(Dimension newPreferredSize,
NotificationChain msgs)
public void setPreferredSize(Dimension newPreferredSize)
setPreferredSize in interface FigurenewPreferredSize - the new value of the 'Preferred Size' containment reference.Figure.getPreferredSize()public Font getFont()
getFont in interface FigureFigure.setFont(Font),
GMFGraphPackage.getFigure_Font()
public NotificationChain basicSetFont(Font newFont,
NotificationChain msgs)
public void setFont(Font newFont)
setFont in interface FigurenewFont - the new value of the 'Font' containment reference.Figure.getFont()public Insets getInsets()
getInsets in interface FigureFigure.setInsets(Insets),
GMFGraphPackage.getFigure_Insets()
public NotificationChain basicSetInsets(Insets newInsets,
NotificationChain msgs)
public void setInsets(Insets newInsets)
setInsets in interface FigurenewInsets - the new value of the 'Insets' containment reference.Figure.getInsets()public Border getBorder()
getBorder in interface FigureFigure.setBorder(Border),
GMFGraphPackage.getFigure_Border()
public NotificationChain basicSetBorder(Border newBorder,
NotificationChain msgs)
public void setBorder(Border newBorder)
setBorder in interface FigurenewBorder - the new value of the 'Border' containment reference.Figure.getBorder()public Point getLocation()
getLocation in interface FigureFigure.setLocation(Point),
GMFGraphPackage.getFigure_Location()
public NotificationChain basicSetLocation(Point newLocation,
NotificationChain msgs)
public void setLocation(Point newLocation)
setLocation in interface FigurenewLocation - the new value of the 'Location' containment reference.Figure.getLocation()public Point getSize()
getSize in interface FigureFigure.setSize(Point),
GMFGraphPackage.getFigure_Size()
public NotificationChain basicSetSize(Point newSize,
NotificationChain msgs)
public void setSize(Point newSize)
setSize in interface FigurenewSize - the new value of the 'Size' containment reference.Figure.getSize()public EList getReferencingElements()
getReferencingElements in interface FigureHandleGMFGraphPackage.getFigureHandle_ReferencingElements(),
DiagramElement.getFigure()public EList getResolvedChildren()
getResolvedChildren in interface ShapeGMFGraphPackage.getShape_ResolvedChildren()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObject
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjectpublic void eUnset(int featureID)
eUnset in interface InternalEObjectpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjectpublic boolean isOutline()
isOutline in interface ShapeShape.setOutline(boolean),
GMFGraphPackage.getShape_Outline()public void setOutline(boolean newOutline)
setOutline in interface ShapenewOutline - the new value of the 'Outline' attribute.Shape.isOutline()public boolean isFill()
isFill in interface ShapeShape.setFill(boolean),
GMFGraphPackage.getShape_Fill()public void setFill(boolean newFill)
setFill in interface ShapenewFill - the new value of the 'Fill' attribute.Shape.isFill()public int getLineWidth()
getLineWidth in interface ShapeShape.setLineWidth(int),
GMFGraphPackage.getShape_LineWidth()public void setLineWidth(int newLineWidth)
setLineWidth in interface ShapenewLineWidth - the new value of the 'Line Width' attribute.Shape.getLineWidth()public LineKind getLineKind()
getLineKind in interface ShapeLineKind,
Shape.setLineKind(LineKind),
GMFGraphPackage.getShape_LineKind()public void setLineKind(LineKind newLineKind)
setLineKind in interface ShapenewLineKind - the new value of the 'Line Kind' attribute.LineKind,
Shape.getLineKind()public boolean isXorFill()
isXorFill in interface ShapeShape.setXorFill(boolean),
GMFGraphPackage.getShape_XorFill()public void setXorFill(boolean newXorFill)
setXorFill in interface ShapenewXorFill - the new value of the 'Xor Fill' attribute.Shape.isXorFill()public boolean isXorOutline()
isXorOutline in interface ShapeShape.setXorOutline(boolean),
GMFGraphPackage.getShape_XorOutline()public void setXorOutline(boolean newXorOutline)
setXorOutline in interface ShapenewXorOutline - the new value of the 'Xor Outline' attribute.Shape.isXorOutline()
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class baseClass)
eBaseStructuralFeatureID in interface InternalEObject
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class baseClass)
eDerivedStructuralFeatureID in interface InternalEObjectpublic java.lang.String toString()
|
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.