|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl
de.cau.cs.kieler.core.kgraph.impl.KGraphDataImpl
de.cau.cs.kieler.kiml.klayoutdata.impl.KShapeLayoutImpl
public class KShapeLayoutImpl
An implementation of the model object 'KShape Layout'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected float |
height
The cached value of the ' Height ' attribute. |
protected static float |
HEIGHT_EDEFAULT
The default value of the ' Height ' attribute. |
protected KInsets |
insets
The cached value of the ' Insets ' containment reference. |
protected float |
width
The cached value of the ' Width ' attribute. |
protected static float |
WIDTH_EDEFAULT
The default value of the ' Width ' attribute. |
protected float |
xpos
The cached value of the ' Xpos ' attribute. |
protected static float |
XPOS_EDEFAULT
The default value of the ' Xpos ' attribute. |
protected float |
ypos
The cached value of the ' Ypos ' attribute. |
protected static float |
YPOS_EDEFAULT
The default value of the ' Ypos ' attribute. |
Fields inherited from class de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl |
---|
persistentEntries, properties |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
KShapeLayoutImpl()
|
Method Summary | |
---|---|
void |
applyVector(KVector pos)
Set the position of this shape layout by applying the given vector. |
NotificationChain |
basicSetInsets(KInsets newInsets,
NotificationChain msgs)
|
KVector |
createVector()
Create a vector from the position of this shape layout. |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
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)
|
float |
getHeight()
|
KInsets |
getInsets()
|
float |
getWidth()
|
float |
getXpos()
|
float |
getYpos()
|
void |
setHeight(float newHeight)
|
void |
setInsets(KInsets newInsets)
|
void |
setPos(float newXpos,
float newYpos)
Set the position of this shape layout. |
void |
setSize(float newWidth,
float newHeight)
Set the size of this shape layout. |
void |
setWidth(float newWidth)
|
void |
setXpos(float newXpos)
|
void |
setYpos(float newYpos)
|
String |
toString()
|
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl |
---|
copyProperties, getAllProperties, getPersistentEntries, getProperties, getProperty, makePersistent, setProperty |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.core.kgraph.EMapPropertyHolder |
---|
getPersistentEntries, getProperties, makePersistent |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface de.cau.cs.kieler.core.properties.IPropertyHolder |
---|
copyProperties, getAllProperties, getProperty, setProperty |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final float XPOS_EDEFAULT
Xpos
' attribute.
getXpos()
,
Constant Field Valuesprotected float xpos
Xpos
' attribute.
getXpos()
protected static final float YPOS_EDEFAULT
Ypos
' attribute.
getYpos()
,
Constant Field Valuesprotected float ypos
Ypos
' attribute.
getYpos()
protected static final float WIDTH_EDEFAULT
Width
' attribute.
getWidth()
,
Constant Field Valuesprotected float width
Width
' attribute.
getWidth()
protected static final float HEIGHT_EDEFAULT
Height
' attribute.
getHeight()
,
Constant Field Valuesprotected float height
Height
' attribute.
getHeight()
protected KInsets insets
Insets
' containment reference.
getInsets()
Constructor Detail |
---|
protected KShapeLayoutImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class KGraphDataImpl
public float getXpos()
getXpos
in interface KShapeLayout
KShapeLayout.setXpos(float)
,
KLayoutDataPackage.getKShapeLayout_Xpos()
public void setXpos(float newXpos)
setXpos
in interface KShapeLayout
newXpos
- the new value of the 'Xpos' attribute.KShapeLayout.getXpos()
public float getYpos()
getYpos
in interface KShapeLayout
KShapeLayout.setYpos(float)
,
KLayoutDataPackage.getKShapeLayout_Ypos()
public void setYpos(float newYpos)
setYpos
in interface KShapeLayout
newYpos
- the new value of the 'Ypos' attribute.KShapeLayout.getYpos()
public float getWidth()
getWidth
in interface KShapeLayout
KShapeLayout.setWidth(float)
,
KLayoutDataPackage.getKShapeLayout_Width()
public void setWidth(float newWidth)
setWidth
in interface KShapeLayout
newWidth
- the new value of the 'Width' attribute.KShapeLayout.getWidth()
public float getHeight()
getHeight
in interface KShapeLayout
KShapeLayout.setHeight(float)
,
KLayoutDataPackage.getKShapeLayout_Height()
public void setHeight(float newHeight)
setHeight
in interface KShapeLayout
newHeight
- the new value of the 'Height' attribute.KShapeLayout.getHeight()
public KInsets getInsets()
getInsets
in interface KShapeLayout
KShapeLayout.setInsets(KInsets)
,
KLayoutDataPackage.getKShapeLayout_Insets()
public NotificationChain basicSetInsets(KInsets newInsets, NotificationChain msgs)
public void setInsets(KInsets newInsets)
setInsets
in interface KShapeLayout
newInsets
- the new value of the 'Insets' containment reference.KShapeLayout.getInsets()
public void setPos(float newXpos, float newYpos)
setPos
in interface KShapeLayout
newXpos
- the new x coordinate valuenewYpos
- the new y coordinate value
public void applyVector(KVector pos)
applyVector
in interface KShapeLayout
pos
- the vector for the new position
public KVector createVector()
createVector
in interface KShapeLayout
public void setSize(float newWidth, float newHeight)
setSize
in interface KShapeLayout
newWidth
- the new widthnewHeight
- the new height
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class EMapPropertyHolderImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class EMapPropertyHolderImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class EMapPropertyHolderImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class EMapPropertyHolderImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class EMapPropertyHolderImpl
public String toString()
toString
in class BasicEObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |