com.sdm.quasar.client.showcase.swing.allinone.emplList
Class ListPresentation

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.core.dialogsupport.features.AbstractPresentationFeature
          extended bycom.sdm.quasar.client.showcase.swing.allinone.emplList.ListPresentation
All Implemented Interfaces:
Feature, SystemInfoProvider

public class ListPresentation
extends AbstractPresentationFeature


Field Summary
 
Fields inherited from class com.sdm.quasar.client.core.dialogsupport.features.AbstractPresentationFeature
disposables
 
Constructor Summary
ListPresentation()
           
 
Method Summary
protected  void bindActions()
          Binds the actions from the dialog core (e.g. within an action or command manager) to the visual representation.
protected  void bindData()
          Binds the data from the dialog core (e.g. within a data manager) to the visual representation.
protected  void configureStates()
          Configures states from the dialog core and presentation states and binds them to the visual representation.
protected  void dispose()
          Called when the feature or dialog is disposed.
protected  void init()
          Called when the feature is initializing.
protected  void prepare()
          Called when the dialog is prepared.
 
Methods inherited from class com.sdm.quasar.client.core.dialogsupport.features.AbstractPresentationFeature
getCommandManagerFeature, getDataManager, getDataManagerFeature, getValue, registerDisposable, release, unregisterDisposable
 
Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListPresentation

public ListPresentation()
Method Detail

dispose

protected void dispose()
                throws DisposeException
Description copied from class: AbstractFeature
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing.

Specified by:
dispose in class AbstractFeature
Throws:
DisposeException

init

protected void init()
Description copied from class: AbstractFeature
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl installed to. To access the DialogControl use the AbstractFeature.getDialogControl() method.

Override this method to perform some action on initialization e.g. register public services.

Specified by:
init in class AbstractFeature

prepare

protected void prepare()
Description copied from class: AbstractFeature
Called when the dialog is prepared. Override this method if you want to perform some action on LifeCycle.prepare(), e.g. gain resource and provide services for childs.

The default implementation in AbstractFeature does nothing.

Overrides:
prepare in class AbstractPresentationFeature
See Also:
com.sdm.quasar.client.core.dialog.features.AbstractFeature#prepare()

bindActions

protected void bindActions()
Description copied from class: AbstractPresentationFeature
Binds the actions from the dialog core (e.g. within an action or command manager) to the visual representation. This method is called second in the AbstractPresentationFeature.prepare() method, after AbstractPresentationFeature.bindData() has been called.

Specified by:
bindActions in class AbstractPresentationFeature

bindData

protected void bindData()
Description copied from class: AbstractPresentationFeature
Binds the data from the dialog core (e.g. within a data manager) to the visual representation. This method is called first in the AbstractPresentationFeature.prepare() method

Specified by:
bindData in class AbstractPresentationFeature

configureStates

protected void configureStates()
Description copied from class: AbstractPresentationFeature
Configures states from the dialog core and presentation states and binds them to the visual representation. This method is called last in the AbstractPresentationFeature.prepare() method, after AbstractPresentationFeature.bindData() and AbstractPresentationFeature.bindActions() has been called.

Specified by:
configureStates in class AbstractPresentationFeature