|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.jsf.dialog.features.BrowserWindowCompositeFeature
The BrowserWindowCompositeFeature manages the visibility of the
VisualRepresentation in the BrowserWindow using the
BrowserWindowService as follows: The VisualRepresentation is
shown when the dialog is activated and it is hidden, when the dialog is
deactivated. If no VisualRepresentation is supported it is created
by the BrowserWindowCompositeFeature. Here the strategy of showing and
hiding the VisualRepresentation can be configurated in the dialog
configuration file. The BrowserWindow provides two different showing
strategies and four hiding strategies concerning the browser navigation.
These are configurable for the dialog by dialog properties
Boolean.TRUE. Default is not modal. Use modal with care!Boolean.FALSE. Else on backnavigation to this dialog a new instance
of the same dialog will be created and shown. That's the default.#REPLACING_DIALOG_KEYWORD
is set. The value defines the dialog id of the dialog to be created and shown instead.#REPLACING_URL_KEYWORD
is set. The value defines url of the page to be shown instead.
| Constructor Summary | |
BrowserWindowCompositeFeature()
|
|
| Method Summary | |
protected void |
activate()
Called when the dialog is activated. |
protected void |
deactivate()
Called when the dialog is deactivated. |
protected void |
dispose()
Called when the feature or dialog is disposed. |
java.util.Properties |
getBookmarks()
|
protected BrowserWindowService |
getBrowserWindowService()
|
java.lang.String |
getReplacingDialog()
|
java.lang.Object |
getReplacingDialogContext()
|
java.lang.String |
getReplacingUrl()
|
VisualRepresentation |
getVisualRepresentation()
If no VisualRepresentation is set, it is created with configured parameters. |
protected void |
init()
Called when the feature is initializing. |
boolean |
isModal()
|
boolean |
isRecreate()
|
protected void |
prepare()
Called when the dialog is prepared. |
void |
setBookmarks(java.util.Properties parameters)
Set the bookmark parameters. |
void |
setModal(boolean isModal)
|
void |
setPresentationURI(java.lang.String presentationURI)
Set the url of the VisualRepresentation |
void |
setRecreate(boolean recreate)
|
void |
setReplacingDialog(java.lang.String replacingDialog)
|
void |
setReplacingDialogContext(java.lang.Object replacingDialogContext)
|
void |
setReplacingUrl(java.lang.String replacingUrl)
|
void |
setVisualRepresentation(VisualRepresentation visRep)
Set a VisualRepresentation |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, collectSystemInfo, disposeFeature, getDialogControl, isInitialized, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BrowserWindowCompositeFeature()
| Method Detail |
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected void init()
AbstractFeatureDialogControl 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.
init in class AbstractFeatureprotected void prepare()
AbstractFeatureLifeCycle.prepare(),
e.g. gain resource and provide services for childs.
The default implementation in AbstractFeature does nothing.
prepare in class AbstractFeatureprotected void activate()
AbstractFeatureLifeCycle.activate().
The default implementation in AbstractFeature does nothing.
activate in class AbstractFeatureprotected void deactivate()
AbstractFeatureLifeCycle.deactivate()().
The default implementation in AbstractFeature does nothing.
deactivate in class AbstractFeatureprotected BrowserWindowService getBrowserWindowService()
public VisualRepresentation getVisualRepresentation()
VisualRepresentation is set, it is created with configured parameters.
VisualRepresentation of the dialogpublic void setVisualRepresentation(VisualRepresentation visRep)
VisualRepresentation
visRep - the VisualRepresentation to setpublic void setPresentationURI(java.lang.String presentationURI)
VisualRepresentation
presentationURI - the url of the VisualRepresentationpublic java.util.Properties getBookmarks()
public void setBookmarks(java.util.Properties parameters)
parameters - Bookmark parameters of the VisualRepresentationpublic boolean isModal()
public void setModal(boolean isModal)
public boolean isRecreate()
public void setRecreate(boolean recreate)
recreate - the recreate to setpublic java.lang.String getReplacingDialog()
public void setReplacingDialog(java.lang.String replacingDialog)
replacingDialog - the replacingDialog to setpublic java.lang.String getReplacingUrl()
public void setReplacingUrl(java.lang.String replacingUrl)
replacingUrl - the replacingUrl to setpublic java.lang.Object getReplacingDialogContext()
public void setReplacingDialogContext(java.lang.Object replacingDialogContext)
replacingDialogContext - the replacingDialogContext to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||