Package org.opencms.gwt.client.util
Interface I_CmsEmbeddedDialogHandlerJsCallbacks
-
- All Known Implementing Classes:
CmsEmbeddedDialogHandler
@JsType(isNative=true) public interface I_CmsEmbeddedDialogHandlerJsCallbacks
Interface used to export callback methods from CmsEmbeddedDialogHandler as JavaScript methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finish(java.lang.String resources)
Called on dialog close.void
finishForProjectOrSiteChange(java.lang.String sitePath, java.lang.String serverLink)
Called when site and or project have been changed.void
leavePage(java.lang.String targetUri)
Navigates to the given URI.void
reload()
Reloads the current page.void
selectString(java.lang.String principle)
Calls the principle select handler and closes the dialog frame.
-
-
-
Method Detail
-
finish
void finish(java.lang.String resources)
Called on dialog close.- Parameters:
resources
- the resource ids to update as a ';' separated string.
-
finishForProjectOrSiteChange
void finishForProjectOrSiteChange(java.lang.String sitePath, java.lang.String serverLink)
Called when site and or project have been changed.- Parameters:
sitePath
- the site path to the resource to displayserverLink
- the server link to the resource to display
-
leavePage
void leavePage(java.lang.String targetUri)
Navigates to the given URI.- Parameters:
targetUri
- the target URI
-
reload
void reload()
Reloads the current page.
-
selectString
void selectString(java.lang.String principle)
Calls the principle select handler and closes the dialog frame.- Parameters:
principle
- the principle to select
-
-