com.sdm.quasar.client.showcase.swing.embedding.dialogindialog
Class DialogInDialog

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.showcase.swing.embedding.dialogindialog.DialogInDialog
All Implemented Interfaces:
Feature, SystemInfoProvider

public class DialogInDialog
extends AbstractFeature

This is an example of a dialog that includes another dialog, in this case a simple HtmlMessagePane.

This dialog uses a com.sdm.quasar.client.core.embedding.MultipleActivationControllerFeature to manage the sub dialog lifecycle and a PanelCompositeFeature to manage the visual embedding.

Version:
1.0
Author:
Bernd Olleck, sd&m AG

Constructor Summary
DialogInDialog()
           
 
Method Summary
protected  void dispose()
          Called when the feature or dialog is disposed.
protected  void init()
          Called when the feature is initializing.
protected  void prepare()
          Creates our visual representation and sets up the MultipleActivationControllerFeature and the PanelCompositeFeature.
protected  void release()
          Called when the dialog is released.
 
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

DialogInDialog

public DialogInDialog()
Method Detail

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
See Also:
com.sdm.quasar.client.core.dialog.features.AbstractFeature#init()

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
See Also:
com.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()

prepare

protected void prepare()
Creates our visual representation and sets up the MultipleActivationControllerFeature and the PanelCompositeFeature.

Overrides:
prepare in class AbstractFeature

release

protected void release()
Description copied from class: AbstractFeature
Called when the dialog is released. Override this method if you want to perform some action on LifeCycle.release()(), e.g. unregister services.

The default implementation in AbstractFeature does nothing.

Overrides:
release in class AbstractFeature