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.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
basicSetBlock
(Block newBlock, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetDescription
(Text newDescription, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetEmptyMessage
(Label newEmptyMessage, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetInteractivity
(Interactivity newInteractivity, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetSampleData
(SampleData newSampleData, org.eclipse.emf.common.notify.NotificationChain msgs) void
clearSections
(int iSectionType) This method walks through the model and clears specific model sections that are not required at deployment time.final void
Builds 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.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) getBlock()
org.eclipse.emf.common.util.EList<ExtendedProperty>
int
final Legend
Note: Manually writtenfinal Plot
getPlot()
Note: Manually writtenThis method returns all series whose captions/markers are to be rendered in the Legend contentdouble
org.eclipse.emf.common.util.EList<StyleMap>
final TitleBlock
getTitle()
Note: Manually writtengetType()
getUnits()
boolean
boolean
boolean
boolean
void
void
setDescription
(Text newDescription) void
setDimension
(ChartDimension newDimension) void
setEmptyMessage
(Label newEmptyMessage) void
setGridColumnCount
(int newGridColumnCount) void
setInteractivity
(Interactivity newInteractivity) void
setSampleData
(SampleData newSampleData) void
void
setSeriesThickness
(double newSeriesThickness) void
setSubType
(String newSubType) void
void
void
setVersion
(String newVersion) toString()
void
void
void
void
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
-
Method Details
-
getVersion
- Specified by:
getVersion
in interfaceChart
- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
- Specified by:
setVersion
in interfaceChart
- Parameters:
newVersion
- the new value of the 'Version' attribute.- See Also:
-
unsetVersion
public void unsetVersion()- Specified by:
unsetVersion
in interfaceChart
- See Also:
-
isSetVersion
public boolean isSetVersion()- Specified by:
isSetVersion
in interfaceChart
- Returns:
- whether the value of the 'Version' attribute is set.
- See Also:
-
getType
-
setType
-
getSubType
- Specified by:
getSubType
in interfaceChart
- Returns:
- the value of the 'Sub Type' attribute.
- See Also:
-
setSubType
- Specified by:
setSubType
in interfaceChart
- Parameters:
newSubType
- the new value of the 'Sub Type' attribute.- See Also:
-
getDescription
- Specified by:
getDescription
in 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:
setDescription
in 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:
getDimension
in interfaceChart
- Returns:
- the value of the 'Dimension' attribute.
- See Also:
-
setDimension
- Specified by:
setDimension
in interfaceChart
- Parameters:
newDimension
- the new value of the 'Dimension' attribute.- See Also:
-
unsetDimension
public void unsetDimension()- Specified by:
unsetDimension
in interfaceChart
- See Also:
-
isSetDimension
public boolean isSetDimension()- Specified by:
isSetDimension
in interfaceChart
- Returns:
- whether the value of the 'Dimension' attribute is set.
- See Also:
-
getScript
-
setScript
-
getUnits
-
setUnits
-
getSeriesThickness
public double getSeriesThickness()- Specified by:
getSeriesThickness
in interfaceChart
- Returns:
- the value of the 'Series Thickness' attribute.
- See Also:
-
setSeriesThickness
public void setSeriesThickness(double newSeriesThickness) - Specified by:
setSeriesThickness
in interfaceChart
- Parameters:
newSeriesThickness
- the new value of the 'Series Thickness' attribute.- See Also:
-
unsetSeriesThickness
public void unsetSeriesThickness()- Specified by:
unsetSeriesThickness
in interfaceChart
- See Also:
-
isSetSeriesThickness
public boolean isSetSeriesThickness()- Specified by:
isSetSeriesThickness
in interfaceChart
- Returns:
- whether the value of the 'Series Thickness' attribute is set.
- See Also:
-
getGridColumnCount
public int getGridColumnCount()- Specified by:
getGridColumnCount
in interfaceChart
- Returns:
- the value of the 'Grid Column Count' attribute.
- See Also:
-
setGridColumnCount
public void setGridColumnCount(int newGridColumnCount) - Specified by:
setGridColumnCount
in interfaceChart
- Parameters:
newGridColumnCount
- the new value of the 'Grid Column Count' attribute.- See Also:
-
unsetGridColumnCount
public void unsetGridColumnCount()- Specified by:
unsetGridColumnCount
in interfaceChart
- See Also:
-
isSetGridColumnCount
public boolean isSetGridColumnCount()- Specified by:
isSetGridColumnCount
in interfaceChart
- Returns:
- whether the value of the 'Grid Column Count' attribute is set.
- See Also:
-
getExtendedProperties
- Specified by:
getExtendedProperties
in interfaceChart
- Returns:
- the value of the 'Extended Properties' containment reference list.
- See Also:
-
getSampleData
- Specified by:
getSampleData
in 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:
setSampleData
in interfaceChart
- Parameters:
newSampleData
- the new value of the 'Sample Data' containment reference.- See Also:
-
getStyles
-
getInteractivity
- Specified by:
getInteractivity
in 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:
setInteractivity
in interfaceChart
- Parameters:
newInteractivity
- the new value of the 'Interactivity' containment reference.- See Also:
-
getEmptyMessage
- Specified by:
getEmptyMessage
in 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:
setEmptyMessage
in 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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getLegend
Note: Manually written -
getPlot
Note: Manually written -
getTitle
Note: Manually written -
getSeriesForLegend
Description copied from interface:Chart
This method returns all series whose captions/markers are to be rendered in the Legend content- Specified by:
getSeriesForLegend
in interfaceChart
- Returns:
- SeriesDefinition array
-
clearSections
public void clearSections(int iSectionType) Description copied from interface:Chart
This method walks through the model and clears specific model sections that are not required at deployment time.- Specified by:
clearSections
in interfaceChart
- Parameters:
iSectionType
- Possible values are IConstants.RUN_TIME and IConstants.USER_INTERFACE
-
createSampleRuntimeSeries
public final void createSampleRuntimeSeries()Description copied from interface:Chart
Builds runtime series instances for each design-time series based on the sample data contained in the model- Specified by:
createSampleRuntimeSeries
in interfaceChart
-
copyInstance
- Specified by:
copyInstance
in interfaceChart
- Specified by:
copyInstance
in interfaceIChartObject
-