com.sdm.quasar.client.showcase.swing
Class ShowcaseSessionFeature

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.showcase.swing.ShowcaseSessionFeature
All Implemented Interfaces:
Feature, Service, ShowcasePortalCreationService, SystemInfoProvider

public class ShowcaseSessionFeature
extends AbstractFeature
implements ShowcasePortalCreationService

This feature represents the session in the swing showcase. It implements the ShowcasePortalCreationService to create a new portal window. It defines the navigation menu displayed in the left side of the portal (see #MENU).

Version:
1.0
Author:
Thomas Wolf, sd&m AG, Martin Haft, sd&m AG, Bernd Olleck, sd&m AG

Constructor Summary
ShowcaseSessionFeature()
           
 
Method Summary
 DialogInstanceId createNewPortal()
          Create a new portal dialog and configure the navigation menu.
protected  void dispose()
          Called when the feature or dialog is disposed.
protected  void init()
          Called when the feature is initializing.
 
Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowcaseSessionFeature

public ShowcaseSessionFeature()
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()

createNewPortal

public DialogInstanceId createNewPortal()
Create a new portal dialog and configure the navigation menu.

Specified by:
createNewPortal in interface ShowcasePortalCreationService
Returns:
dialog instance id of the new portal