|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.impl.PropertyContainerImpl
org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
org.eclipse.graphiti.mm.pictograms.impl.ShapeImpl
org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl
org.eclipse.graphiti.mm.pictograms.impl.DiagramImpl
public class DiagramImpl
An implementation of the model object 'Diagram'.
The following features are implemented:
Field Summary | |
---|---|
protected |
colors
The cached value of the ' Colors ' containment reference list. |
protected |
connections
The cached value of the ' Connections ' containment reference list. |
protected static java.lang.String |
DIAGRAM_TYPE_ID_EDEFAULT
The default value of the ' Diagram Type Id ' attribute. |
protected java.lang.String |
diagramTypeId
The cached value of the ' Diagram Type Id ' attribute. |
protected static int |
GRID_UNIT_EDEFAULT
The default value of the ' Grid Unit ' attribute. |
protected int |
gridUnit
The cached value of the ' Grid Unit ' attribute. |
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 |
pictogramLinks
The cached value of the ' Pictogram Links ' reference list. |
protected static boolean |
SHOW_GUIDES_EDEFAULT
The default value of the ' Show Guides ' attribute. |
protected boolean |
showGuides
The cached value of the ' Show Guides ' 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. |
protected |
styles
The cached value of the ' Styles ' containment reference list. |
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl |
---|
children |
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl |
---|
anchors |
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl |
---|
active, ACTIVE_EDEFAULT, graphicsAlgorithm, link, visible, VISIBLE_EDEFAULT |
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
properties |
Constructor Summary | |
---|---|
protected |
DiagramImpl()
|
Method Summary | |
---|---|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
|
getColors()
|
|
getConnections()
|
java.lang.String |
getDiagramTypeId()
|
int |
getGridUnit()
|
java.lang.String |
getName()
|
|
getPictogramLinks()
|
|
getStyles()
|
boolean |
isShowGuides()
|
boolean |
isSnapToGrid()
|
void |
setDiagramTypeId(java.lang.String newDiagramTypeId)
|
void |
setGridUnit(int newGridUnit)
|
void |
setName(java.lang.String newName)
|
void |
setShowGuides(boolean newShowGuides)
|
void |
setSnapToGrid(boolean newSnapToGrid)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl |
---|
getChildren |
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ShapeImpl |
---|
basicGetContainer, basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, setContainer |
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl |
---|
getAnchors |
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl |
---|
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible |
Methods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
getProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.ContainerShape |
---|
getChildren |
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.Shape |
---|
getContainer, setContainer |
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.AnchorContainer |
---|
getAnchors |
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.PictogramElement |
---|
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible |
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer |
---|
getProperties |
Field Detail |
---|
protectedstyles
Styles
' containment reference list.
getStyles()
protected static final int GRID_UNIT_EDEFAULT
Grid Unit
' attribute.
getGridUnit()
,
Constant Field Valuesprotected int gridUnit
Grid Unit
' attribute.
getGridUnit()
protected static final java.lang.String DIAGRAM_TYPE_ID_EDEFAULT
Diagram Type Id
' attribute.
getDiagramTypeId()
protected java.lang.String diagramTypeId
Diagram Type Id
' attribute.
getDiagramTypeId()
protectedconnections
Connections
' containment reference list.
getConnections()
protected static final java.lang.String NAME_EDEFAULT
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
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 boolean SHOW_GUIDES_EDEFAULT
Show Guides
' attribute.
isShowGuides()
,
Constant Field Valuesprotected boolean showGuides
Show Guides
' attribute.
isShowGuides()
protectedcolors
Colors
' containment reference list.
getColors()
protectedpictogramLinks
Pictogram Links
' reference list.
getPictogramLinks()
Constructor Detail |
---|
protected DiagramImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class ContainerShapeImpl
publicgetStyles()
getStyles
in interface StyleContainer
MmPackage.getStyleContainer_Styles()
,
Style.getStyleContainer()
public int getGridUnit()
getGridUnit
in interface Diagram
Diagram.setGridUnit(int)
,
PictogramsPackage.getDiagram_GridUnit()
public void setGridUnit(int newGridUnit)
setGridUnit
in interface Diagram
newGridUnit
- the new value of the 'Grid Unit' attribute.Diagram.getGridUnit()
public java.lang.String getDiagramTypeId()
getDiagramTypeId
in interface Diagram
Diagram.setDiagramTypeId(String)
,
PictogramsPackage.getDiagram_DiagramTypeId()
public void setDiagramTypeId(java.lang.String newDiagramTypeId)
setDiagramTypeId
in interface Diagram
newDiagramTypeId
- the new value of the 'Diagram Type Id' attribute.Diagram.getDiagramTypeId()
publicgetConnections()
getConnections
in interface Diagram
PictogramsPackage.getDiagram_Connections()
,
Connection.getParent()
public java.lang.String getName()
getName
in interface Diagram
Diagram.setName(String)
,
PictogramsPackage.getDiagram_Name()
public void setName(java.lang.String newName)
setName
in interface Diagram
newName
- the new value of the 'Name' attribute.Diagram.getName()
public boolean isSnapToGrid()
isSnapToGrid
in interface Diagram
Diagram.setSnapToGrid(boolean)
,
PictogramsPackage.getDiagram_SnapToGrid()
public void setSnapToGrid(boolean newSnapToGrid)
setSnapToGrid
in interface Diagram
newSnapToGrid
- the new value of the 'Snap To Grid' attribute.Diagram.isSnapToGrid()
public boolean isShowGuides()
isShowGuides
in interface Diagram
Diagram.setShowGuides(boolean)
,
PictogramsPackage.getDiagram_ShowGuides()
public void setShowGuides(boolean newShowGuides)
setShowGuides
in interface Diagram
newShowGuides
- the new value of the 'Show Guides' attribute.Diagram.isShowGuides()
publicgetColors()
getColors
in interface Diagram
PictogramsPackage.getDiagram_Colors()
publicgetPictogramLinks()
getPictogramLinks
in interface Diagram
PictogramsPackage.getDiagram_PictogramLinks()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ContainerShapeImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ContainerShapeImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class ContainerShapeImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in class ContainerShapeImpl
public void eUnset(int featureID)
eUnset
in class ContainerShapeImpl
public boolean eIsSet(int featureID)
eIsSet
in class ContainerShapeImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
public java.lang.String toString()
toString
in class PictogramElementImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |