Class ChartImpl
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.impl.ChartImpl
- All Implemented Interfaces:
Chart,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
ChartWithAxesImpl,ChartWithoutAxesImpl
An implementation of the model object '
Chart'.
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.EScannableAdapterListNested 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_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetBlock(Block newBlock, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetDescription(Text newDescription, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetEmptyMessage(Label newEmptyMessage, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetInteractivity(Interactivity newInteractivity, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetSampleData(SampleData newSampleData, org.eclipse.emf.common.notify.NotificationChain msgs) voidclearSections(int iSectionType) This method walks through the model and clears specific model sections that are not required at deployment time.final voidBuilds runtime series instances for each design-time series based on the sample data contained in the modeleGet(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) voidvoideUnset(int featureID) getBlock()org.eclipse.emf.common.util.EList<ExtendedProperty>intfinal LegendNote: Manually writtenfinal PlotgetPlot()Note: Manually writtenThis method returns all series whose captions/markers are to be rendered in the Legend contentdoubleorg.eclipse.emf.common.util.EList<StyleMap>final TitleBlockgetTitle()Note: Manually writtengetType()getUnits()booleanbooleanbooleanbooleanvoidvoidsetDescription(Text newDescription) voidsetDimension(ChartDimension newDimension) voidsetEmptyMessage(Label newEmptyMessage) voidsetGridColumnCount(int newGridColumnCount) voidsetInteractivity(Interactivity newInteractivity) voidsetSampleData(SampleData newSampleData) voidvoidsetSeriesThickness(double newSeriesThickness) voidsetSubType(String newSubType) voidvoidvoidsetVersion(String newVersion) toString()voidvoidvoidvoidMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getVersion
- Specified by:
getVersionin interfaceChart- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
- Specified by:
setVersionin interfaceChart- Parameters:
newVersion- the new value of the 'Version' attribute.- See Also:
-
unsetVersion
public void unsetVersion()- Specified by:
unsetVersionin interfaceChart- See Also:
-
isSetVersion
public boolean isSetVersion()- Specified by:
isSetVersionin interfaceChart- Returns:
- whether the value of the 'Version' attribute is set.
- See Also:
-
getType
-
setType
-
getSubType
- Specified by:
getSubTypein interfaceChart- Returns:
- the value of the 'Sub Type' attribute.
- See Also:
-
setSubType
- Specified by:
setSubTypein interfaceChart- Parameters:
newSubType- the new value of the 'Sub Type' attribute.- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceChart- Returns:
- the value of the 'Description' containment reference.
- See Also:
-
basicSetDescription
public org.eclipse.emf.common.notify.NotificationChain basicSetDescription(Text newDescription, org.eclipse.emf.common.notify.NotificationChain msgs) -
setDescription
- Specified by:
setDescriptionin interfaceChart- Parameters:
newDescription- the new value of the 'Description' containment reference.- See Also:
-
getBlock
-
basicSetBlock
public org.eclipse.emf.common.notify.NotificationChain basicSetBlock(Block newBlock, org.eclipse.emf.common.notify.NotificationChain msgs) -
setBlock
-
getDimension
- Specified by:
getDimensionin interfaceChart- Returns:
- the value of the 'Dimension' attribute.
- See Also:
-
setDimension
- Specified by:
setDimensionin interfaceChart- Parameters:
newDimension- the new value of the 'Dimension' attribute.- See Also:
-
unsetDimension
public void unsetDimension()- Specified by:
unsetDimensionin interfaceChart- See Also:
-
isSetDimension
public boolean isSetDimension()- Specified by:
isSetDimensionin interfaceChart- Returns:
- whether the value of the 'Dimension' attribute is set.
- See Also:
-
getScript
-
setScript
-
getUnits
-
setUnits
-
getSeriesThickness
public double getSeriesThickness()- Specified by:
getSeriesThicknessin interfaceChart- Returns:
- the value of the 'Series Thickness' attribute.
- See Also:
-
setSeriesThickness
public void setSeriesThickness(double newSeriesThickness) - Specified by:
setSeriesThicknessin interfaceChart- Parameters:
newSeriesThickness- the new value of the 'Series Thickness' attribute.- See Also:
-
unsetSeriesThickness
public void unsetSeriesThickness()- Specified by:
unsetSeriesThicknessin interfaceChart- See Also:
-
isSetSeriesThickness
public boolean isSetSeriesThickness()- Specified by:
isSetSeriesThicknessin interfaceChart- Returns:
- whether the value of the 'Series Thickness' attribute is set.
- See Also:
-
getGridColumnCount
public int getGridColumnCount()- Specified by:
getGridColumnCountin interfaceChart- Returns:
- the value of the 'Grid Column Count' attribute.
- See Also:
-
setGridColumnCount
public void setGridColumnCount(int newGridColumnCount) - Specified by:
setGridColumnCountin interfaceChart- Parameters:
newGridColumnCount- the new value of the 'Grid Column Count' attribute.- See Also:
-
unsetGridColumnCount
public void unsetGridColumnCount()- Specified by:
unsetGridColumnCountin interfaceChart- See Also:
-
isSetGridColumnCount
public boolean isSetGridColumnCount()- Specified by:
isSetGridColumnCountin interfaceChart- Returns:
- whether the value of the 'Grid Column Count' attribute is set.
- See Also:
-
getExtendedProperties
- Specified by:
getExtendedPropertiesin interfaceChart- Returns:
- the value of the 'Extended Properties' containment reference list.
- See Also:
-
getSampleData
- Specified by:
getSampleDatain interfaceChart- Returns:
- the value of the 'Sample Data' containment reference.
- See Also:
-
basicSetSampleData
public org.eclipse.emf.common.notify.NotificationChain basicSetSampleData(SampleData newSampleData, org.eclipse.emf.common.notify.NotificationChain msgs) -
setSampleData
- Specified by:
setSampleDatain interfaceChart- Parameters:
newSampleData- the new value of the 'Sample Data' containment reference.- See Also:
-
getStyles
-
getInteractivity
- Specified by:
getInteractivityin interfaceChart- Returns:
- the value of the 'Interactivity' containment reference.
- See Also:
-
basicSetInteractivity
public org.eclipse.emf.common.notify.NotificationChain basicSetInteractivity(Interactivity newInteractivity, org.eclipse.emf.common.notify.NotificationChain msgs) -
setInteractivity
- Specified by:
setInteractivityin interfaceChart- Parameters:
newInteractivity- the new value of the 'Interactivity' containment reference.- See Also:
-
getEmptyMessage
- Specified by:
getEmptyMessagein interfaceChart- Returns:
- the value of the 'Empty Message' containment reference.
- See Also:
-
basicSetEmptyMessage
public org.eclipse.emf.common.notify.NotificationChain basicSetEmptyMessage(Label newEmptyMessage, org.eclipse.emf.common.notify.NotificationChain msgs) -
setEmptyMessage
- Specified by:
setEmptyMessagein interfaceChart- Parameters:
newEmptyMessage- the new value of the 'Empty Message' containment reference.- 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:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getLegend
Note: Manually written -
getPlot
Note: Manually written -
getTitle
Note: Manually written -
getSeriesForLegend
Description copied from interface:ChartThis method returns all series whose captions/markers are to be rendered in the Legend content- Specified by:
getSeriesForLegendin interfaceChart- Returns:
- SeriesDefinition array
-
clearSections
public void clearSections(int iSectionType) Description copied from interface:ChartThis method walks through the model and clears specific model sections that are not required at deployment time.- Specified by:
clearSectionsin interfaceChart- Parameters:
iSectionType- Possible values are IConstants.RUN_TIME and IConstants.USER_INTERFACE
-
createSampleRuntimeSeries
public final void createSampleRuntimeSeries()Description copied from interface:ChartBuilds runtime series instances for each design-time series based on the sample data contained in the model- Specified by:
createSampleRuntimeSeriesin interfaceChart
-
copyInstance
- Specified by:
copyInstancein interfaceChart- Specified by:
copyInstancein interfaceIChartObject
-