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
public class ChartImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Chart
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 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 Instance Methods Concrete Methods Modifier and Type Method Description org.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.Chart
copyInstance()
void
createSampleRuntimeSeries()
Builds runtime series instances for each design-time series based on the sample data contained in the modeljava.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)
Block
getBlock()
Text
getDescription()
ChartDimension
getDimension()
Label
getEmptyMessage()
org.eclipse.emf.common.util.EList<ExtendedProperty>
getExtendedProperties()
int
getGridColumnCount()
Interactivity
getInteractivity()
Legend
getLegend()
Note: Manually writtenPlot
getPlot()
Note: Manually writtenSampleData
getSampleData()
java.lang.String
getScript()
SeriesDefinition[]
getSeriesForLegend()
This method returns all series whose captions/markers are to be rendered in the Legend contentdouble
getSeriesThickness()
org.eclipse.emf.common.util.EList<StyleMap>
getStyles()
java.lang.String
getSubType()
TitleBlock
getTitle()
Note: Manually writtenjava.lang.String
getType()
java.lang.String
getUnits()
java.lang.String
getVersion()
boolean
isSetDimension()
boolean
isSetGridColumnCount()
boolean
isSetSeriesThickness()
boolean
isSetVersion()
void
setBlock(Block newBlock)
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
setScript(java.lang.String newScript)
void
setSeriesThickness(double newSeriesThickness)
void
setSubType(java.lang.String newSubType)
void
setType(java.lang.String newType)
void
setUnits(java.lang.String newUnits)
void
setVersion(java.lang.String newVersion)
java.lang.String
toString()
void
unsetDimension()
void
unsetGridColumnCount()
void
unsetSeriesThickness()
void
unsetVersion()
-
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
-
-
-
-
Method Detail
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfaceChart
- Returns:
- the value of the 'Version' attribute.
- See Also:
Chart.isSetVersion()
,Chart.unsetVersion()
,Chart.setVersion(String)
,ModelPackage.getChart_Version()
-
setVersion
public void setVersion(java.lang.String newVersion)
- Specified by:
setVersion
in interfaceChart
- Parameters:
newVersion
- the new value of the 'Version' attribute.- See Also:
Chart.isSetVersion()
,Chart.unsetVersion()
,Chart.getVersion()
-
unsetVersion
public void unsetVersion()
- Specified by:
unsetVersion
in interfaceChart
- See Also:
Chart.isSetVersion()
,Chart.getVersion()
,Chart.setVersion(String)
-
isSetVersion
public boolean isSetVersion()
- Specified by:
isSetVersion
in interfaceChart
- Returns:
- whether the value of the 'Version' attribute is set.
- See Also:
Chart.unsetVersion()
,Chart.getVersion()
,Chart.setVersion(String)
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceChart
- Returns:
- the value of the 'Type' attribute.
- See Also:
Chart.setType(String)
,ModelPackage.getChart_Type()
-
setType
public void setType(java.lang.String newType)
- Specified by:
setType
in interfaceChart
- Parameters:
newType
- the new value of the 'Type' attribute.- See Also:
Chart.getType()
-
getSubType
public java.lang.String getSubType()
- Specified by:
getSubType
in interfaceChart
- Returns:
- the value of the 'Sub Type' attribute.
- See Also:
Chart.setSubType(String)
,ModelPackage.getChart_SubType()
-
setSubType
public void setSubType(java.lang.String newSubType)
- Specified by:
setSubType
in interfaceChart
- Parameters:
newSubType
- the new value of the 'Sub Type' attribute.- See Also:
Chart.getSubType()
-
getDescription
public Text getDescription()
- Specified by:
getDescription
in interfaceChart
- Returns:
- the value of the 'Description' containment reference.
- See Also:
Chart.setDescription(Text)
,ModelPackage.getChart_Description()
-
basicSetDescription
public org.eclipse.emf.common.notify.NotificationChain basicSetDescription(Text newDescription, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setDescription
public void setDescription(Text newDescription)
- Specified by:
setDescription
in interfaceChart
- Parameters:
newDescription
- the new value of the 'Description' containment reference.- See Also:
Chart.getDescription()
-
getBlock
public Block getBlock()
- Specified by:
getBlock
in interfaceChart
- Returns:
- the value of the 'Block' containment reference.
- See Also:
Chart.setBlock(Block)
,ModelPackage.getChart_Block()
-
basicSetBlock
public org.eclipse.emf.common.notify.NotificationChain basicSetBlock(Block newBlock, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBlock
public void setBlock(Block newBlock)
- Specified by:
setBlock
in interfaceChart
- Parameters:
newBlock
- the new value of the 'Block' containment reference.- See Also:
Chart.getBlock()
-
getDimension
public ChartDimension getDimension()
- Specified by:
getDimension
in interfaceChart
- Returns:
- the value of the 'Dimension' attribute.
- See Also:
ChartDimension
,Chart.isSetDimension()
,Chart.unsetDimension()
,Chart.setDimension(ChartDimension)
,ModelPackage.getChart_Dimension()
-
setDimension
public void setDimension(ChartDimension newDimension)
- Specified by:
setDimension
in interfaceChart
- Parameters:
newDimension
- the new value of the 'Dimension' attribute.- See Also:
ChartDimension
,Chart.isSetDimension()
,Chart.unsetDimension()
,Chart.getDimension()
-
unsetDimension
public void unsetDimension()
- Specified by:
unsetDimension
in interfaceChart
- See Also:
Chart.isSetDimension()
,Chart.getDimension()
,Chart.setDimension(ChartDimension)
-
isSetDimension
public boolean isSetDimension()
- Specified by:
isSetDimension
in interfaceChart
- Returns:
- whether the value of the 'Dimension' attribute is set.
- See Also:
Chart.unsetDimension()
,Chart.getDimension()
,Chart.setDimension(ChartDimension)
-
getScript
public java.lang.String getScript()
- Specified by:
getScript
in interfaceChart
- Returns:
- the value of the 'Script' attribute.
- See Also:
Chart.setScript(String)
,ModelPackage.getChart_Script()
-
setScript
public void setScript(java.lang.String newScript)
- Specified by:
setScript
in interfaceChart
- Parameters:
newScript
- the new value of the 'Script' attribute.- See Also:
Chart.getScript()
-
getUnits
public java.lang.String getUnits()
- Specified by:
getUnits
in interfaceChart
- Returns:
- the value of the 'Units' attribute.
- See Also:
Chart.setUnits(String)
,ModelPackage.getChart_Units()
-
setUnits
public void setUnits(java.lang.String newUnits)
- Specified by:
setUnits
in interfaceChart
- Parameters:
newUnits
- the new value of the 'Units' attribute.- See Also:
Chart.getUnits()
-
getSeriesThickness
public double getSeriesThickness()
- Specified by:
getSeriesThickness
in interfaceChart
- Returns:
- the value of the 'Series Thickness' attribute.
- See Also:
Chart.isSetSeriesThickness()
,Chart.unsetSeriesThickness()
,Chart.setSeriesThickness(double)
,ModelPackage.getChart_SeriesThickness()
-
setSeriesThickness
public void setSeriesThickness(double newSeriesThickness)
- Specified by:
setSeriesThickness
in interfaceChart
- Parameters:
newSeriesThickness
- the new value of the 'Series Thickness' attribute.- See Also:
Chart.isSetSeriesThickness()
,Chart.unsetSeriesThickness()
,Chart.getSeriesThickness()
-
unsetSeriesThickness
public void unsetSeriesThickness()
- Specified by:
unsetSeriesThickness
in interfaceChart
- See Also:
Chart.isSetSeriesThickness()
,Chart.getSeriesThickness()
,Chart.setSeriesThickness(double)
-
isSetSeriesThickness
public boolean isSetSeriesThickness()
- Specified by:
isSetSeriesThickness
in interfaceChart
- Returns:
- whether the value of the 'Series Thickness' attribute is set.
- See Also:
Chart.unsetSeriesThickness()
,Chart.getSeriesThickness()
,Chart.setSeriesThickness(double)
-
getGridColumnCount
public int getGridColumnCount()
- Specified by:
getGridColumnCount
in interfaceChart
- Returns:
- the value of the 'Grid Column Count' attribute.
- See Also:
Chart.isSetGridColumnCount()
,Chart.unsetGridColumnCount()
,Chart.setGridColumnCount(int)
,ModelPackage.getChart_GridColumnCount()
-
setGridColumnCount
public void setGridColumnCount(int newGridColumnCount)
- Specified by:
setGridColumnCount
in interfaceChart
- Parameters:
newGridColumnCount
- the new value of the 'Grid Column Count' attribute.- See Also:
Chart.isSetGridColumnCount()
,Chart.unsetGridColumnCount()
,Chart.getGridColumnCount()
-
unsetGridColumnCount
public void unsetGridColumnCount()
- Specified by:
unsetGridColumnCount
in interfaceChart
- See Also:
Chart.isSetGridColumnCount()
,Chart.getGridColumnCount()
,Chart.setGridColumnCount(int)
-
isSetGridColumnCount
public boolean isSetGridColumnCount()
- Specified by:
isSetGridColumnCount
in interfaceChart
- Returns:
- whether the value of the 'Grid Column Count' attribute is set.
- See Also:
Chart.unsetGridColumnCount()
,Chart.getGridColumnCount()
,Chart.setGridColumnCount(int)
-
getExtendedProperties
public org.eclipse.emf.common.util.EList<ExtendedProperty> getExtendedProperties()
- Specified by:
getExtendedProperties
in interfaceChart
- Returns:
- the value of the 'Extended Properties' containment reference list.
- See Also:
ModelPackage.getChart_ExtendedProperties()
-
getSampleData
public SampleData getSampleData()
- Specified by:
getSampleData
in interfaceChart
- Returns:
- the value of the 'Sample Data' containment reference.
- See Also:
Chart.setSampleData(SampleData)
,ModelPackage.getChart_SampleData()
-
basicSetSampleData
public org.eclipse.emf.common.notify.NotificationChain basicSetSampleData(SampleData newSampleData, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setSampleData
public void setSampleData(SampleData newSampleData)
- Specified by:
setSampleData
in interfaceChart
- Parameters:
newSampleData
- the new value of the 'Sample Data' containment reference.- See Also:
Chart.getSampleData()
-
getStyles
public org.eclipse.emf.common.util.EList<StyleMap> getStyles()
- Specified by:
getStyles
in interfaceChart
- Returns:
- the value of the 'Styles' containment reference list.
- See Also:
ModelPackage.getChart_Styles()
-
getInteractivity
public Interactivity getInteractivity()
- Specified by:
getInteractivity
in interfaceChart
- Returns:
- the value of the 'Interactivity' containment reference.
- See Also:
Chart.setInteractivity(Interactivity)
,ModelPackage.getChart_Interactivity()
-
basicSetInteractivity
public org.eclipse.emf.common.notify.NotificationChain basicSetInteractivity(Interactivity newInteractivity, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setInteractivity
public void setInteractivity(Interactivity newInteractivity)
- Specified by:
setInteractivity
in interfaceChart
- Parameters:
newInteractivity
- the new value of the 'Interactivity' containment reference.- See Also:
Chart.getInteractivity()
-
getEmptyMessage
public Label getEmptyMessage()
- Specified by:
getEmptyMessage
in interfaceChart
- Returns:
- the value of the 'Empty Message' containment reference.
- See Also:
Chart.setEmptyMessage(Label)
,ModelPackage.getChart_EmptyMessage()
-
basicSetEmptyMessage
public org.eclipse.emf.common.notify.NotificationChain basicSetEmptyMessage(Label newEmptyMessage, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setEmptyMessage
public void setEmptyMessage(Label newEmptyMessage)
- Specified by:
setEmptyMessage
in interfaceChart
- Parameters:
newEmptyMessage
- the new value of the 'Empty Message' containment reference.- See Also:
Chart.getEmptyMessage()
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- 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
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getLegend
public final Legend getLegend()
Note: Manually written
-
getPlot
public final Plot getPlot()
Note: Manually written
-
getTitle
public final TitleBlock getTitle()
Note: Manually written
-
getSeriesForLegend
public SeriesDefinition[] 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
public Chart copyInstance()
- Specified by:
copyInstance
in interfaceChart
- Specified by:
copyInstance
in interfaceIChartObject
-
-