|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.swt.AbstractDecorator<org.eclipse.swt.widgets.Combo>
org.beanfabrics.swt.BnComboDecorator
public class BnComboDecorator
Constructor Summary | |
---|---|
BnComboDecorator(org.eclipse.swt.widgets.Combo combo)
|
|
BnComboDecorator(org.eclipse.swt.widgets.Composite parent,
int style)
|
Method Summary | |
---|---|
IModelProvider |
getModelProvider()
Returns the provider. |
Path |
getPath()
Returns the path. |
ITextPM |
getPresentationModel()
Returns the PresentationModel of this view. |
ValidationIndicator |
getValidationIndicator()
|
protected void |
hookControl(org.eclipse.swt.widgets.Combo combo)
|
protected void |
refreshEditable()
|
protected void |
refreshOptions()
|
protected void |
refreshText()
|
protected void |
refreshToolTip()
|
protected void |
refreshUI()
|
protected void |
refreshValidationIndicator()
|
void |
setModelProvider(IModelProvider provider)
Sets the provider. |
void |
setPath(Path path)
Sets the path. |
void |
setPresentationModel(ITextPM pModel)
Sets the PresentationModel of this view. |
void |
setValidationIndicator(ValidationIndicator validationIndicator)
|
protected void |
updateModel()
|
Methods inherited from class org.beanfabrics.swt.AbstractDecorator |
---|
getControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BnComboDecorator(org.eclipse.swt.widgets.Combo combo)
public BnComboDecorator(org.eclipse.swt.widgets.Composite parent, int style)
Method Detail |
---|
protected void hookControl(org.eclipse.swt.widgets.Combo combo)
protected void updateModel()
public ITextPM getPresentationModel()
PresentationModel
of this view.
getPresentationModel
in interface View<ITextPM>
PresentationModel
public void setPresentationModel(ITextPM pModel)
PresentationModel
of this view.
setPresentationModel
in interface View<ITextPM>
pModel
- the PresentationModel
protected void refreshUI()
protected void refreshEditable()
protected void refreshValidationIndicator()
protected void refreshToolTip()
protected void refreshText()
protected void refreshOptions()
public void setModelProvider(IModelProvider provider)
setModelProvider
in interface ModelSubscriber
provider
- the providerpublic IModelProvider getModelProvider()
getModelProvider
in interface ModelSubscriber
ModelProvider
public void setPath(Path path)
Path
is used to locate the model inside the
provider.
setPath
in interface ModelSubscriber
path
- the path relative to the provider's root modelpublic Path getPath()
getPath
in interface ModelSubscriber
public ValidationIndicator getValidationIndicator()
public void setValidationIndicator(ValidationIndicator validationIndicator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |