public abstract class AbstractLabelCallbackFactory extends Object implements CallbackWidgetFactory
Constructor and Description |
---|
AbstractLabelCallbackFactory(LabelCallback labelCallback) |
Modifier and Type | Method and Description |
---|---|
void |
complete()
Complete the data entry
|
void |
createGridWidgets(org.eclipse.core.databinding.DataBindingContext dbc,
org.eclipse.swt.widgets.Composite composite)
Create controls inside a 2 column grid
|
protected abstract void |
createInput(org.eclipse.core.databinding.DataBindingContext dbc,
org.eclipse.swt.widgets.Label label,
org.eclipse.swt.widgets.Composite composite) |
boolean |
tryInstantComplete() |
public AbstractLabelCallbackFactory(LabelCallback labelCallback)
public void createGridWidgets(org.eclipse.core.databinding.DataBindingContext dbc, org.eclipse.swt.widgets.Composite composite)
CallbackWidgetFactory
createGridWidgets
in interface CallbackWidgetFactory
dbc
- the data binding contextcomposite
- the 2 column grid compositepublic void complete()
CallbackWidgetFactory
This can be used as the last point where the callback data can be updated before it is sent to the requester
complete
in interface CallbackWidgetFactory
public boolean tryInstantComplete()
tryInstantComplete
in interface CallbackWidgetFactory
protected abstract void createInput(org.eclipse.core.databinding.DataBindingContext dbc, org.eclipse.swt.widgets.Label label, org.eclipse.swt.widgets.Composite composite)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.