|
|||||||||
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.Table>
org.beanfabrics.swt.table.BnTableDecorator
public class BnTableDecorator
This is a Beanfabrics view on a IListPM
using an SWT Table
.
Constructor Summary | |
---|---|
BnTableDecorator(org.eclipse.swt.widgets.Composite parent)
Create the BnTable |
|
BnTableDecorator(org.eclipse.swt.widgets.Composite parent,
int style)
Create the BnTable |
|
BnTableDecorator(org.eclipse.swt.widgets.Table table)
Create the BnTable |
Method Summary | |
---|---|
void |
dispose()
|
IModelProvider |
getModelProvider()
Returns the provider. |
Path |
getPath()
Returns the path. |
IListPM |
getPresentationModel()
Returns the PresentationModel of this view. |
org.eclipse.swt.widgets.Table |
getTable()
|
protected void |
hookControl(org.eclipse.swt.widgets.Table table)
|
protected void |
refreshTableItem(int index)
|
protected void |
refreshUI()
|
protected void |
refreshUISelection()
|
void |
setModelProvider(IModelProvider provider)
Sets the provider. |
void |
setPath(Path path)
Sets the path. |
void |
setPresentationModel(IListPM pModel)
Sets the PresentationModel of this view. |
void |
setViewConfig(ViewConfig aConfig)
|
protected void |
updateModelSelection()
|
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 BnTableDecorator(org.eclipse.swt.widgets.Table table)
parent
- style
- public BnTableDecorator(org.eclipse.swt.widgets.Composite parent, int style)
parent
- style
- public BnTableDecorator(org.eclipse.swt.widgets.Composite parent)
parent
- Method Detail |
---|
protected void hookControl(org.eclipse.swt.widgets.Table table)
public void dispose()
public IListPM getPresentationModel()
PresentationModel
of this view.
getPresentationModel
in interface View<IListPM<? extends PresentationModel>>
PresentationModel
public void setPresentationModel(IListPM pModel)
PresentationModel
of this view.
setPresentationModel
in interface View<IListPM<? extends PresentationModel>>
pModel
- the PresentationModel
public void setViewConfig(ViewConfig aConfig)
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 org.eclipse.swt.widgets.Table getTable()
protected void refreshUI()
protected void updateModelSelection()
protected void refreshUISelection()
protected void refreshTableItem(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |