Generation Framework

org.eclipse.gmf.gmfgraph
Interface Shape

All Superinterfaces:
EObject, Figure, FigureHandle, FigureMarker, Identity, Layoutable, Notifier
All Known Subinterfaces:
Ellipse, Polygon, PolygonDecoration, Polyline, PolylineConnection, PolylineDecoration, Rectangle, RoundedRectangle
All Known Implementing Classes:
EllipseImpl, PolygonDecorationImpl, PolygonImpl, PolylineConnectionImpl, PolylineDecorationImpl, PolylineImpl, RectangleImpl, RoundedRectangleImpl, ShapeImpl

public interface Shape
extends Figure

A representation of the model object 'Shape'. org.eclipse.draw2d.Shape

The following features are supported:

See Also:
GMFGraphPackage.getShape()
** Generated **
Model:
abstract="true"

Method Summary
 LineKind getLineKind()
          Returns the value of the 'Line Kind' attribute.
 int getLineWidth()
          Returns the value of the 'Line Width' attribute.
 EList getResolvedChildren()
          Returns the value of the 'Resolved Children' reference list.
 boolean isFill()
          Returns the value of the 'Fill' attribute.
 boolean isOutline()
          Returns the value of the 'Outline' attribute.
 boolean isXorFill()
          Returns the value of the 'Xor Fill' attribute
 boolean isXorOutline()
          Returns the value of the 'Xor Outline' attribute
 void setFill(boolean value)
          Sets the value of the 'Fill' attribute
 void setLineKind(LineKind value)
          Sets the value of the 'Line Kind' attribute
 void setLineWidth(int value)
          Sets the value of the 'Line Width' attribute
 void setOutline(boolean value)
          Sets the value of the 'Outline' attribute
 void setXorFill(boolean value)
          Sets the value of the 'Xor Fill' attribute
 void setXorOutline(boolean value)
          Sets the value of the 'Xor Outline' attribute
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Figure
getBackgroundColor, getBorder, getChildren, getFont, getForegroundColor, getInsets, getLocation, getMaximumSize, getMinimumSize, getPreferredSize, getSize, setBackgroundColor, setBorder, setFont, setForegroundColor, setInsets, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.FigureMarker
getParent
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Layoutable
getLayout, getLayoutData, setLayout, setLayoutData
 
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.gmf.gmfgraph.FigureHandle
getReferencingElements
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Identity
getName, setName
 

Method Detail

isOutline

public boolean isOutline()
Returns the value of the 'Outline' attribute. The default value is "true".

If the meaning of the 'Outline' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Outline' attribute.
See Also:
Shape.setOutline(boolean), GMFGraphPackage.getShape_Outline()
** Generated **
Model:
default="true"

setOutline

public void setOutline(boolean value)
Sets the value of the 'Outline' attribute.

Parameters:
value - the new value of the 'Outline' attribute.
See Also:
Shape.isOutline()
** Generated **

isFill

public boolean isFill()
Returns the value of the 'Fill' attribute. The default value is "true".

If the meaning of the 'Fill' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Fill' attribute.
See Also:
Shape.setFill(boolean), GMFGraphPackage.getShape_Fill()
** Generated **
Model:
default="true"

setFill

public void setFill(boolean value)
Sets the value of the 'Fill' attribute.

Parameters:
value - the new value of the 'Fill' attribute.
See Also:
Shape.isFill()
** Generated **

getLineWidth

public int getLineWidth()
Returns the value of the 'Line Width' attribute. The default value is "1".

If the meaning of the 'Line Width' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Line Width' attribute.
See Also:
Shape.setLineWidth(int), GMFGraphPackage.getShape_LineWidth()
** Generated **
Model:
default="1"

setLineWidth

public void setLineWidth(int value)
Sets the value of the 'Line Width' attribute.

Parameters:
value - the new value of the 'Line Width' attribute.
See Also:
Shape.getLineWidth()
** Generated **

getLineKind

public LineKind getLineKind()
Returns the value of the 'Line Kind' attribute. The literals are from the enumeration LineKind.

If the meaning of the 'Line Kind' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Line Kind' attribute.
See Also:
LineKind, Shape.setLineKind(LineKind), GMFGraphPackage.getShape_LineKind()
** Generated **
Model:

setLineKind

public void setLineKind(LineKind value)
Sets the value of the 'Line Kind' attribute.

Parameters:
value - the new value of the 'Line Kind' attribute.
See Also:
LineKind, Shape.getLineKind()
** Generated **

isXorFill

public boolean isXorFill()
Returns the value of the 'Xor Fill' attribute.

If the meaning of the 'Xor Fill' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Xor Fill' attribute.
See Also:
Shape.setXorFill(boolean), GMFGraphPackage.getShape_XorFill()
** Generated **
Model:

setXorFill

public void setXorFill(boolean value)
Sets the value of the 'Xor Fill' attribute.

Parameters:
value - the new value of the 'Xor Fill' attribute.
See Also:
Shape.isXorFill()
** Generated **

isXorOutline

public boolean isXorOutline()
Returns the value of the 'Xor Outline' attribute.

If the meaning of the 'Xor Outline' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Xor Outline' attribute.
See Also:
Shape.setXorOutline(boolean), GMFGraphPackage.getShape_XorOutline()
** Generated **
Model:

setXorOutline

public void setXorOutline(boolean value)
Sets the value of the 'Xor Outline' attribute.

Parameters:
value - the new value of the 'Xor Outline' attribute.
See Also:
Shape.isXorOutline()
** Generated **

getResolvedChildren

public EList getResolvedChildren()
Returns the value of the 'Resolved Children' reference list. The list contents are of type Figure.

If the meaning of the 'Resolved Children' reference list isn't clear, there really should be more of a description here...

Same as children, but resolves child FigureRefs, if any, to Figures

Returns:
the value of the 'Resolved Children' reference list.
See Also:
GMFGraphPackage.getShape_ResolvedChildren()
** Generated **
Model:
type="org.eclipse.gmf.gmfgraph.Figure" transient="true" changeable="false" volatile="true" derived="true"

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.