|
||||||||||
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:
Styles
Grid Unit
Diagram Type Id
Connections
Name
Snap To Grid
Show Guides
Colors
Fonts
Pictogram Links
Vertical Grid Unit
Version
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 |
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 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
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 java.lang.String |
version
The cached value of the ' Version ' attribute. |
protected static java.lang.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,
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()
|
|
getFonts()
|
int |
getGridUnit()
|
java.lang.String |
getName()
|
|
getPictogramLinks()
|
|
getStyles()
|
java.lang.String |
getVersion()
|
int |
getVerticalGridUnit()
|
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)
|
void |
setVersion(java.lang.String newVersion)
|
void |
setVerticalGridUnit(int newVerticalGridUnit)
|
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()
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 java.lang.String VERSION_EDEFAULT
Version
' attribute.
getVersion()
,
Constant Field Valuesprotected java.lang.String version
Version
' attribute.
getVersion()
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()
public void setShowGuides(boolean newShowGuides)
publicgetColors()
getColors
in interface Diagram
PictogramsPackage.getDiagram_Colors()
publicgetFonts()
getFonts
in interface Diagram
PictogramsPackage.getDiagram_Fonts()
publicgetPictogramLinks()
getPictogramLinks
in interface Diagram
PictogramsPackage.getDiagram_PictogramLinks()
public int getVerticalGridUnit()
getVerticalGridUnit
in interface Diagram
Diagram.setVerticalGridUnit(int)
,
PictogramsPackage.getDiagram_VerticalGridUnit()
public void setVerticalGridUnit(int newVerticalGridUnit)
setVerticalGridUnit
in interface Diagram
newVerticalGridUnit
- the new value of the 'Vertical Grid Unit' attribute.Diagram.getVerticalGridUnit()
public java.lang.String getVersion()
getVersion
in interface Diagram
PictogramsPackage.getDiagram_Version()
public void setVersion(java.lang.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 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 |