com.sdm.quasar.client.showcase.swing.portal
Interface PortalControlService

All Superinterfaces:
Service

public interface PortalControlService
extends Service

Allows the control of the portal content. This service is only offered to the navigation dialog as configured in the PortalDialogConfiguration.

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

Method Summary
 boolean canReleaseContent()
          Tests if the current content dialog can be released.
 void createContentDialog(java.lang.String dialogId, java.lang.Object context)
          Releases and disposes the old content dialog and creates a new content dialog with the given dialog id and the creation context.
 

Method Detail

createContentDialog

public void createContentDialog(java.lang.String dialogId,
                                java.lang.Object context)
Releases and disposes the old content dialog and creates a new content dialog with the given dialog id and the creation context.

Parameters:
dialogId - the dialog id
context - the creation context

canReleaseContent

public boolean canReleaseContent()
Tests if the current content dialog can be released.

Returns:
true if the current content dialog can be released.