PTWidget
PTWidgetTree
public abstract class AbstractPTWidget extends java.lang.Object implements PTWidget
Constructor | Description |
---|---|
AbstractPTWidget() |
Modifier and Type | Method | Description |
---|---|---|
PTWidget |
build() |
Build the widget (Table or TreeTable)
|
PTWidget |
disposeAndBuild(PropertyTable table) |
Dispose the previous widget and build a new one (when ones switch from
Category View to Flat List view)
|
abstract void |
refillData() |
Clear all data and fill the widget
|
void |
setParentPropertyTable(PropertyTable table) |
Inject the parent property table in the widget
|
void |
updateDescriptionPanel(java.lang.Object selection) |
Update the description panel (if it exists)
|
public abstract void refillData()
PTWidget
refillData
in interface PTWidget
PTWidget.refillData()
public PTWidget build()
PTWidget
build
in interface PTWidget
PTWidget.build()
public PTWidget disposeAndBuild(PropertyTable table)
PTWidget
disposeAndBuild
in interface PTWidget
table
- the PropertyTable to disposePTWidget.disposeAndBuild(org.eclipse.nebula.widgets.opal.propertytable.PropertyTable)
public void setParentPropertyTable(PropertyTable table)
PTWidget
setParentPropertyTable
in interface PTWidget
parentPropertyTable
- the parent PropertyTable to setpublic void updateDescriptionPanel(java.lang.Object selection)
PTWidget
updateDescriptionPanel
in interface PTWidget
selection
- selected propertyPTWidget.updateDescriptionPanel(java.lang.Object)