Class AbstractPTWidget

java.lang.Object
org.eclipse.nebula.widgets.opal.propertytable.AbstractPTWidget
All Implemented Interfaces:
PTWidget
Direct Known Subclasses:
PTWidgetTable, PTWidgetTree

public abstract class AbstractPTWidget
extends java.lang.Object
implements PTWidget
This abstract class contains all common methods for widgets that are part of a property table
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.eclipse.swt.custom.StyledText descriptionLabel  
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractPTWidget()  
  • Method Summary

    Modifier and Type Method Description
    PTWidget build()
    Build the widget (Table or TreeTable)
    protected abstract void buildWidget​(org.eclipse.swt.widgets.Composite parent)
    Build the widget itself
    PTWidget disposeAndBuild​(PropertyTable table)
    Dispose the previous widget and build a new one (when ones switch from Category View to Flat List view)
    protected PropertyTable getParentPropertyTable()  
    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)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.nebula.widgets.opal.propertytable.PTWidget

    getWidget