Class CmsUserSettingsDialog

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>, I_CmsAutoHider, I_CmsFormSubmitHandler

    public class CmsUserSettingsDialog
    extends CmsFormDialog
    implements I_CmsFormSubmitHandler
    Dialog used for changing the user settings.

    • Constructor Detail

      • CmsUserSettingsDialog

        public CmsUserSettingsDialog​(org.opencms.gwt.shared.CmsUserSettingsBean userSettings,
                                     java.lang.Runnable finishAction)
        Creates a new widget instance.

        Parameters:
        userSettings - the current user settings
        finishAction - the action to execute when the user has edited the user settings
    • Method Detail

      • loadAndShow

        public static void loadAndShow​(java.lang.Runnable finishAction)
        Loads the user settings dialog.

        Parameters:
        finishAction - the action to execute after the user has changed his preferences
      • onLoad

        protected void onLoad()
        Overrides:
        onLoad in class com.google.gwt.user.client.ui.Widget
        See Also:
        Widget.onLoad()
      • updateHeight

        protected void updateHeight()
        Updates the panel height depending on the content of the current tab.