public class DiagramImpl extends ContainerShapeImpl implements Diagram
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Modifier and Type | Method and Description |
---|---|
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) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<Color> |
getColors() |
org.eclipse.emf.common.util.EList<Connection> |
getConnections() |
java.lang.String |
getDiagramTypeId() |
org.eclipse.emf.common.util.EList<Font> |
getFonts() |
int |
getGridUnit() |
java.lang.String |
getName() |
org.eclipse.emf.common.util.EList<PictogramLink> |
getPictogramLinks() |
org.eclipse.emf.common.util.EList<Style> |
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() |
getChildren
basicGetContainer, basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, setContainer
getAnchors
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
getProperties
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren
getContainer, setContainer
getAnchors
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
getProperties
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public org.eclipse.emf.common.util.EList<Style> getStyles()
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()
public org.eclipse.emf.common.util.EList<Connection> getConnections()
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)
public org.eclipse.emf.common.util.EList<Color> getColors()
getColors
in interface Diagram
PictogramsPackage.getDiagram_Colors()
public org.eclipse.emf.common.util.EList<Font> getFonts()
getFonts
in interface Diagram
PictogramsPackage.getDiagram_Fonts()
public org.eclipse.emf.common.util.EList<PictogramLink> getPictogramLinks()
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 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class ContainerShapeImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ContainerShapeImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ContainerShapeImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ContainerShapeImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ContainerShapeImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ContainerShapeImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class PictogramElementImpl