|
||||||||||
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
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
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. |
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()
|
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 |
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()
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 String getDiagramTypeId()
getDiagramTypeId
in interface Diagram
Diagram.setDiagramTypeId(String)
,
PictogramsPackage.getDiagram_DiagramTypeId()
public void setDiagramTypeId(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 String getName()
getName
in interface Diagram
Diagram.setName(String)
,
PictogramsPackage.getDiagram_Name()
public void setName(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()
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 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 ContainerShapeImpl
public void eUnset(int featureID)
eUnset
in class ContainerShapeImpl
public 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 |