|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChartUIFactory
UI factory used to create all kinds of UI classes.
Method Summary | |
---|---|
boolean |
canEnableUI(org.eclipse.birt.chart.ui.swt.ChartCheckbox button)
Check if the state of specified button allows to enable UI component. |
org.eclipse.birt.chart.ui.swt.ChartCheckbox |
createChartCheckbox(org.eclipse.swt.widgets.Composite parent,
int styles,
boolean defaultSelection)
Creates instance of AbstractChartCheckbox . |
org.eclipse.birt.chart.ui.swt.ChartCombo |
createChartCombo(org.eclipse.swt.widgets.Composite parent,
int style,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty,
java.lang.String defaultItem)
Create instance of combo composite. |
TrayDialog |
createChartImageDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.birt.chart.model.attribute.Fill fCurrent,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
boolean bEmbeddedImageEnabled,
boolean bResourceImageEnabled)
Create image dialog |
org.eclipse.birt.chart.ui.swt.AbstractChartInsets |
createChartInsetsComposite(org.eclipse.swt.widgets.Composite parent,
int style,
int numberRows,
org.eclipse.birt.chart.model.attribute.Insets insets,
java.lang.String sUnits,
IUIServiceProvider serviceprovider,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
org.eclipse.birt.chart.model.attribute.Insets defInsets)
Create instance of insets composite. |
org.eclipse.birt.chart.ui.swt.AbstractChartIntSpinner |
createChartIntSpinner(org.eclipse.swt.widgets.Composite parent,
int style,
int iCurrentValue,
org.eclipse.emf.ecore.EObject obj,
java.lang.String property,
boolean enabled)
Create instance of spinner composite. |
TrayDialog |
createChartMarkerIconDialog(org.eclipse.swt.widgets.Shell parent,
org.eclipse.birt.chart.model.attribute.Fill fill,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
Create marker icon dialog. |
org.eclipse.birt.chart.ui.swt.AbstractChartNumberEditor |
createChartNumberEditor(org.eclipse.swt.widgets.Composite parent,
int style,
java.lang.String unit,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create number editor composite. |
org.eclipse.birt.chart.ui.swt.ChartSlider |
createChartSlider(org.eclipse.swt.widgets.Composite parent,
int style,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create slider composite. |
org.eclipse.birt.chart.ui.swt.ChartSpinner |
createChartSpinner(org.eclipse.swt.widgets.Composite parent,
int styles,
org.eclipse.emf.ecore.EObject obj,
java.lang.String property,
boolean enabled)
Creates instance of ChartSpinner . |
org.eclipse.birt.chart.ui.swt.ChartSpinner |
createChartSpinner(org.eclipse.swt.widgets.Composite parent,
int styles,
org.eclipse.emf.ecore.EObject obj,
java.lang.String property,
boolean enabled,
java.lang.String label,
java.lang.String endLabel)
Creates instance of ChartSpinner . |
org.eclipse.birt.chart.ui.swt.AbstractChartTextEditor |
createChartTextEditor(org.eclipse.swt.widgets.Composite parent,
int style,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create text editor composite. |
IDataElementComposite |
createDateTimeDataElementComposite(org.eclipse.swt.widgets.Composite parent,
int style,
org.eclipse.birt.chart.model.data.DateTimeDataElement data,
boolean isNullAllowed,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create instance of IDataElementComposite for editing date time. |
IFontDefinitionDialog |
createFontDefinitionDialog(org.eclipse.swt.widgets.Shell shellParent,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext wizardContext,
org.eclipse.birt.chart.model.attribute.FontDefinition fdCurrent,
org.eclipse.birt.chart.model.attribute.ColorDefinition cdCurrent,
int optionalStyle)
Create font definition dialog. |
org.eclipse.birt.chart.ui.swt.AbstractHeadStyleChooserComposite |
createHeadStyleChooserComposite(org.eclipse.swt.widgets.Composite parent,
int style,
int iLineDecorator,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create instance of combo list for editing meter head style. |
org.eclipse.birt.chart.ui.swt.AbstractLineStyleChooserComposite |
createLineStyleChooserComposite(org.eclipse.swt.widgets.Composite parent,
int style,
int iLineStyle,
java.lang.Integer[] lineStyleItems,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create instance of combo list for editing list style. |
org.eclipse.birt.chart.ui.swt.AbstractLineWidthChooserComposite |
createLineWidthChooserComposite(org.eclipse.swt.widgets.Composite parent,
int style,
int iWidth,
java.lang.Integer[] lineWidths,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create instance of combo list for editing line width. |
IDataElementComposite |
createNumberDataElementComposite(org.eclipse.swt.widgets.Composite parent,
org.eclipse.birt.chart.model.data.DataElement data,
org.eclipse.emf.ecore.EObject eParent,
java.lang.String sProperty)
Create instance of IDataElementComposite for editing number. |
org.eclipse.birt.chart.util.TriggerSupportMatrix |
createSupportMatrix(java.lang.String outputFormat,
int iType)
Creates instance of TriggerSupportMatrix . |
IChartUIHelper |
createUIHelper()
Returns the current UI helper |
boolean |
isSetInvisible(org.eclipse.emf.ecore.EObject obj)
Check if specified EObject is set invisible, the EObject must have 'visible' property, the return result is used for updating chart UI. |
boolean |
supportAutoUI()
Check if current context is supporting 'auto' UI. |
Method Detail |
---|
IChartUIHelper createUIHelper()
org.eclipse.birt.chart.util.TriggerSupportMatrix createSupportMatrix(java.lang.String outputFormat, int iType)
TriggerSupportMatrix
.
outputFormat
- output formatiType
- interactivity type
org.eclipse.birt.chart.ui.swt.ChartCheckbox createChartCheckbox(org.eclipse.swt.widgets.Composite parent, int styles, boolean defaultSelection)
AbstractChartCheckbox
.
parent
- styles
- defaultSelection
-
AbstractChartCheckbox
.org.eclipse.birt.chart.ui.swt.ChartSpinner createChartSpinner(org.eclipse.swt.widgets.Composite parent, int styles, org.eclipse.emf.ecore.EObject obj, java.lang.String property, boolean enabled)
ChartSpinner
.
parent
- styles
- obj
- property
- enabled
-
ChartSpinner
org.eclipse.birt.chart.ui.swt.ChartSpinner createChartSpinner(org.eclipse.swt.widgets.Composite parent, int styles, org.eclipse.emf.ecore.EObject obj, java.lang.String property, boolean enabled, java.lang.String label, java.lang.String endLabel)
ChartSpinner
.
parent
- styles
- obj
- property
- enabled
- label
- endLabel
-
ChartSpinner
org.eclipse.birt.chart.ui.swt.AbstractChartInsets createChartInsetsComposite(org.eclipse.swt.widgets.Composite parent, int style, int numberRows, org.eclipse.birt.chart.model.attribute.Insets insets, java.lang.String sUnits, IUIServiceProvider serviceprovider, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, org.eclipse.birt.chart.model.attribute.Insets defInsets)
parent
- style
- numberRows
- insets
- sUnits
- serviceprovider
- context
- defInsets
-
org.eclipse.birt.chart.ui.swt.AbstractChartIntSpinner createChartIntSpinner(org.eclipse.swt.widgets.Composite parent, int style, int iCurrentValue, org.eclipse.emf.ecore.EObject obj, java.lang.String property, boolean enabled)
parent
- style
- iCurrentValue
- obj
- property
- enabled
-
IDataElementComposite createNumberDataElementComposite(org.eclipse.swt.widgets.Composite parent, org.eclipse.birt.chart.model.data.DataElement data, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
IDataElementComposite
for editing number.
parent
- data
- eParent
- sProperty
-
IDataElementComposite
.IDataElementComposite createDateTimeDataElementComposite(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.birt.chart.model.data.DateTimeDataElement data, boolean isNullAllowed, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
IDataElementComposite
for editing date time.
parent
- style
- data
- isNullAllowed
- eParent
- sProperty
-
IDataElementComposite
.org.eclipse.birt.chart.ui.swt.ChartCombo createChartCombo(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty, java.lang.String defaultItem)
parent
- style
- eParent
- sProperty
- defaultItem
-
org.eclipse.birt.chart.ui.swt.AbstractLineStyleChooserComposite createLineStyleChooserComposite(org.eclipse.swt.widgets.Composite parent, int style, int iLineStyle, java.lang.Integer[] lineStyleItems, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- iLineStyle
- lineStyleItems
- eParent
- sProperty
-
org.eclipse.birt.chart.ui.swt.AbstractLineWidthChooserComposite createLineWidthChooserComposite(org.eclipse.swt.widgets.Composite parent, int style, int iWidth, java.lang.Integer[] lineWidths, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- iWidth
- lineWidths
- eParent
- sProperty
-
org.eclipse.birt.chart.ui.swt.AbstractHeadStyleChooserComposite createHeadStyleChooserComposite(org.eclipse.swt.widgets.Composite parent, int style, int iLineDecorator, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- iLineDecorator
- eParent
- sProperty
-
IFontDefinitionDialog createFontDefinitionDialog(org.eclipse.swt.widgets.Shell shellParent, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext wizardContext, org.eclipse.birt.chart.model.attribute.FontDefinition fdCurrent, org.eclipse.birt.chart.model.attribute.ColorDefinition cdCurrent, int optionalStyle)
shellParent
- wizardContext
- fdCurrent
- cdCurrent
- optionalStyle
-
org.eclipse.birt.chart.ui.swt.AbstractChartTextEditor createChartTextEditor(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- eParent
- sProperty
-
org.eclipse.birt.chart.ui.swt.AbstractChartNumberEditor createChartNumberEditor(org.eclipse.swt.widgets.Composite parent, int style, java.lang.String unit, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- unit
- eParent
- sProperty
-
org.eclipse.birt.chart.ui.swt.ChartSlider createChartSlider(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.emf.ecore.EObject eParent, java.lang.String sProperty)
parent
- style
- eParent
- sProperty
-
TrayDialog createChartMarkerIconDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.birt.chart.model.attribute.Fill fill, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
parent
- fill
- context
-
TrayDialog createChartImageDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.birt.chart.model.attribute.Fill fCurrent, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, boolean bEmbeddedImageEnabled, boolean bResourceImageEnabled)
boolean canEnableUI(org.eclipse.birt.chart.ui.swt.ChartCheckbox button)
button
-
boolean supportAutoUI()
boolean isSetInvisible(org.eclipse.emf.ecore.EObject obj)
obj
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |