Interface IChartUIHelper
-
public interface IChartUIHelperUI helper used to help chart UI customize composites in it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanCombine(IChartType type, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)Checks if current chart type can combine.java.lang.StringgetDefaultTitle(org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)Returns current value of default title.booleanisDefaultTitleSupported()Returns if default title is supported and if it should be visible in title UI section.voidupdateDefaultTitle(org.eclipse.birt.chart.model.Chart cm, java.lang.Object extendedItem)Updates the title in chart model with current default title value.booleanuseDataSetRow(java.lang.Object reportItem, java.lang.String expression)Return true if expression uses binding that contains data set row directly or indirectly
-
-
-
Method Detail
-
isDefaultTitleSupported
boolean isDefaultTitleSupported()
Returns if default title is supported and if it should be visible in title UI section.- Returns:
- true means visible in title UI section
-
getDefaultTitle
java.lang.String getDefaultTitle(org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
Returns current value of default title.- Parameters:
context- wizard context- Returns:
- current value of default title.
-
updateDefaultTitle
void updateDefaultTitle(org.eclipse.birt.chart.model.Chart cm, java.lang.Object extendedItem)Updates the title in chart model with current default title value.- Parameters:
cm- chart modelextendedItem- extended item object
-
canCombine
boolean canCombine(IChartType type, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context)
Checks if current chart type can combine.- Parameters:
type- chart typecontext- wizard context- Since:
- 3.7
-
useDataSetRow
boolean useDataSetRow(java.lang.Object reportItem, java.lang.String expression) throws org.eclipse.birt.core.exception.BirtExceptionReturn true if expression uses binding that contains data set row directly or indirectly- Parameters:
reportItem-expression-- Throws:
org.eclipse.birt.core.exception.BirtException
-
-