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
public class GanttSeriesImpl extends SeriesImpl implements GanttSeries
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetConnectionLine(LineAttributes newConnectionLine, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetDecorationLabel(Label newDecorationLabel, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetEndMarker(Marker newEndMarker, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetOutlineFill(Fill newOutlineFill, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetStartMarker(Marker newStartMarker, org.eclipse.emf.common.notify.NotificationChain msgs)GanttSeriescopyInstance()static Seriescreate()A convenience method to create an initialized 'Series' instancestatic SeriescreateDefault()A convenience method to create an initialized 'Series' instancejava.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)LineAttributesgetConnectionLine()LabelgetDecorationLabel()PositiongetDecorationLabelPosition()int[]getDefinedDataDefinitionIndex()Returns the index array of data definitions which must be defined.java.lang.StringgetDisplayName()This method should return a user-friendly name for the series type.MarkergetEndMarker()PositiongetEndMarkerPosition()org.eclipse.birt.chart.util.NameSetgetLabelPositionScope(ChartDimension dimension)Returns supported label positions scope in current series.LineAttributesgetOutline()FillgetOutlineFill()MarkergetStartMarker()PositiongetStartMarkerPosition()booleanisPaletteLineColor()booleanisSetDecorationLabelPosition()booleanisSetEndMarkerPosition()booleanisSetPaletteLineColor()booleanisSetStartMarkerPosition()booleanisSetUseDecorationLabelValue()booleanisUseDecorationLabelValue()voidsetConnectionLine(LineAttributes newConnectionLine)voidsetDecorationLabel(Label newDecorationLabel)voidsetDecorationLabelPosition(Position newDecorationLabelPosition)voidsetEndMarker(Marker newEndMarker)voidsetEndMarkerPosition(Position newEndMarkerPosition)voidsetOutline(LineAttributes newOutline)voidsetOutlineFill(Fill newOutlineFill)voidsetPaletteLineColor(boolean newPaletteLineColor)voidsetStartMarker(Marker newStartMarker)voidsetStartMarkerPosition(Position newStartMarkerPosition)voidsetUseDecorationLabelValue(boolean newUseDecorationLabelValue)java.lang.StringtoString()voidunsetDecorationLabelPosition()voidunsetEndMarkerPosition()voidunsetPaletteLineColor()voidunsetStartMarkerPosition()voidunsetUseDecorationLabelValue()-
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.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 Detail
-
getStartMarker
public Marker getStartMarker()
- Specified by:
getStartMarkerin interfaceGanttSeries- Returns:
- the value of the 'Start Marker' containment reference.
- See Also:
GanttSeries.setStartMarker(Marker),TypePackage.getGanttSeries_StartMarker()
-
basicSetStartMarker
public org.eclipse.emf.common.notify.NotificationChain basicSetStartMarker(Marker newStartMarker, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setStartMarker
public void setStartMarker(Marker newStartMarker)
- Specified by:
setStartMarkerin interfaceGanttSeries- Parameters:
newStartMarker- the new value of the 'Start Marker' containment reference.- See Also:
GanttSeries.getStartMarker()
-
getStartMarkerPosition
public Position getStartMarkerPosition()
- Specified by:
getStartMarkerPositionin interfaceGanttSeries- Returns:
- the value of the 'Start Marker Position' attribute.
- See Also:
Position,GanttSeries.isSetStartMarkerPosition(),GanttSeries.unsetStartMarkerPosition(),GanttSeries.setStartMarkerPosition(Position),TypePackage.getGanttSeries_StartMarkerPosition()
-
setStartMarkerPosition
public void setStartMarkerPosition(Position newStartMarkerPosition)
- Specified by:
setStartMarkerPositionin interfaceGanttSeries- Parameters:
newStartMarkerPosition- the new value of the 'Start Marker Position' attribute.- See Also:
Position,GanttSeries.isSetStartMarkerPosition(),GanttSeries.unsetStartMarkerPosition(),GanttSeries.getStartMarkerPosition()
-
unsetStartMarkerPosition
public void unsetStartMarkerPosition()
- Specified by:
unsetStartMarkerPositionin interfaceGanttSeries- See Also:
GanttSeries.isSetStartMarkerPosition(),GanttSeries.getStartMarkerPosition(),GanttSeries.setStartMarkerPosition(Position)
-
isSetStartMarkerPosition
public boolean isSetStartMarkerPosition()
- Specified by:
isSetStartMarkerPositionin interfaceGanttSeries- Returns:
- whether the value of the 'Start Marker Position' attribute is set.
- See Also:
GanttSeries.unsetStartMarkerPosition(),GanttSeries.getStartMarkerPosition(),GanttSeries.setStartMarkerPosition(Position)
-
getEndMarker
public Marker getEndMarker()
- Specified by:
getEndMarkerin interfaceGanttSeries- Returns:
- the value of the 'End Marker' containment reference.
- See Also:
GanttSeries.setEndMarker(Marker),TypePackage.getGanttSeries_EndMarker()
-
basicSetEndMarker
public org.eclipse.emf.common.notify.NotificationChain basicSetEndMarker(Marker newEndMarker, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setEndMarker
public void setEndMarker(Marker newEndMarker)
- Specified by:
setEndMarkerin interfaceGanttSeries- Parameters:
newEndMarker- the new value of the 'End Marker' containment reference.- See Also:
GanttSeries.getEndMarker()
-
getEndMarkerPosition
public Position getEndMarkerPosition()
- Specified by:
getEndMarkerPositionin interfaceGanttSeries- Returns:
- the value of the 'End Marker Position' attribute.
- See Also:
Position,GanttSeries.isSetEndMarkerPosition(),GanttSeries.unsetEndMarkerPosition(),GanttSeries.setEndMarkerPosition(Position),TypePackage.getGanttSeries_EndMarkerPosition()
-
setEndMarkerPosition
public void setEndMarkerPosition(Position newEndMarkerPosition)
- Specified by:
setEndMarkerPositionin interfaceGanttSeries- Parameters:
newEndMarkerPosition- the new value of the 'End Marker Position' attribute.- See Also:
Position,GanttSeries.isSetEndMarkerPosition(),GanttSeries.unsetEndMarkerPosition(),GanttSeries.getEndMarkerPosition()
-
unsetEndMarkerPosition
public void unsetEndMarkerPosition()
- Specified by:
unsetEndMarkerPositionin interfaceGanttSeries- See Also:
GanttSeries.isSetEndMarkerPosition(),GanttSeries.getEndMarkerPosition(),GanttSeries.setEndMarkerPosition(Position)
-
isSetEndMarkerPosition
public boolean isSetEndMarkerPosition()
- Specified by:
isSetEndMarkerPositionin interfaceGanttSeries- Returns:
- whether the value of the 'End Marker Position' attribute is set.
- See Also:
GanttSeries.unsetEndMarkerPosition(),GanttSeries.getEndMarkerPosition(),GanttSeries.setEndMarkerPosition(Position)
-
getConnectionLine
public LineAttributes getConnectionLine()
- Specified by:
getConnectionLinein interfaceGanttSeries- Returns:
- the value of the 'Connection Line' containment reference.
- See Also:
GanttSeries.setConnectionLine(LineAttributes),TypePackage.getGanttSeries_ConnectionLine()
-
basicSetConnectionLine
public org.eclipse.emf.common.notify.NotificationChain basicSetConnectionLine(LineAttributes newConnectionLine, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setConnectionLine
public void setConnectionLine(LineAttributes newConnectionLine)
- Specified by:
setConnectionLinein interfaceGanttSeries- Parameters:
newConnectionLine- the new value of the 'Connection Line' containment reference.- See Also:
GanttSeries.getConnectionLine()
-
getOutline
public LineAttributes getOutline()
- Specified by:
getOutlinein interfaceGanttSeries- Returns:
- the value of the 'Outline' containment reference.
- See Also:
GanttSeries.setOutline(LineAttributes),TypePackage.getGanttSeries_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:
setOutlinein interfaceGanttSeries- Parameters:
newOutline- the new value of the 'Outline' containment reference.- See Also:
GanttSeries.getOutline()
-
getOutlineFill
public Fill getOutlineFill()
- Specified by:
getOutlineFillin interfaceGanttSeries- Returns:
- the value of the 'Outline Fill' containment reference.
- See Also:
GanttSeries.setOutlineFill(Fill),TypePackage.getGanttSeries_OutlineFill()
-
basicSetOutlineFill
public org.eclipse.emf.common.notify.NotificationChain basicSetOutlineFill(Fill newOutlineFill, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setOutlineFill
public void setOutlineFill(Fill newOutlineFill)
- Specified by:
setOutlineFillin interfaceGanttSeries- Parameters:
newOutlineFill- the new value of the 'Outline Fill' containment reference.- See Also:
GanttSeries.getOutlineFill()
-
isUseDecorationLabelValue
public boolean isUseDecorationLabelValue()
- Specified by:
isUseDecorationLabelValuein interfaceGanttSeries- Returns:
- the value of the 'Use Decoration Label Value' attribute.
- See Also:
GanttSeries.isSetUseDecorationLabelValue(),GanttSeries.unsetUseDecorationLabelValue(),GanttSeries.setUseDecorationLabelValue(boolean),TypePackage.getGanttSeries_UseDecorationLabelValue()
-
setUseDecorationLabelValue
public void setUseDecorationLabelValue(boolean newUseDecorationLabelValue)
- Specified by:
setUseDecorationLabelValuein interfaceGanttSeries- Parameters:
newUseDecorationLabelValue- the new value of the 'Use Decoration Label Value' attribute.- See Also:
GanttSeries.isSetUseDecorationLabelValue(),GanttSeries.unsetUseDecorationLabelValue(),GanttSeries.isUseDecorationLabelValue()
-
unsetUseDecorationLabelValue
public void unsetUseDecorationLabelValue()
- Specified by:
unsetUseDecorationLabelValuein interfaceGanttSeries- See Also:
GanttSeries.isSetUseDecorationLabelValue(),GanttSeries.isUseDecorationLabelValue(),GanttSeries.setUseDecorationLabelValue(boolean)
-
isSetUseDecorationLabelValue
public boolean isSetUseDecorationLabelValue()
- Specified by:
isSetUseDecorationLabelValuein interfaceGanttSeries- Returns:
- whether the value of the 'Use Decoration Label Value' attribute is set.
- See Also:
GanttSeries.unsetUseDecorationLabelValue(),GanttSeries.isUseDecorationLabelValue(),GanttSeries.setUseDecorationLabelValue(boolean)
-
getDecorationLabel
public Label getDecorationLabel()
- Specified by:
getDecorationLabelin interfaceGanttSeries- Returns:
- the value of the 'Decoration Label' containment reference.
- See Also:
GanttSeries.setDecorationLabel(Label),TypePackage.getGanttSeries_DecorationLabel()
-
basicSetDecorationLabel
public org.eclipse.emf.common.notify.NotificationChain basicSetDecorationLabel(Label newDecorationLabel, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setDecorationLabel
public void setDecorationLabel(Label newDecorationLabel)
- Specified by:
setDecorationLabelin interfaceGanttSeries- Parameters:
newDecorationLabel- the new value of the 'Decoration Label' containment reference.- See Also:
GanttSeries.getDecorationLabel()
-
getDecorationLabelPosition
public Position getDecorationLabelPosition()
- Specified by:
getDecorationLabelPositionin interfaceGanttSeries- Returns:
- the value of the 'Decoration Label Position' attribute.
- See Also:
Position,GanttSeries.isSetDecorationLabelPosition(),GanttSeries.unsetDecorationLabelPosition(),GanttSeries.setDecorationLabelPosition(Position),TypePackage.getGanttSeries_DecorationLabelPosition()
-
setDecorationLabelPosition
public void setDecorationLabelPosition(Position newDecorationLabelPosition)
- Specified by:
setDecorationLabelPositionin interfaceGanttSeries- Parameters:
newDecorationLabelPosition- the new value of the 'Decoration Label Position' attribute.- See Also:
Position,GanttSeries.isSetDecorationLabelPosition(),GanttSeries.unsetDecorationLabelPosition(),GanttSeries.getDecorationLabelPosition()
-
unsetDecorationLabelPosition
public void unsetDecorationLabelPosition()
- Specified by:
unsetDecorationLabelPositionin interfaceGanttSeries- See Also:
GanttSeries.isSetDecorationLabelPosition(),GanttSeries.getDecorationLabelPosition(),GanttSeries.setDecorationLabelPosition(Position)
-
isSetDecorationLabelPosition
public boolean isSetDecorationLabelPosition()
- Specified by:
isSetDecorationLabelPositionin interfaceGanttSeries- Returns:
- whether the value of the 'Decoration Label Position' attribute is set.
- See Also:
GanttSeries.unsetDecorationLabelPosition(),GanttSeries.getDecorationLabelPosition(),GanttSeries.setDecorationLabelPosition(Position)
-
isPaletteLineColor
public boolean isPaletteLineColor()
- Specified by:
isPaletteLineColorin interfaceGanttSeries- Returns:
- the value of the 'Palette Line Color' attribute.
- See Also:
GanttSeries.isSetPaletteLineColor(),GanttSeries.unsetPaletteLineColor(),GanttSeries.setPaletteLineColor(boolean),TypePackage.getGanttSeries_PaletteLineColor()
-
setPaletteLineColor
public void setPaletteLineColor(boolean newPaletteLineColor)
- Specified by:
setPaletteLineColorin interfaceGanttSeries- Parameters:
newPaletteLineColor- the new value of the 'Palette Line Color' attribute.- See Also:
GanttSeries.isSetPaletteLineColor(),GanttSeries.unsetPaletteLineColor(),GanttSeries.isPaletteLineColor()
-
unsetPaletteLineColor
public void unsetPaletteLineColor()
- Specified by:
unsetPaletteLineColorin interfaceGanttSeries- See Also:
GanttSeries.isSetPaletteLineColor(),GanttSeries.isPaletteLineColor(),GanttSeries.setPaletteLineColor(boolean)
-
isSetPaletteLineColor
public boolean isSetPaletteLineColor()
- Specified by:
isSetPaletteLineColorin interfaceGanttSeries- Returns:
- whether the value of the 'Palette Line Color' attribute is set.
- See Also:
GanttSeries.unsetPaletteLineColor(),GanttSeries.isPaletteLineColor(),GanttSeries.setPaletteLineColor(boolean)
-
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:
eInverseRemovein classSeriesImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classSeriesImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classSeriesImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classSeriesImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classSeriesImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classSeriesImpl
-
create
public static Series create()
A convenience method to create an initialized 'Series' instance
-
createDefault
public static Series createDefault()
A convenience method to create an initialized 'Series' instance
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:SeriesThis method should return a user-friendly name for the series type. NOTE: Manually written- Specified by:
getDisplayNamein interfaceSeries- Overrides:
getDisplayNamein classSeriesImpl- Returns:
- display name for the series type
-
copyInstance
public GanttSeries copyInstance()
- Specified by:
copyInstancein interfaceGanttSeries- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceSeries- Overrides:
copyInstancein classSeriesImpl
-
getLabelPositionScope
public org.eclipse.birt.chart.util.NameSet getLabelPositionScope(ChartDimension dimension)
Description copied from interface:SeriesReturns supported label positions scope in current series. Label position set in series must be in one of these types.- Specified by:
getLabelPositionScopein interfaceSeries- Overrides:
getLabelPositionScopein classSeriesImpl- Parameters:
dimension- chart dimension- Returns:
- NameSet with supported label positions.
-
getDefinedDataDefinitionIndex
public int[] getDefinedDataDefinitionIndex()
Description copied from interface:SeriesReturns 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:
getDefinedDataDefinitionIndexin interfaceSeries- Overrides:
getDefinedDataDefinitionIndexin classSeriesImpl- Returns:
- index array
-
-