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

    Modifier and Type
    Method
    Description
    void
    finish(String resources)
    Called on dialog close.
    void
    Called when site and or project have been changed.
    void
    leavePage(String targetUri)
    Navigates to the given URI.
    void
    Reloads the current page.
    void
    selectString(String principle)
    Calls the principle select handler and closes the dialog frame.
  • Method Details

    • finish

      void finish(String resources)
      Called on dialog close.

      Parameters:
      resources - the resource ids to update as a ';' separated string.

    • finishForProjectOrSiteChange

      void finishForProjectOrSiteChange(String sitePath, String serverLink)
      Called when site and or project have been changed.

      Parameters:
      sitePath - the site path to the resource to display
      serverLink - the server link to the resource to display
    • leavePage

      void leavePage(String targetUri)
      Navigates to the given URI.

      Parameters:
      targetUri - the target URI
    • reload

      void reload()
      Reloads the current page.

    • selectString

      void selectString(String principle)
      Calls the principle select handler and closes the dialog frame.

      Parameters:
      principle - the principle to select