org.eclipse.birt.chart.model.impl
Class ChartWithoutAxesImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.birt.chart.model.impl.ChartImpl
                  extended by org.eclipse.birt.chart.model.impl.ChartWithoutAxesImpl
All Implemented Interfaces:
Chart, ChartWithoutAxes, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
DialChartImpl

public class ChartWithoutAxesImpl
extends ChartImpl
implements ChartWithoutAxes

An implementation of the model object 'Chart Without Axes'.

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>
 
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
 void clearSections(int iSectionType)
          This method walks through the model and clears specific model sections that are not required at deployment time.
static ChartWithoutAxes create()
          A convenience method to create an initialized 'ChartWithoutAxes' instance
 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)
           
 double getMinSlice()
           
 java.lang.String getMinSliceLabel()
           
 Series[] getRunTimeSeries()
           
 org.eclipse.emf.common.util.EList getSeriesDefinitions()
           
 SeriesDefinition[] getSeriesForLegend()
          This method returns all series whose captions/markers are to be rendered in the Legend content
 boolean isMinSlicePercent()
           
 boolean isSetMinSlice()
           
 boolean isSetMinSlicePercent()
           
 void recursivelyGetSeries(org.eclipse.emf.common.util.EList elSDs, java.util.ArrayList al, int iLevel, int iLevelToOmit)
          Walks down the series definition tree and retrieves all runtime series.
 void setMinSlice(double newMinSlice)
           
 void setMinSliceLabel(java.lang.String newMinSliceLabel)
           
 void setMinSlicePercent(boolean newMinSlicePercent)
           
 java.lang.String toString()
           
 void unsetMinSlice()
           
 void unsetMinSlicePercent()
           
 
Methods inherited from class org.eclipse.birt.chart.model.impl.ChartImpl
basicSetBlock, basicSetDescription, basicSetInteractivity, basicSetSampleData, createSampleRuntimeSeries, getBlock, getDescription, getDimension, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, 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.birt.chart.model.Chart
createSampleRuntimeSeries, getBlock, getDescription, getDimension, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
 
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

getSeriesDefinitions

public org.eclipse.emf.common.util.EList getSeriesDefinitions()

Specified by:
getSeriesDefinitions in interface ChartWithoutAxes
Returns:
the value of the 'Series Definitions' containment reference list.
See Also:
ModelPackage.getChartWithoutAxes_SeriesDefinitions()

getMinSlice

public double getMinSlice()

Specified by:
getMinSlice in interface ChartWithoutAxes
Returns:
the value of the 'Min Slice' attribute.
See Also:
ChartWithoutAxes.isSetMinSlice(), ChartWithoutAxes.unsetMinSlice(), ChartWithoutAxes.setMinSlice(double), ModelPackage.getChartWithoutAxes_MinSlice()

setMinSlice

public void setMinSlice(double newMinSlice)

Specified by:
setMinSlice in interface ChartWithoutAxes
Parameters:
newMinSlice - the new value of the 'Min Slice' attribute.
See Also:
ChartWithoutAxes.isSetMinSlice(), ChartWithoutAxes.unsetMinSlice(), ChartWithoutAxes.getMinSlice()

unsetMinSlice

public void unsetMinSlice()

Specified by:
unsetMinSlice in interface ChartWithoutAxes
See Also:
ChartWithoutAxes.isSetMinSlice(), ChartWithoutAxes.getMinSlice(), ChartWithoutAxes.setMinSlice(double)

isSetMinSlice

public boolean isSetMinSlice()

Specified by:
isSetMinSlice in interface ChartWithoutAxes
Returns:
whether the value of the 'Min Slice' attribute is set.
See Also:
ChartWithoutAxes.unsetMinSlice(), ChartWithoutAxes.getMinSlice(), ChartWithoutAxes.setMinSlice(double)

isMinSlicePercent

public boolean isMinSlicePercent()

Specified by:
isMinSlicePercent in interface ChartWithoutAxes
Returns:
the value of the 'Min Slice Percent' attribute.
See Also:
ChartWithoutAxes.isSetMinSlicePercent(), ChartWithoutAxes.unsetMinSlicePercent(), ChartWithoutAxes.setMinSlicePercent(boolean), ModelPackage.getChartWithoutAxes_MinSlicePercent()

setMinSlicePercent

public void setMinSlicePercent(boolean newMinSlicePercent)

Specified by:
setMinSlicePercent in interface ChartWithoutAxes
Parameters:
newMinSlicePercent - the new value of the 'Min Slice Percent' attribute.
See Also:
ChartWithoutAxes.isSetMinSlicePercent(), ChartWithoutAxes.unsetMinSlicePercent(), ChartWithoutAxes.isMinSlicePercent()

unsetMinSlicePercent

public void unsetMinSlicePercent()

Specified by:
unsetMinSlicePercent in interface ChartWithoutAxes
See Also:
ChartWithoutAxes.isSetMinSlicePercent(), ChartWithoutAxes.isMinSlicePercent(), ChartWithoutAxes.setMinSlicePercent(boolean)

isSetMinSlicePercent

public boolean isSetMinSlicePercent()

Specified by:
isSetMinSlicePercent in interface ChartWithoutAxes
Returns:
whether the value of the 'Min Slice Percent' attribute is set.
See Also:
ChartWithoutAxes.unsetMinSlicePercent(), ChartWithoutAxes.isMinSlicePercent(), ChartWithoutAxes.setMinSlicePercent(boolean)

getMinSliceLabel

public java.lang.String getMinSliceLabel()

Specified by:
getMinSliceLabel in interface ChartWithoutAxes
Returns:
the value of the 'Min Slice Label' attribute.
See Also:
ChartWithoutAxes.setMinSliceLabel(String), ModelPackage.getChartWithoutAxes_MinSliceLabel()

setMinSliceLabel

public void setMinSliceLabel(java.lang.String newMinSliceLabel)

Specified by:
setMinSliceLabel in interface ChartWithoutAxes
Parameters:
newMinSliceLabel - the new value of the 'Min Slice Label' attribute.
See Also:
ChartWithoutAxes.getMinSliceLabel()

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 class ChartImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class ChartImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class ChartImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class ChartImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ChartImpl

toString

public java.lang.String toString()

Overrides:
toString in class ChartImpl

create

public static ChartWithoutAxes create()
A convenience method to create an initialized 'ChartWithoutAxes' instance

Returns:

getSeriesForLegend

public final 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 interface Chart
Overrides:
getSeriesForLegend in class ChartImpl
Returns:

getRunTimeSeries

public final Series[] getRunTimeSeries()
Specified by:
getRunTimeSeries in interface ChartWithoutAxes
Returns:

recursivelyGetSeries

public final void recursivelyGetSeries(org.eclipse.emf.common.util.EList elSDs,
                                       java.util.ArrayList al,
                                       int iLevel,
                                       int iLevelToOmit)
Walks down the series definition tree and retrieves all runtime series.

Parameters:
elSDs -
al -
iLevel -

clearSections

public final 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 interface Chart
Overrides:
clearSections in class ChartImpl
Parameters:
iSectionType - Possible values are IConstants.RUN_TIME and IConstants.USER_INTERFACE


Copyright © 2005-2008 Actuate Corp. All rights reserved.