Class CmsDirectEditEntryPoint

java.lang.Object
org.opencms.gwt.client.A_CmsEntryPoint
org.opencms.ade.editprovider.client.CmsDirectEditEntryPoint
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint

The entry point class for the org.opencms.ade.editprovider.EditProvider module.

Since:
8.0.0
  • Field Details

  • Constructor Details

  • Method Details

    • initializeButtons

      public void initializeButtons()
      Initializes the direct edit buttons.

    • onModuleLoad

      public void onModuleLoad()
      Specified by:
      onModuleLoad in interface com.google.gwt.core.client.EntryPoint
      Overrides:
      onModuleLoad in class A_CmsEntryPoint
      See Also:
      • EntryPoint.onModuleLoad()
    • saveToolbarVisibility

      public void saveToolbarVisibility(boolean visible)
      Writes the tool-bar visibility into the session cache.

      Parameters:
      visible - true if the tool-bar is visible
    • installToolbar

      protected void installToolbar()
      Adds the toolbar to the browser window.

    • isToolbarVisible

      protected boolean isToolbarVisible()
      Checks if the toolbar is visible.

      Returns:
      true if the toolbar is visible
    • processEditableElement

      protected CmsDirectEditButtons processEditableElement(com.google.gwt.dom.client.Element elem)
      Adds the direct edit buttons for a single editable element.

      Parameters:
      elem - the data container element
      Returns:
      the direct edit buttons widget which was created for the element
    • repositionButtons

      protected void repositionButtons()
      Repositions the direct edit buttons.

    • toggleToolbar

      protected void toggleToolbar(boolean show)
      Toggles the visibility of the toolbar.

      Parameters:
      show - true to show the toolbar