org.eclipse.graphiti.mm.algorithms.styles.impl
Class GradientColoredLocationImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.algorithms.styles.impl.GradientColoredLocationImpl
All Implemented Interfaces:
GradientColoredLocation

public class GradientColoredLocationImpl
extends EObjectImpl
implements GradientColoredLocation

An implementation of the model object 'Gradient Colored Location'.

The following features are implemented:


Field Summary
protected  Color color
          The cached value of the 'Color' containment reference.
protected static LocationType LOCATION_TYPE_EDEFAULT
          The default value of the 'Location Type' attribute.
protected static java.lang.Integer LOCATION_VALUE_EDEFAULT
          The default value of the 'Location Value' attribute.
protected  LocationType locationType
          The cached value of the 'Location Type' attribute.
protected  java.lang.Integer locationValue
          The cached value of the 'Location Value' attribute.
 
Constructor Summary
protected GradientColoredLocationImpl()
           
 
Method Summary
 Color basicGetColor()
           
 NotificationChain basicSetColor(Color newColor, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Color getColor()
           
 LocationType getLocationType()
           
 java.lang.Integer getLocationValue()
           
 void setColor(Color newColor)
           
 void setLocationType(LocationType newLocationType)
           
 void setLocationValue(java.lang.Integer newLocationValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCATION_TYPE_EDEFAULT

protected static final LocationType LOCATION_TYPE_EDEFAULT
The default value of the 'Location Type' attribute.

See Also:
getLocationType()

locationType

protected LocationType locationType
The cached value of the 'Location Type' attribute.

See Also:
getLocationType()

LOCATION_VALUE_EDEFAULT

protected static final java.lang.Integer LOCATION_VALUE_EDEFAULT
The default value of the 'Location Value' attribute.

See Also:
getLocationValue()

locationValue

protected java.lang.Integer locationValue
The cached value of the 'Location Value' attribute.

See Also:
getLocationValue()

color

protected Color color
The cached value of the 'Color' containment reference.

See Also:
getColor()
Constructor Detail

GradientColoredLocationImpl

protected GradientColoredLocationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getLocationType

public LocationType getLocationType()

Specified by:
getLocationType in interface GradientColoredLocation
Returns:
the value of the 'Location Type' attribute.
See Also:
LocationType, GradientColoredLocation.setLocationType(LocationType), StylesPackage.getGradientColoredLocation_LocationType()

setLocationType

public void setLocationType(LocationType newLocationType)

Specified by:
setLocationType in interface GradientColoredLocation
Parameters:
newLocationType - the new value of the 'Location Type' attribute.
See Also:
LocationType, GradientColoredLocation.getLocationType()

getLocationValue

public java.lang.Integer getLocationValue()

Specified by:
getLocationValue in interface GradientColoredLocation
Returns:
the value of the 'Location Value' attribute.
See Also:
GradientColoredLocation.setLocationValue(Integer), StylesPackage.getGradientColoredLocation_LocationValue()

setLocationValue

public void setLocationValue(java.lang.Integer newLocationValue)

Specified by:
setLocationValue in interface GradientColoredLocation
Parameters:
newLocationValue - the new value of the 'Location Value' attribute.
See Also:
GradientColoredLocation.getLocationValue()

getColor

public Color getColor()

Specified by:
getColor in interface GradientColoredLocation
Returns:
the value of the 'Color' containment reference.
See Also:
GradientColoredLocation.setColor(Color), StylesPackage.getGradientColoredLocation_Color()

basicGetColor

public Color basicGetColor()


basicSetColor

public NotificationChain basicSetColor(Color newColor,
                                       NotificationChain msgs)


setColor

public void setColor(Color newColor)

Specified by:
setColor in interface GradientColoredLocation
Parameters:
newColor - the new value of the 'Color' containment reference.
See Also:
GradientColoredLocation.getColor()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)


eSet

public void eSet(int featureID,
                 java.lang.Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public java.lang.String toString()



Copyright (c) SAP AG 2005, 2012.