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

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

public class TextStyleRegionImpl
extends EObjectImpl
implements TextStyleRegion

An implementation of the model object 'Text Style Region'.

The following features are implemented:


Field Summary
protected  int end
          The cached value of the 'End' attribute.
protected static int END_EDEFAULT
          The default value of the 'End' attribute.
protected  int start
          The cached value of the 'Start' attribute.
protected static int START_EDEFAULT
          The default value of the 'Start' attribute.
protected  TextStyle style
          The cached value of the 'Style' containment reference.
 
Constructor Summary
protected TextStyleRegionImpl()
           
 
Method Summary
 TextStyle basicGetStyle()
           
 NotificationChain basicSetStyle(TextStyle newStyle, NotificationChain msgs)
           
 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)
           
 int getEnd()
           
 int getStart()
           
 TextStyle getStyle()
           
 void setEnd(int newEnd)
           
 void setStart(int newStart)
           
 void setStyle(TextStyle newStyle)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_EDEFAULT

protected static final int START_EDEFAULT
The default value of the 'Start' attribute.

See Also:
getStart(), Constant Field Values

start

protected int start
The cached value of the 'Start' attribute.

See Also:
getStart()

END_EDEFAULT

protected static final int END_EDEFAULT
The default value of the 'End' attribute.

See Also:
getEnd(), Constant Field Values

end

protected int end
The cached value of the 'End' attribute.

See Also:
getEnd()

style

protected TextStyle style
The cached value of the 'Style' containment reference.

See Also:
getStyle()
Constructor Detail

TextStyleRegionImpl

protected TextStyleRegionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getStart

public int getStart()

Specified by:
getStart in interface TextStyleRegion
Returns:
the value of the 'Start' attribute.
See Also:
TextStyleRegion.setStart(int), StylesPackage.getTextStyleRegion_Start()

setStart

public void setStart(int newStart)

Specified by:
setStart in interface TextStyleRegion
Parameters:
newStart - the new value of the 'Start' attribute.
See Also:
TextStyleRegion.getStart()

getEnd

public int getEnd()

Specified by:
getEnd in interface TextStyleRegion
Returns:
the value of the 'End' attribute.
See Also:
TextStyleRegion.setEnd(int), StylesPackage.getTextStyleRegion_End()

setEnd

public void setEnd(int newEnd)

Specified by:
setEnd in interface TextStyleRegion
Parameters:
newEnd - the new value of the 'End' attribute.
See Also:
TextStyleRegion.getEnd()

getStyle

public TextStyle getStyle()

Specified by:
getStyle in interface TextStyleRegion
Returns:
the value of the 'Style' containment reference.
See Also:
TextStyleRegion.setStyle(TextStyle), StylesPackage.getTextStyleRegion_Style()

basicGetStyle

public TextStyle basicGetStyle()


basicSetStyle

public NotificationChain basicSetStyle(TextStyle newStyle,
                                       NotificationChain msgs)


setStyle

public void setStyle(TextStyle newStyle)

Specified by:
setStyle in interface TextStyleRegion
Parameters:
newStyle - the new value of the 'Style' containment reference.
See Also:
TextStyleRegion.getStyle()

eInverseRemove

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


eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()



Copyright (c) SAP AG 2005, 2012.