|
||||||||||
| 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:
StylesGrid UnitDiagram Type IdConnectionsNameSnap To GridShow GuidesColorsFontsPictogram LinksVertical Grid UnitVersion
| 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 String |
DIAGRAM_TYPE_ID_EDEFAULT
The default value of the ' Diagram Type Id' attribute. |
protected String |
diagramTypeId
The cached value of the ' Diagram Type Id' attribute. |
protected |
fonts
The cached value of the ' Fonts' containment reference list. |
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 String |
name
The cached value of the ' Name' attribute. |
protected static 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
Deprecated. This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more). It is never evaluated, instead the Graphiti framework queries the tool behaviour provider if guides shall be shown in a diagram editor. |
protected boolean |
showGuides
Deprecated. This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more). It is never evaluated, instead the Graphiti framework queries the tool behaviour provider if guides shall be shown in a diagram editor. |
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. |
protected String |
version
The cached value of the ' Version' attribute. |
protected static String |
VERSION_EDEFAULT
The default value of the ' Version' attribute. |
protected static int |
VERTICAL_GRID_UNIT_EDEFAULT
The default value of the ' Vertical Grid Unit' attribute. |
protected int |
verticalGridUnit
The cached value of the ' Vertical Grid Unit' attribute. |
| 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,
Class<?> baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
|
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,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
|
getColors()
|
|
getConnections()
|
String |
getDiagramTypeId()
|
|
getFonts()
|
int |
getGridUnit()
|
String |
getName()
|
|
getPictogramLinks()
|
|
getStyles()
|
String |
getVersion()
|
int |
getVerticalGridUnit()
|
boolean |
isShowGuides()
|
boolean |
isSnapToGrid()
|
void |
setDiagramTypeId(String newDiagramTypeId)
|
void |
setGridUnit(int newGridUnit)
|
void |
setName(String newName)
|
void |
setShowGuides(boolean newShowGuides)
|
void |
setSnapToGrid(boolean newSnapToGrid)
|
void |
setVersion(String newVersion)
|
void |
setVerticalGridUnit(int newVerticalGridUnit)
|
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 String DIAGRAM_TYPE_ID_EDEFAULT
Diagram Type Id' attribute.
getDiagramTypeId()protected String diagramTypeId
Diagram Type Id' attribute.
getDiagramTypeId()protectedconnections
Connections' containment reference list.
getConnections()protected static final String NAME_EDEFAULT
Name' attribute.
getName()protected 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()protectedfonts
Fonts' containment reference list.
getFonts()protectedpictogramLinks
Pictogram Links' reference list.
getPictogramLinks()protected static final int VERTICAL_GRID_UNIT_EDEFAULT
Vertical Grid Unit' attribute.
getVerticalGridUnit(),
Constant Field Valuesprotected int verticalGridUnit
Vertical Grid Unit' attribute.
getVerticalGridUnit()protected static final String VERSION_EDEFAULT
Version' attribute.
getVersion(),
Constant Field Valuesprotected String version
Version' attribute.
getVersion()| Constructor Detail |
|---|
protected DiagramImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class ContainerShapeImplpublicgetStyles()
getStyles in interface StyleContainerMmPackage.getStyleContainer_Styles(),
Style.getStyleContainer()public int getGridUnit()
getGridUnit in interface DiagramDiagram.setGridUnit(int),
PictogramsPackage.getDiagram_GridUnit()public void setGridUnit(int newGridUnit)
setGridUnit in interface DiagramnewGridUnit - the new value of the 'Grid Unit' attribute.Diagram.getGridUnit()public String getDiagramTypeId()
getDiagramTypeId in interface DiagramDiagram.setDiagramTypeId(String),
PictogramsPackage.getDiagram_DiagramTypeId()public void setDiagramTypeId(String newDiagramTypeId)
setDiagramTypeId in interface DiagramnewDiagramTypeId - the new value of the 'Diagram Type Id' attribute.Diagram.getDiagramTypeId()publicgetConnections()
getConnections in interface DiagramPictogramsPackage.getDiagram_Connections(),
Connection.getParent()public String getName()
getName in interface DiagramDiagram.setName(String),
PictogramsPackage.getDiagram_Name()public void setName(String newName)
setName in interface DiagramnewName - the new value of the 'Name' attribute.Diagram.getName()public boolean isSnapToGrid()
isSnapToGrid in interface DiagramDiagram.setSnapToGrid(boolean),
PictogramsPackage.getDiagram_SnapToGrid()public void setSnapToGrid(boolean newSnapToGrid)
setSnapToGrid in interface DiagramnewSnapToGrid - the new value of the 'Snap To Grid' attribute.Diagram.isSnapToGrid()public boolean isShowGuides()
public void setShowGuides(boolean newShowGuides)
publicgetColors()
getColors in interface DiagramPictogramsPackage.getDiagram_Colors()publicgetFonts()
getFonts in interface DiagramPictogramsPackage.getDiagram_Fonts()publicgetPictogramLinks()
getPictogramLinks in interface DiagramPictogramsPackage.getDiagram_PictogramLinks()public int getVerticalGridUnit()
getVerticalGridUnit in interface DiagramDiagram.setVerticalGridUnit(int),
PictogramsPackage.getDiagram_VerticalGridUnit()public void setVerticalGridUnit(int newVerticalGridUnit)
setVerticalGridUnit in interface DiagramnewVerticalGridUnit - the new value of the 'Vertical Grid Unit' attribute.Diagram.getVerticalGridUnit()public String getVersion()
getVersion in interface DiagramPictogramsPackage.getDiagram_Version()public void setVersion(String newVersion)
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 Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class ContainerShapeImpl
public void eSet(int featureID,
Object newValue)
eSet in class ContainerShapeImplpublic void eUnset(int featureID)
eUnset in class ContainerShapeImplpublic boolean eIsSet(int featureID)
eIsSet in class ContainerShapeImpl
public int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
public String toString()
toString in class PictogramElementImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||