|
||||||||||
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.AnchorImpl
org.eclipse.graphiti.mm.pictograms.impl.BoxRelativeAnchorImpl
public class BoxRelativeAnchorImpl
An implementation of the model object 'Box Relative Anchor'.
The following features are implemented:
Field Summary | |
---|---|
protected static double |
RELATIVE_HEIGHT_EDEFAULT
The default value of the ' Relative Height ' attribute. |
protected static double |
RELATIVE_WIDTH_EDEFAULT
The default value of the ' Relative Width ' attribute. |
protected double |
relativeHeight
The cached value of the ' Relative Height ' attribute. |
protected double |
relativeWidth
The cached value of the ' Relative Width ' attribute. |
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorImpl |
---|
incomingConnections, outgoingConnections, referencedGraphicsAlgorithm |
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 |
BoxRelativeAnchorImpl()
|
Method Summary | |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
double |
getRelativeHeight()
|
double |
getRelativeWidth()
|
void |
setRelativeHeight(double newRelativeHeight)
|
void |
setRelativeWidth(double newRelativeWidth)
|
String |
toString()
|
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorImpl |
---|
basicGetParent, basicGetReferencedGraphicsAlgorithm, basicSetParent, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getIncomingConnections, getOutgoingConnections, getParent, getReferencedGraphicsAlgorithm, setParent, setReferencedGraphicsAlgorithm |
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.Anchor |
---|
getIncomingConnections, getOutgoingConnections, getParent, getReferencedGraphicsAlgorithm, setParent, setReferencedGraphicsAlgorithm |
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 |
---|
protected static final double RELATIVE_WIDTH_EDEFAULT
Relative Width
' attribute.
getRelativeWidth()
,
Constant Field Valuesprotected double relativeWidth
Relative Width
' attribute.
getRelativeWidth()
protected static final double RELATIVE_HEIGHT_EDEFAULT
Relative Height
' attribute.
getRelativeHeight()
,
Constant Field Valuesprotected double relativeHeight
Relative Height
' attribute.
getRelativeHeight()
Constructor Detail |
---|
protected BoxRelativeAnchorImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class AnchorImpl
public double getRelativeWidth()
getRelativeWidth
in interface BoxRelativeAnchor
BoxRelativeAnchor.setRelativeWidth(double)
,
PictogramsPackage.getBoxRelativeAnchor_RelativeWidth()
public void setRelativeWidth(double newRelativeWidth)
setRelativeWidth
in interface BoxRelativeAnchor
newRelativeWidth
- the new value of the 'Relative Width' attribute.BoxRelativeAnchor.getRelativeWidth()
public double getRelativeHeight()
getRelativeHeight
in interface BoxRelativeAnchor
BoxRelativeAnchor.setRelativeHeight(double)
,
PictogramsPackage.getBoxRelativeAnchor_RelativeHeight()
public void setRelativeHeight(double newRelativeHeight)
setRelativeHeight
in interface BoxRelativeAnchor
newRelativeHeight
- the new value of the 'Relative Height' attribute.BoxRelativeAnchor.getRelativeHeight()
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class AnchorImpl
public void eSet(int featureID, Object newValue)
eSet
in class AnchorImpl
public void eUnset(int featureID)
eUnset
in class AnchorImpl
public boolean eIsSet(int featureID)
eIsSet
in class AnchorImpl
public String toString()
toString
in class PictogramElementImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |