Class CmsElementSettingsDialog
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- org.opencms.gwt.client.ui.CmsPopup
-
- org.opencms.gwt.client.ui.input.form.CmsFormDialog
-
- org.opencms.ade.containerpage.client.ui.CmsElementSettingsDialog
-
- 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_CmsFormWidgetMultiFactory
public class CmsElementSettingsDialog extends CmsFormDialog implements I_CmsFormWidgetMultiFactory
The element settings dialog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsElementSettingsDialog.FieldPanel
A panel which adds icons with tooltips containing the field description to the rows.protected static class
CmsElementSettingsDialog.GroupOption
The model group options.static class
CmsElementSettingsDialog.NoFormatterException
Exception for the case where no formatter configuration is available.-
Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.CmsPopup
CmsPopup.HistoryHandler
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.client.ui.input.form.CmsFormDialog
m_form, m_formHandler, MAX_DIALOG_WIDTH, STANDARD_DIALOG_WIDTH
-
Fields inherited from class org.opencms.gwt.client.ui.CmsPopup
DEFAULT_WIDTH, m_closeCommand, m_notificationWidgetInstalled, m_windowWidth, WIDE_WIDTH
-
-
Constructor Summary
Constructors Constructor Description CmsElementSettingsDialog(CmsContainerpageController controller, CmsContainerPageElementPanel elementWidget, org.opencms.ade.containerpage.shared.CmsElementSettingsConfig settingsConfig, java.util.Map<java.lang.String,java.lang.String> settingPresets)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
center()
I_CmsFormWidget
createFormWidget(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> widgetParams, com.google.common.base.Optional<java.lang.String> defaultValue)
Creates a new form widget.void
setPopupPosition(int left, int top)
void
show()
-
Methods inherited from class org.opencms.gwt.client.ui.input.form.CmsFormDialog
getForm, getOkButton, initContent, onClickCancel, onClickOk, registerPreviewHandler, removePreviewHandler, setFormHandler, setOkButtonEnabled
-
Methods inherited from class org.opencms.gwt.client.ui.CmsPopup
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, centerHorizontally, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, clear, continueDragging, createDialogNotificationWidget, doAttachChildren, doDetachChildren, endDragging, getAvailableHeight, getCaption, getChildren, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, getWidth, hasCaption, hide, hide, insert, insert, insertFront, installNotificationWidget, iterator, onBrowserEvent, onDetach, onPreviewNativeEvent, remove, remove, removeAllButtons, removeButton, removePadding, setBackgroundColor, setCaption, setHeight, setHeight, setMainContent, setPixelSize, setPositionFixed, setSize, setSpecialBackgroundClass, setUseAnimation, setWidget, setWidth, setWidth, showArrow, wrapWithBorderPadding
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeTo
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opencms.gwt.client.ui.I_CmsAutoHider
addAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled
-
-
-
-
Constructor Detail
-
CmsElementSettingsDialog
public CmsElementSettingsDialog(CmsContainerpageController controller, CmsContainerPageElementPanel elementWidget, org.opencms.ade.containerpage.shared.CmsElementSettingsConfig settingsConfig, java.util.Map<java.lang.String,java.lang.String> settingPresets) throws CmsElementSettingsDialog.NoFormatterException
Constructor.- Parameters:
controller
- the container page controllerelementWidget
- the element panelsettingsConfig
- the element setting configurationsettingPresets
- the presets for settings- Throws:
CmsElementSettingsDialog.NoFormatterException
- if no formatter configuration is found for the element
-
-
Method Detail
-
center
public void center()
- Overrides:
center
in classCmsFormDialog
- See Also:
CmsFormDialog.center()
-
createFormWidget
public I_CmsFormWidget createFormWidget(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> widgetParams, com.google.common.base.Optional<java.lang.String> defaultValue)
Description copied from interface:I_CmsFormWidgetMultiFactory
Creates a new form widget.- Specified by:
createFormWidget
in interfaceI_CmsFormWidgetMultiFactory
- Parameters:
key
- the key identifying the widget typewidgetParams
- the widget initialization parametersdefaultValue
- an optional default value- Returns:
- the created form widget
- See Also:
I_CmsFormWidgetMultiFactory.createFormWidget(java.lang.String, java.util.Map, com.google.common.base.Optional)
-
setPopupPosition
public void setPopupPosition(int left, int top)
- Overrides:
setPopupPosition
in classcom.google.gwt.user.client.ui.PopupPanel
- See Also:
PopupPanel.setPopupPosition(int, int)
-
show
public void show()
- Overrides:
show
in classCmsFormDialog
- See Also:
CmsFormDialog.show()
-
-