public class ShapeImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements Shape
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
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
Modifier and Type | Method and Description |
---|---|
void |
addNode(INode child) |
void |
addNodes(org.eclipse.emf.common.util.EList<INode> children)
Allows for multiple nodes to be added simultaneously, maintaining the parent reference for each new node.
|
Vertex |
basicGetCenter() |
INode |
basicGetParent() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetMaterial(Material newMaterial,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
changeDecoratorProperty(java.lang.String property,
java.lang.Object value) |
java.lang.Object |
clone() |
void |
copy(java.lang.Object source) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eNotify(org.eclipse.emf.common.notify.Notification notification) |
boolean |
equals(java.lang.Object otherObject) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
Vertex |
getCenter() |
long |
getId() |
Material |
getMaterial() |
java.lang.String |
getName() |
org.eclipse.emf.common.util.EList<INode> |
getNodes() |
INode |
getParent() |
double |
getProperty(java.lang.String property) |
org.eclipse.emf.common.util.EList<java.lang.String> |
getPropertyNames() |
org.eclipse.emf.common.util.EList<Triangle> |
getTriangles() |
java.lang.String |
getType() |
int |
hashCode() |
void |
removeNode(INode child) |
void |
setCenter(Vertex newCenter) |
void |
setId(long newId) |
void |
setMaterial(Material newMaterial) |
void |
setName(java.lang.String newName) |
void |
setParent(INode newParent) |
void |
setProperty(java.lang.String property,
double value) |
void |
setType(java.lang.String newType) |
java.lang.String |
toString() |
eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public java.lang.String getName()
getName
in interface INode
INode.setName(String)
,
GeometryPackage.getINode_Name()
public void setName(java.lang.String newName)
setName
in interface INode
newName
- the new value of the 'Name' attribute.INode.getName()
public long getId()
getId
in interface INode
INode.setId(long)
,
GeometryPackage.getINode_Id()
public void setId(long newId)
setId
in interface INode
newId
- the new value of the 'Id' attribute.INode.getId()
public org.eclipse.emf.common.util.EList<INode> getNodes()
getNodes
in interface INode
GeometryPackage.getINode_Nodes()
public void addNodes(org.eclipse.emf.common.util.EList<INode> children)
INode
public java.lang.String getType()
getType
in interface INode
INode.setType(String)
,
GeometryPackage.getINode_Type()
public void setType(java.lang.String newType)
setType
in interface INode
newType
- the new value of the 'Type' attribute.INode.getType()
public org.eclipse.emf.common.util.EList<Triangle> getTriangles()
getTriangles
in interface INode
GeometryPackage.getINode_Triangles()
public Vertex getCenter()
getCenter
in interface INode
INode.setCenter(Vertex)
,
GeometryPackage.getINode_Center()
public Vertex basicGetCenter()
public void setCenter(Vertex newCenter)
setCenter
in interface INode
newCenter
- the new value of the 'Center' reference.INode.getCenter()
public INode getParent()
getParent
in interface INode
INode.setParent(INode)
,
GeometryPackage.getINode_Parent()
public INode basicGetParent()
public void setParent(INode newParent)
setParent
in interface INode
newParent
- the new value of the 'Parent' reference.INode.getParent()
public Material getMaterial()
getMaterial
in interface Shape
Shape.setMaterial(Material)
,
GeometryPackage.getShape_Material()
public org.eclipse.emf.common.notify.NotificationChain basicSetMaterial(Material newMaterial, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setMaterial(Material newMaterial)
setMaterial
in interface Shape
newMaterial
- the new value of the 'Material' containment reference.Shape.getMaterial()
public void setProperty(java.lang.String property, double value)
setProperty
in interface INode
property
- The name of the property whose value is being set.value
- The property's new value.
public double getProperty(java.lang.String property)
getProperty
in interface INode
property
- The name of the property whose value is to be returned.
public org.eclipse.emf.common.util.EList<java.lang.String> getPropertyNames()
getPropertyNames
in interface INode
public void changeDecoratorProperty(java.lang.String property, java.lang.Object value)
changeDecoratorProperty
in interface INode
public void removeNode(INode child)
removeNode
in interface INode
public java.lang.Object clone()
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eNotify(org.eclipse.emf.common.notify.Notification notification)
eNotify
in interface org.eclipse.emf.common.notify.Notifier
eNotify
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl