|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExpressionButton
A utility class to display Expression builder and button
Method Summary | |
---|---|
void |
addListener(org.eclipse.swt.widgets.Listener listener)
Adds a listener, which will be notified with a SWT.Mofigy event if the expression text has changed. |
java.lang.String |
getDisplayExpression()
Returns the display string in expression builder. |
java.lang.String |
getExpression()
Returns the expression that's saved in model |
java.lang.String |
getExpressionType()
Returns the type of the expression. |
boolean |
isCube()
Returns whether the chart is using a cube. |
boolean |
isEnabled()
Returns the enabled state |
void |
setAccessor(org.eclipse.birt.chart.ui.util.ChartUIUtil.EAttributeAccessor<java.lang.String> accessor)
Sets the accessor, with which the expression will be load from and save to. |
void |
setAssitField(IAssistField assistField)
Set the AssistField. |
void |
setBindingName(java.lang.String bindingName,
boolean bNotifyEvents)
Sets the expression to a binding expression created with the given binding name and the current expression type. |
void |
setEnabled(boolean bEnabled)
Sets the enabled state |
void |
setExpression(java.lang.String expr)
Sets the expression that's saved in model, no notifications will be sent. |
void |
setExpression(java.lang.String expr,
boolean bNotifyEvents)
Sets the expression that's saved in model |
void |
setPredefinedQuery(java.lang.Object[] predefinedQuery)
|
Method Detail |
---|
java.lang.String getExpression()
void setBindingName(java.lang.String bindingName, boolean bNotifyEvents)
bindingName
- the binding namebNotifyEvents
- indicates whether the listeners needed to notified.void setExpression(java.lang.String expr)
expr
- the expression that's saved in modelvoid setExpression(java.lang.String expr, boolean bNotifyEvents)
expr
- the expression that's saved in modelbNotifyEvents
- indicates whether the listeners needed to notified.java.lang.String getDisplayExpression()
void setEnabled(boolean bEnabled)
bEnabled
- enabled stateboolean isEnabled()
void addListener(org.eclipse.swt.widgets.Listener listener)
listener
- void setAccessor(org.eclipse.birt.chart.ui.util.ChartUIUtil.EAttributeAccessor<java.lang.String> accessor)
accessor
- java.lang.String getExpressionType()
boolean isCube()
void setAssitField(IAssistField assistField)
assistField
- void setPredefinedQuery(java.lang.Object[] predefinedQuery)
predefinedQuery
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |