Class GanttSeriesImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.component.impl.SeriesImpl
org.eclipse.birt.chart.model.type.impl.GanttSeriesImpl
- All Implemented Interfaces:
Series
,IChartObject
,GanttSeries
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object 'Gantt
Series'.
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
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
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetConnectionLine
(LineAttributes newConnectionLine, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetDecorationLabel
(Label newDecorationLabel, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetEndMarker
(Marker newEndMarker, 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
basicSetOutlineFill
(Fill newOutlineFill, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetStartMarker
(Marker newStartMarker, org.eclipse.emf.common.notify.NotificationChain msgs) static Series
create()
A convenience method to create an initialized 'Series' instancestatic Series
A convenience method to create an initialized 'Series' instanceeGet
(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
void
eUnset
(int featureID) int[]
Returns the index array of data definitions which must be defined.This method should return a user-friendly name for the series type.org.eclipse.birt.chart.util.NameSet
getLabelPositionScope
(ChartDimension dimension) Returns supported label positions scope in current series.boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setConnectionLine
(LineAttributes newConnectionLine) void
setDecorationLabel
(Label newDecorationLabel) void
setDecorationLabelPosition
(Position newDecorationLabelPosition) void
setEndMarker
(Marker newEndMarker) void
setEndMarkerPosition
(Position newEndMarkerPosition) void
setOutline
(LineAttributes newOutline) void
setOutlineFill
(Fill newOutlineFill) void
setPaletteLineColor
(boolean newPaletteLineColor) void
setStartMarker
(Marker newStartMarker) void
setStartMarkerPosition
(Position newStartMarkerPosition) void
setUseDecorationLabelValue
(boolean newUseDecorationLabelValue) toString()
void
void
void
void
void
Methods inherited from class org.eclipse.birt.chart.model.component.impl.SeriesImpl
basicSetCursor, basicSetCurveFitting, basicSetDataPoint, basicSetLabel, canBeStacked, canParticipateInCombination, canShareAxisUnit, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, translateFrom, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
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.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.eclipse.birt.chart.model.component.Series
canBeStacked, canParticipateInCombination, canShareAxisUnit, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, translateFrom, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
-
Method Details
-
getStartMarker
- Specified by:
getStartMarker
in interfaceGanttSeries
- Returns:
- the value of the 'Start Marker' containment reference.
- See Also:
-
basicSetStartMarker
public org.eclipse.emf.common.notify.NotificationChain basicSetStartMarker(Marker newStartMarker, org.eclipse.emf.common.notify.NotificationChain msgs) -
setStartMarker
- Specified by:
setStartMarker
in interfaceGanttSeries
- Parameters:
newStartMarker
- the new value of the 'Start Marker' containment reference.- See Also:
-
getStartMarkerPosition
- Specified by:
getStartMarkerPosition
in interfaceGanttSeries
- Returns:
- the value of the 'Start Marker Position' attribute.
- See Also:
-
setStartMarkerPosition
- Specified by:
setStartMarkerPosition
in interfaceGanttSeries
- Parameters:
newStartMarkerPosition
- the new value of the 'Start Marker Position' attribute.- See Also:
-
unsetStartMarkerPosition
public void unsetStartMarkerPosition()- Specified by:
unsetStartMarkerPosition
in interfaceGanttSeries
- See Also:
-
isSetStartMarkerPosition
public boolean isSetStartMarkerPosition()- Specified by:
isSetStartMarkerPosition
in interfaceGanttSeries
- Returns:
- whether the value of the 'Start Marker Position' attribute is set.
- See Also:
-
getEndMarker
- Specified by:
getEndMarker
in interfaceGanttSeries
- Returns:
- the value of the 'End Marker' containment reference.
- See Also:
-
basicSetEndMarker
public org.eclipse.emf.common.notify.NotificationChain basicSetEndMarker(Marker newEndMarker, org.eclipse.emf.common.notify.NotificationChain msgs) -
setEndMarker
- Specified by:
setEndMarker
in interfaceGanttSeries
- Parameters:
newEndMarker
- the new value of the 'End Marker' containment reference.- See Also:
-
getEndMarkerPosition
- Specified by:
getEndMarkerPosition
in interfaceGanttSeries
- Returns:
- the value of the 'End Marker Position' attribute.
- See Also:
-
setEndMarkerPosition
- Specified by:
setEndMarkerPosition
in interfaceGanttSeries
- Parameters:
newEndMarkerPosition
- the new value of the 'End Marker Position' attribute.- See Also:
-
unsetEndMarkerPosition
public void unsetEndMarkerPosition()- Specified by:
unsetEndMarkerPosition
in interfaceGanttSeries
- See Also:
-
isSetEndMarkerPosition
public boolean isSetEndMarkerPosition()- Specified by:
isSetEndMarkerPosition
in interfaceGanttSeries
- Returns:
- whether the value of the 'End Marker Position' attribute is set.
- See Also:
-
getConnectionLine
- Specified by:
getConnectionLine
in interfaceGanttSeries
- Returns:
- the value of the 'Connection Line' containment reference.
- See Also:
-
basicSetConnectionLine
public org.eclipse.emf.common.notify.NotificationChain basicSetConnectionLine(LineAttributes newConnectionLine, org.eclipse.emf.common.notify.NotificationChain msgs) -
setConnectionLine
- Specified by:
setConnectionLine
in interfaceGanttSeries
- Parameters:
newConnectionLine
- the new value of the 'Connection Line' containment reference.- See Also:
-
getOutline
- Specified by:
getOutline
in interfaceGanttSeries
- Returns:
- the value of the 'Outline' containment reference.
- See Also:
-
basicSetOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) -
setOutline
- Specified by:
setOutline
in interfaceGanttSeries
- Parameters:
newOutline
- the new value of the 'Outline' containment reference.- See Also:
-
getOutlineFill
- Specified by:
getOutlineFill
in interfaceGanttSeries
- Returns:
- the value of the 'Outline Fill' containment reference.
- See Also:
-
basicSetOutlineFill
public org.eclipse.emf.common.notify.NotificationChain basicSetOutlineFill(Fill newOutlineFill, org.eclipse.emf.common.notify.NotificationChain msgs) -
setOutlineFill
- Specified by:
setOutlineFill
in interfaceGanttSeries
- Parameters:
newOutlineFill
- the new value of the 'Outline Fill' containment reference.- See Also:
-
isUseDecorationLabelValue
public boolean isUseDecorationLabelValue()- Specified by:
isUseDecorationLabelValue
in interfaceGanttSeries
- Returns:
- the value of the 'Use Decoration Label Value' attribute.
- See Also:
-
setUseDecorationLabelValue
public void setUseDecorationLabelValue(boolean newUseDecorationLabelValue) - Specified by:
setUseDecorationLabelValue
in interfaceGanttSeries
- Parameters:
newUseDecorationLabelValue
- the new value of the 'Use Decoration Label Value' attribute.- See Also:
-
unsetUseDecorationLabelValue
public void unsetUseDecorationLabelValue() -
isSetUseDecorationLabelValue
public boolean isSetUseDecorationLabelValue()- Specified by:
isSetUseDecorationLabelValue
in interfaceGanttSeries
- Returns:
- whether the value of the 'Use Decoration Label Value' attribute is set.
- See Also:
-
getDecorationLabel
- Specified by:
getDecorationLabel
in interfaceGanttSeries
- Returns:
- the value of the 'Decoration Label' containment reference.
- See Also:
-
basicSetDecorationLabel
public org.eclipse.emf.common.notify.NotificationChain basicSetDecorationLabel(Label newDecorationLabel, org.eclipse.emf.common.notify.NotificationChain msgs) -
setDecorationLabel
- Specified by:
setDecorationLabel
in interfaceGanttSeries
- Parameters:
newDecorationLabel
- the new value of the 'Decoration Label' containment reference.- See Also:
-
getDecorationLabelPosition
- Specified by:
getDecorationLabelPosition
in interfaceGanttSeries
- Returns:
- the value of the 'Decoration Label Position' attribute.
- See Also:
-
setDecorationLabelPosition
- Specified by:
setDecorationLabelPosition
in interfaceGanttSeries
- Parameters:
newDecorationLabelPosition
- the new value of the 'Decoration Label Position' attribute.- See Also:
-
unsetDecorationLabelPosition
public void unsetDecorationLabelPosition() -
isSetDecorationLabelPosition
public boolean isSetDecorationLabelPosition()- Specified by:
isSetDecorationLabelPosition
in interfaceGanttSeries
- Returns:
- whether the value of the 'Decoration Label Position' attribute is set.
- See Also:
-
isPaletteLineColor
public boolean isPaletteLineColor()- Specified by:
isPaletteLineColor
in interfaceGanttSeries
- Returns:
- the value of the 'Palette Line Color' attribute.
- See Also:
-
setPaletteLineColor
public void setPaletteLineColor(boolean newPaletteLineColor) - Specified by:
setPaletteLineColor
in interfaceGanttSeries
- Parameters:
newPaletteLineColor
- the new value of the 'Palette Line Color' attribute.- See Also:
-
unsetPaletteLineColor
public void unsetPaletteLineColor()- Specified by:
unsetPaletteLineColor
in interfaceGanttSeries
- See Also:
-
isSetPaletteLineColor
public boolean isSetPaletteLineColor()- Specified by:
isSetPaletteLineColor
in interfaceGanttSeries
- Returns:
- whether the value of the 'Palette Line Color' attribute is set.
- See Also:
-
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 classSeriesImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classSeriesImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classSeriesImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classSeriesImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classSeriesImpl
-
toString
- Overrides:
toString
in classSeriesImpl
-
create
A convenience method to create an initialized 'Series' instance -
createDefault
A convenience method to create an initialized 'Series' instance -
getDisplayName
Description copied from interface:Series
This method should return a user-friendly name for the series type. NOTE: Manually written- Specified by:
getDisplayName
in interfaceSeries
- Overrides:
getDisplayName
in classSeriesImpl
- Returns:
- display name for the series type
-
copyInstance
- Specified by:
copyInstance
in interfaceGanttSeries
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceSeries
- Overrides:
copyInstance
in classSeriesImpl
-
getLabelPositionScope
Description copied from interface:Series
Returns supported label positions scope in current series. Label position set in series must be in one of these types.- Specified by:
getLabelPositionScope
in interfaceSeries
- Overrides:
getLabelPositionScope
in classSeriesImpl
- Parameters:
dimension
- chart dimension- Returns:
- NameSet with supported label positions.
-
getDefinedDataDefinitionIndex
public int[] getDefinedDataDefinitionIndex()Description copied from interface:Series
Returns the index array of data definitions which must be defined. For instance, if there are two data definitions in series, and the first one can be not defined, this method will return 1 in integer array; if two of them must be defined, this method will return 0 and 1 in integer array.- Specified by:
getDefinedDataDefinitionIndex
in interfaceSeries
- Overrides:
getDefinedDataDefinitionIndex
in classSeriesImpl
- Returns:
- index array
-