org.eclipse.graphiti.mm.algorithms.impl
Class ImageImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.impl.PropertyContainerImpl
          extended by org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
              extended by org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
                  extended by org.eclipse.graphiti.mm.algorithms.impl.ImageImpl
All Implemented Interfaces:
GraphicsAlgorithm, Image, AbstractStyle, GraphicsAlgorithmContainer, PropertyContainer

public class ImageImpl
extends GraphicsAlgorithmImpl
implements Image

An implementation of the model object 'Image'.

The following features are implemented:


Field Summary
protected  String id
          The cached value of the 'Id' attribute.
protected static String ID_EDEFAULT
          The default value of the 'Id' attribute.
protected  Boolean proportional
          The cached value of the 'Proportional' attribute.
protected static Boolean PROPORTIONAL_EDEFAULT
          The default value of the 'Proportional' attribute.
protected static Boolean STRETCH_H_EDEFAULT
          The default value of the 'Stretch H' attribute.
protected static Boolean STRETCH_V_EDEFAULT
          The default value of the 'Stretch V' attribute.
protected  Boolean stretchH
          The cached value of the 'Stretch H' attribute.
protected  Boolean stretchV
          The cached value of the 'Stretch V' attribute.
 
Fields inherited from class org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
background, filled, FILLED_EDEFAULT, foreground, graphicsAlgorithmChildren, height, HEIGHT_EDEFAULT, LINE_STYLE_EDEFAULT, LINE_VISIBLE_EDEFAULT, LINE_WIDTH_EDEFAULT, lineStyle, lineVisible, lineWidth, renderingStyle, style, transparency, TRANSPARENCY_EDEFAULT, width, WIDTH_EDEFAULT, x, X_EDEFAULT, y, Y_EDEFAULT
 
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
properties
 
Constructor Summary
protected ImageImpl()
           
 
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)
           
 String getId()
           
 Boolean getProportional()
           
 Boolean getStretchH()
           
 Boolean getStretchV()
           
 void setId(String newId)
           
 void setProportional(Boolean newProportional)
           
 void setStretchH(Boolean newStretchH)
           
 void setStretchV(Boolean newStretchV)
           
 String toString()
           
 
Methods inherited from class org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
basicGetBackground, basicGetForeground, basicGetParentGraphicsAlgorithm, basicGetPictogramElement, basicGetRenderingStyle, basicGetStyle, basicSetParentGraphicsAlgorithm, basicSetPictogramElement, basicSetRenderingStyle, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, getBackground, getFilled, getForeground, getGraphicsAlgorithmChildren, getHeight, getLineStyle, getLineVisible, getLineWidth, getParentGraphicsAlgorithm, getPictogramElement, getRenderingStyle, getStyle, getTransparency, getWidth, getX, getY, setBackground, setFilled, setForeground, setHeight, setLineStyle, setLineVisible, setLineWidth, setParentGraphicsAlgorithm, setPictogramElement, setRenderingStyle, setStyle, setTransparency, setWidth, setX, setY
 
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.algorithms.GraphicsAlgorithm
getGraphicsAlgorithmChildren, getHeight, getParentGraphicsAlgorithm, getPictogramElement, getStyle, getWidth, getX, getY, setHeight, setParentGraphicsAlgorithm, setPictogramElement, setStyle, setWidth, setX, setY
 
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getProperties
 
Methods inherited from interface org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle
getBackground, getFilled, getForeground, getLineStyle, getLineVisible, getLineWidth, getRenderingStyle, getTransparency, setBackground, setFilled, setForeground, setLineStyle, setLineVisible, setLineWidth, setRenderingStyle, setTransparency
 

Field Detail

ID_EDEFAULT

protected static final String ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId()

id

protected String id
The cached value of the 'Id' attribute.

See Also:
getId()

STRETCH_H_EDEFAULT

protected static final Boolean STRETCH_H_EDEFAULT
The default value of the 'Stretch H' attribute.

See Also:
getStretchH()

stretchH

protected Boolean stretchH
The cached value of the 'Stretch H' attribute.

See Also:
getStretchH()

STRETCH_V_EDEFAULT

protected static final Boolean STRETCH_V_EDEFAULT
The default value of the 'Stretch V' attribute.

See Also:
getStretchV()

stretchV

protected Boolean stretchV
The cached value of the 'Stretch V' attribute.

See Also:
getStretchV()

PROPORTIONAL_EDEFAULT

protected static final Boolean PROPORTIONAL_EDEFAULT
The default value of the 'Proportional' attribute.

See Also:
getProportional()

proportional

protected Boolean proportional
The cached value of the 'Proportional' attribute.

See Also:
getProportional()
Constructor Detail

ImageImpl

protected ImageImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GraphicsAlgorithmImpl

getId

public String getId()

Specified by:
getId in interface Image
Returns:
the value of the 'Id' attribute.
See Also:
Image.setId(String), AlgorithmsPackage.getImage_Id()

setId

public void setId(String newId)

Specified by:
setId in interface Image
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
Image.getId()

getStretchH

public Boolean getStretchH()

Specified by:
getStretchH in interface Image
Returns:
the value of the 'Stretch H' attribute.
See Also:
Image.setStretchH(Boolean), AlgorithmsPackage.getImage_StretchH()

setStretchH

public void setStretchH(Boolean newStretchH)

Specified by:
setStretchH in interface Image
Parameters:
newStretchH - the new value of the 'Stretch H' attribute.
See Also:
Image.getStretchH()

getStretchV

public Boolean getStretchV()

Specified by:
getStretchV in interface Image
Returns:
the value of the 'Stretch V' attribute.
See Also:
Image.setStretchV(Boolean), AlgorithmsPackage.getImage_StretchV()

setStretchV

public void setStretchV(Boolean newStretchV)

Specified by:
setStretchV in interface Image
Parameters:
newStretchV - the new value of the 'Stretch V' attribute.
See Also:
Image.getStretchV()

getProportional

public Boolean getProportional()

Specified by:
getProportional in interface Image
Returns:
the value of the 'Proportional' attribute.
See Also:
Image.setProportional(Boolean), AlgorithmsPackage.getImage_Proportional()

setProportional

public void setProportional(Boolean newProportional)

Specified by:
setProportional in interface Image
Parameters:
newProportional - the new value of the 'Proportional' attribute.
See Also:
Image.getProportional()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Overrides:
eGet in class GraphicsAlgorithmImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class GraphicsAlgorithmImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class GraphicsAlgorithmImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class GraphicsAlgorithmImpl

toString

public String toString()

Overrides:
toString in class GraphicsAlgorithmImpl


Copyright (c) SAP AG 2005, 2010.