org.eclipse.birt.chart.model.component.impl
Class MarkerRangeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.birt.chart.model.component.impl.MarkerRangeImpl
All Implemented Interfaces:
MarkerRange, IChartObject, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
DialRegionImpl

public class MarkerRangeImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements MarkerRange

An implementation of the model object ' Marker Range'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetEndValue(DataElement newEndValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetStartValue(DataElement newStartValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 MarkerRange copyInstance()
           
static MarkerRange create(Axis ax, DataElement deStart, DataElement deEnd, Fill fillColor)
          A convenience method provided to add a marker range instance to an axis
static MarkerRange create(Axis ax, DataElement deStart, DataElement deEnd, Fill fillColor, ColorDefinition outlineColor)
          A convenience method provided to add a marker range instance to an axis
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 Cursor getCursor()
           
 DataElement getEndValue()
           
 Fill getFill()
           
 FormatSpecifier getFormatSpecifier()
           
 Label getLabel()
           
 Anchor getLabelAnchor()
           
 LineAttributes getOutline()
           
 DataElement getStartValue()
           
 org.eclipse.emf.common.util.EList<Trigger> getTriggers()
           
 boolean isSetLabelAnchor()
           
 void setCursor(Cursor newCursor)
           
 void setEndValue(DataElement newEndValue)
           
 void setFill(Fill newFill)
           
 void setFormatSpecifier(FormatSpecifier newFormatSpecifier)
           
 void setLabel(Label newLabel)
           
 void setLabelAnchor(Anchor newLabelAnchor)
           
 void setOutline(LineAttributes newOutline)
           
 void setStartValue(DataElement newStartValue)
           
 java.lang.String toString()
           
 void unsetLabelAnchor()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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 org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getOutline

public LineAttributes getOutline()

Specified by:
getOutline in interface MarkerRange
Returns:
the value of the 'Outline' containment reference.
See Also:
MarkerRange.setOutline(LineAttributes), ComponentPackage.getMarkerRange_Outline()

basicSetOutline

public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setOutline

public void setOutline(LineAttributes newOutline)

Specified by:
setOutline in interface MarkerRange
Parameters:
newOutline - the new value of the 'Outline' containment reference.
See Also:
MarkerRange.getOutline()

getFill

public Fill getFill()

Specified by:
getFill in interface MarkerRange
Returns:
the value of the 'Fill' containment reference.
See Also:
MarkerRange.setFill(Fill), ComponentPackage.getMarkerRange_Fill()

basicSetFill

public org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setFill

public void setFill(Fill newFill)

Specified by:
setFill in interface MarkerRange
Parameters:
newFill - the new value of the 'Fill' containment reference.
See Also:
MarkerRange.getFill()

getStartValue

public DataElement getStartValue()

Specified by:
getStartValue in interface MarkerRange
Returns:
the value of the 'Start Value' containment reference.
See Also:
MarkerRange.setStartValue(DataElement), ComponentPackage.getMarkerRange_StartValue()

basicSetStartValue

public org.eclipse.emf.common.notify.NotificationChain basicSetStartValue(DataElement newStartValue,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setStartValue

public void setStartValue(DataElement newStartValue)

Specified by:
setStartValue in interface MarkerRange
Parameters:
newStartValue - the new value of the 'Start Value' containment reference.
See Also:
MarkerRange.getStartValue()

getEndValue

public DataElement getEndValue()

Specified by:
getEndValue in interface MarkerRange
Returns:
the value of the 'End Value' containment reference.
See Also:
MarkerRange.setEndValue(DataElement), ComponentPackage.getMarkerRange_EndValue()

basicSetEndValue

public org.eclipse.emf.common.notify.NotificationChain basicSetEndValue(DataElement newEndValue,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setEndValue

public void setEndValue(DataElement newEndValue)

Specified by:
setEndValue in interface MarkerRange
Parameters:
newEndValue - the new value of the 'End Value' containment reference.
See Also:
MarkerRange.getEndValue()

getLabel

public Label getLabel()

Specified by:
getLabel in interface MarkerRange
Returns:
the value of the 'Label' containment reference.
See Also:
MarkerRange.setLabel(Label), ComponentPackage.getMarkerRange_Label()

basicSetLabel

public org.eclipse.emf.common.notify.NotificationChain basicSetLabel(Label newLabel,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setLabel

public void setLabel(Label newLabel)

Specified by:
setLabel in interface MarkerRange
Parameters:
newLabel - the new value of the 'Label' containment reference.
See Also:
MarkerRange.getLabel()

getLabelAnchor

public Anchor getLabelAnchor()

Specified by:
getLabelAnchor in interface MarkerRange
Returns:
the value of the 'Label Anchor' attribute.
See Also:
Anchor, MarkerRange.isSetLabelAnchor(), MarkerRange.unsetLabelAnchor(), MarkerRange.setLabelAnchor(Anchor), ComponentPackage.getMarkerRange_LabelAnchor()

setLabelAnchor

public void setLabelAnchor(Anchor newLabelAnchor)

Specified by:
setLabelAnchor in interface MarkerRange
Parameters:
newLabelAnchor - the new value of the 'Label Anchor' attribute.
See Also:
Anchor, MarkerRange.isSetLabelAnchor(), MarkerRange.unsetLabelAnchor(), MarkerRange.getLabelAnchor()

unsetLabelAnchor

public void unsetLabelAnchor()

Specified by:
unsetLabelAnchor in interface MarkerRange
See Also:
MarkerRange.isSetLabelAnchor(), MarkerRange.getLabelAnchor(), MarkerRange.setLabelAnchor(Anchor)

isSetLabelAnchor

public boolean isSetLabelAnchor()

Specified by:
isSetLabelAnchor in interface MarkerRange
Returns:
whether the value of the 'Label Anchor' attribute is set.
See Also:
MarkerRange.unsetLabelAnchor(), MarkerRange.getLabelAnchor(), MarkerRange.setLabelAnchor(Anchor)

getFormatSpecifier

public FormatSpecifier getFormatSpecifier()

Specified by:
getFormatSpecifier in interface MarkerRange
Returns:
the value of the 'Format Specifier' containment reference.
See Also:
MarkerRange.setFormatSpecifier(FormatSpecifier), ComponentPackage.getMarkerRange_FormatSpecifier()

basicSetFormatSpecifier

public org.eclipse.emf.common.notify.NotificationChain basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setFormatSpecifier

public void setFormatSpecifier(FormatSpecifier newFormatSpecifier)

Specified by:
setFormatSpecifier in interface MarkerRange
Parameters:
newFormatSpecifier - the new value of the 'Format Specifier' containment reference.
See Also:
MarkerRange.getFormatSpecifier()

getTriggers

public org.eclipse.emf.common.util.EList<Trigger> getTriggers()

Specified by:
getTriggers in interface MarkerRange
Returns:
the value of the 'Triggers' containment reference list.
See Also:
ComponentPackage.getMarkerRange_Triggers()

getCursor

public Cursor getCursor()

Specified by:
getCursor in interface MarkerRange
Returns:
the value of the 'Cursor' containment reference.
See Also:
MarkerRange.setCursor(Cursor), ComponentPackage.getMarkerRange_Cursor()

basicSetCursor

public org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setCursor

public void setCursor(Cursor newCursor)

Specified by:
setCursor in interface MarkerRange
Parameters:
newCursor - the new value of the 'Cursor' containment reference.
See Also:
MarkerRange.getCursor()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

create

public static final MarkerRange create(Axis ax,
                                       DataElement deStart,
                                       DataElement deEnd,
                                       Fill fillColor)
A convenience method provided to add a marker range instance to an axis

Parameters:
ax - the axis which the marker range will be created on.
deStart - start range.
deEnd - end range.
fillColor - fill color.

create

public static final MarkerRange create(Axis ax,
                                       DataElement deStart,
                                       DataElement deEnd,
                                       Fill fillColor,
                                       ColorDefinition outlineColor)
A convenience method provided to add a marker range instance to an axis

Parameters:
ax - the axis which the marker range will be created on.
deStart - start range.
deEnd - end range.
fillColor - fill color.
outlineColor - outline color.

copyInstance

public MarkerRange copyInstance()
Specified by:
copyInstance in interface MarkerRange
Specified by:
copyInstance in interface IChartObject


Copyright © 2005-2008 Actuate Corp. All rights reserved.