org.eclipse.birt.chart.ui.swt.interfaces
Interface ISeriesUIProvider


public interface ISeriesUIProvider

Author:
Actuate Corporation

Method Summary
 org.eclipse.birt.chart.model.attribute.AxisType[] getCompatibleAxisType(org.eclipse.birt.chart.model.component.Series series)
          Get the compatible axis type according to series type.
 org.eclipse.swt.widgets.Composite getSeriesAttributeSheet(org.eclipse.swt.widgets.Composite parent, org.eclipse.birt.chart.model.component.Series series)
          Deprecated. use getSeriesAttributeSheet( Composite parent, Series series, IUIServiceProvider builder, Object oContext )
 org.eclipse.swt.widgets.Composite getSeriesAttributeSheet(org.eclipse.swt.widgets.Composite parent, org.eclipse.birt.chart.model.component.Series series, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
          Fetches the composite used to set attribute properties for a series.
 java.lang.String getSeriesClass()
          Fetches the class of the series for which this class provides services
 ISelectDataComponent getSeriesDataComponent(int seriesType, org.eclipse.birt.chart.model.data.SeriesDefinition seriesDefn, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, java.lang.String sTitle)
           
 org.eclipse.swt.widgets.Composite getSeriesDataSheet(org.eclipse.swt.widgets.Composite parent, org.eclipse.birt.chart.model.data.SeriesDefinition seriesdefinition, IUIServiceProvider builder, java.lang.Object oContext)
          Deprecated.  
 void validateSeriesBindingType(org.eclipse.birt.chart.model.component.Series series, IDataServiceProvider idsp)
          Validate whether the series can contain the data type.
 int[] validationIndex(org.eclipse.birt.chart.model.component.Series series)
           
 

Method Detail

getSeriesAttributeSheet

public org.eclipse.swt.widgets.Composite getSeriesAttributeSheet(org.eclipse.swt.widgets.Composite parent,
                                                                 org.eclipse.birt.chart.model.component.Series series)
Deprecated. use getSeriesAttributeSheet( Composite parent, Series series, IUIServiceProvider builder, Object oContext )

Fetches the composite used to set attribute properties for a series.

Parameters:
parent - container for the series attribute composite series the series for which this attribute composite is being provided
Returns:
the series attribute composite

getSeriesAttributeSheet

public org.eclipse.swt.widgets.Composite getSeriesAttributeSheet(org.eclipse.swt.widgets.Composite parent,
                                                                 org.eclipse.birt.chart.model.component.Series series,
                                                                 org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
Fetches the composite used to set attribute properties for a series.

Parameters:
parent - container for the series attribute composite series the series for which this attribute composite is being provided
Returns:
the series attribute composite
Since:
2.1

getSeriesDataSheet

public org.eclipse.swt.widgets.Composite getSeriesDataSheet(org.eclipse.swt.widgets.Composite parent,
                                                            org.eclipse.birt.chart.model.data.SeriesDefinition seriesdefinition,
                                                            IUIServiceProvider builder,
                                                            java.lang.Object oContext)
Deprecated.  

Fetches the composite used to set data properties for a series.

Parameters:
parent - container for the series data composite series the series for which this data composite is being provided
Returns:
the series data composite
See Also:
getSeriesDataComponent(int, SeriesDefinition, ChartWizardContext, String)

getSeriesClass

public java.lang.String getSeriesClass()
Fetches the class of the series for which this class provides services

Returns:
the fully qualified class name of the series class in the model. (This class has to extend the org.eclipse.birt.chart.model.component.Series interface.)

getSeriesDataComponent

public ISelectDataComponent getSeriesDataComponent(int seriesType,
                                                   org.eclipse.birt.chart.model.data.SeriesDefinition seriesDefn,
                                                   org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
                                                   java.lang.String sTitle)

validateSeriesBindingType

public void validateSeriesBindingType(org.eclipse.birt.chart.model.component.Series series,
                                      IDataServiceProvider idsp)
                               throws org.eclipse.birt.chart.exception.ChartException
Validate whether the series can contain the data type.

Parameters:
series -
idsp -
Throws:
org.eclipse.birt.chart.exception.ChartException
Since:
2.2

getCompatibleAxisType

public org.eclipse.birt.chart.model.attribute.AxisType[] getCompatibleAxisType(org.eclipse.birt.chart.model.component.Series series)
Get the compatible axis type according to series type.

Parameters:
series -
Returns:
An array containing all possible axis types for the designated series.
Since:
2.2

validationIndex

public int[] validationIndex(org.eclipse.birt.chart.model.component.Series series)
Parameters:
series -
Returns:
An array containing the index of all data definitions not allowed to be null.
Since:
2.2


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