|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
public class ChartImpl
An implementation of the model object ' Chart'.
The following features are implemented:
Version
Type
Sub Type
Description
Block
Dimension
Script
Units
Series Thickness
Grid Column Count
Extended Properties
Sample Data
Styles
Interactivity
Empty Message
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> |
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.birt.chart.model.Chart |
---|
VERSION |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
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()
A convenient method to get an instance copy. |
static Chart |
create(org.eclipse.emf.ecore.EObject parent,
org.eclipse.emf.ecore.EReference ref)
|
void |
createSampleRuntimeSeries()
Builds runtime series instances for each design-time series based on the sample data contained in the model |
java.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 written |
Plot |
getPlot()
Note: Manually written |
SampleData |
getSampleData()
|
java.lang.String |
getScript()
|
SeriesDefinition[] |
getSeriesForLegend()
This method returns all series whose captions/markers are to be rendered in the Legend content |
double |
getSeriesThickness()
|
org.eclipse.emf.common.util.EList<StyleMap> |
getStyles()
|
java.lang.String |
getSubType()
|
TitleBlock |
getTitle()
Note: Manually written |
java.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, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, 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, 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.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public java.lang.String getVersion()
getVersion
in interface Chart
Chart.isSetVersion()
,
Chart.unsetVersion()
,
Chart.setVersion(String)
,
ModelPackage.getChart_Version()
public void setVersion(java.lang.String newVersion)
setVersion
in interface Chart
newVersion
- the new value of the 'Version' attribute.Chart.isSetVersion()
,
Chart.unsetVersion()
,
Chart.getVersion()
public void unsetVersion()
unsetVersion
in interface Chart
Chart.isSetVersion()
,
Chart.getVersion()
,
Chart.setVersion(String)
public boolean isSetVersion()
isSetVersion
in interface Chart
Chart.unsetVersion()
,
Chart.getVersion()
,
Chart.setVersion(String)
public java.lang.String getType()
getType
in interface Chart
Chart.setType(String)
,
ModelPackage.getChart_Type()
public void setType(java.lang.String newType)
setType
in interface Chart
newType
- the new value of the 'Type' attribute.Chart.getType()
public java.lang.String getSubType()
getSubType
in interface Chart
Chart.setSubType(String)
,
ModelPackage.getChart_SubType()
public void setSubType(java.lang.String newSubType)
setSubType
in interface Chart
newSubType
- the new value of the 'Sub Type' attribute.Chart.getSubType()
public Text getDescription()
getDescription
in interface Chart
Chart.setDescription(Text)
,
ModelPackage.getChart_Description()
public org.eclipse.emf.common.notify.NotificationChain basicSetDescription(Text newDescription, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDescription(Text newDescription)
setDescription
in interface Chart
newDescription
- the new value of the 'Description' containment reference.Chart.getDescription()
public Block getBlock()
getBlock
in interface Chart
Chart.setBlock(Block)
,
ModelPackage.getChart_Block()
public org.eclipse.emf.common.notify.NotificationChain basicSetBlock(Block newBlock, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setBlock(Block newBlock)
setBlock
in interface Chart
newBlock
- the new value of the 'Block' containment reference.Chart.getBlock()
public ChartDimension getDimension()
getDimension
in interface Chart
ChartDimension
,
Chart.isSetDimension()
,
Chart.unsetDimension()
,
Chart.setDimension(ChartDimension)
,
ModelPackage.getChart_Dimension()
public void setDimension(ChartDimension newDimension)
setDimension
in interface Chart
newDimension
- the new value of the 'Dimension' attribute.ChartDimension
,
Chart.isSetDimension()
,
Chart.unsetDimension()
,
Chart.getDimension()
public void unsetDimension()
unsetDimension
in interface Chart
Chart.isSetDimension()
,
Chart.getDimension()
,
Chart.setDimension(ChartDimension)
public boolean isSetDimension()
isSetDimension
in interface Chart
Chart.unsetDimension()
,
Chart.getDimension()
,
Chart.setDimension(ChartDimension)
public java.lang.String getScript()
getScript
in interface Chart
Chart.setScript(String)
,
ModelPackage.getChart_Script()
public void setScript(java.lang.String newScript)
setScript
in interface Chart
newScript
- the new value of the 'Script' attribute.Chart.getScript()
public java.lang.String getUnits()
getUnits
in interface Chart
Chart.setUnits(String)
,
ModelPackage.getChart_Units()
public void setUnits(java.lang.String newUnits)
setUnits
in interface Chart
newUnits
- the new value of the 'Units' attribute.Chart.getUnits()
public double getSeriesThickness()
getSeriesThickness
in interface Chart
Chart.isSetSeriesThickness()
,
Chart.unsetSeriesThickness()
,
Chart.setSeriesThickness(double)
,
ModelPackage.getChart_SeriesThickness()
public void setSeriesThickness(double newSeriesThickness)
setSeriesThickness
in interface Chart
newSeriesThickness
- the new value of the 'Series Thickness' attribute.Chart.isSetSeriesThickness()
,
Chart.unsetSeriesThickness()
,
Chart.getSeriesThickness()
public void unsetSeriesThickness()
unsetSeriesThickness
in interface Chart
Chart.isSetSeriesThickness()
,
Chart.getSeriesThickness()
,
Chart.setSeriesThickness(double)
public boolean isSetSeriesThickness()
isSetSeriesThickness
in interface Chart
Chart.unsetSeriesThickness()
,
Chart.getSeriesThickness()
,
Chart.setSeriesThickness(double)
public int getGridColumnCount()
getGridColumnCount
in interface Chart
Chart.isSetGridColumnCount()
,
Chart.unsetGridColumnCount()
,
Chart.setGridColumnCount(int)
,
ModelPackage.getChart_GridColumnCount()
public void setGridColumnCount(int newGridColumnCount)
setGridColumnCount
in interface Chart
newGridColumnCount
- the new value of the 'Grid Column Count' attribute.Chart.isSetGridColumnCount()
,
Chart.unsetGridColumnCount()
,
Chart.getGridColumnCount()
public void unsetGridColumnCount()
unsetGridColumnCount
in interface Chart
Chart.isSetGridColumnCount()
,
Chart.getGridColumnCount()
,
Chart.setGridColumnCount(int)
public boolean isSetGridColumnCount()
isSetGridColumnCount
in interface Chart
Chart.unsetGridColumnCount()
,
Chart.getGridColumnCount()
,
Chart.setGridColumnCount(int)
public org.eclipse.emf.common.util.EList<ExtendedProperty> getExtendedProperties()
getExtendedProperties
in interface Chart
ModelPackage.getChart_ExtendedProperties()
public SampleData getSampleData()
getSampleData
in interface Chart
Chart.setSampleData(SampleData)
,
ModelPackage.getChart_SampleData()
public org.eclipse.emf.common.notify.NotificationChain basicSetSampleData(SampleData newSampleData, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSampleData(SampleData newSampleData)
setSampleData
in interface Chart
newSampleData
- the new value of the 'Sample Data' containment reference.Chart.getSampleData()
public org.eclipse.emf.common.util.EList<StyleMap> getStyles()
getStyles
in interface Chart
ModelPackage.getChart_Styles()
public Interactivity getInteractivity()
getInteractivity
in interface Chart
Chart.setInteractivity(Interactivity)
,
ModelPackage.getChart_Interactivity()
public org.eclipse.emf.common.notify.NotificationChain basicSetInteractivity(Interactivity newInteractivity, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setInteractivity(Interactivity newInteractivity)
setInteractivity
in interface Chart
newInteractivity
- the new value of the 'Interactivity' containment reference.Chart.getInteractivity()
public Label getEmptyMessage()
getEmptyMessage
in interface Chart
Chart.setEmptyMessage(Label)
,
ModelPackage.getChart_EmptyMessage()
public org.eclipse.emf.common.notify.NotificationChain basicSetEmptyMessage(Label newEmptyMessage, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setEmptyMessage(Label newEmptyMessage)
setEmptyMessage
in interface Chart
newEmptyMessage
- the new value of the 'Empty Message' containment reference.Chart.getEmptyMessage()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public final Legend getLegend()
getLegend
in interface Chart
public final Plot getPlot()
getPlot
in interface Chart
public final TitleBlock getTitle()
getTitle
in interface Chart
public SeriesDefinition[] getSeriesForLegend()
Chart
getSeriesForLegend
in interface Chart
public void clearSections(int iSectionType)
Chart
clearSections
in interface Chart
iSectionType
- Possible values are IConstants.RUN_TIME and IConstants.USER_INTERFACEpublic final void createSampleRuntimeSeries()
Chart
createSampleRuntimeSeries
in interface Chart
public Chart copyInstance()
copyInstance
in interface Chart
public static Chart create(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference ref)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |