Class CmsDroppedElementModeSelectionDialog
- 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.CmsCreateModeSelectionDialog
-
- org.opencms.ade.containerpage.client.ui.CmsDroppedElementModeSelectionDialog
-
- 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
public class CmsDroppedElementModeSelectionDialog extends CmsCreateModeSelectionDialog
Dialog for selecting between copying and reusing an element dropped from the clipboard into the page.
-
-
Nested Class Summary
-
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.CmsPopup
DEFAULT_WIDTH, m_closeCommand, m_notificationWidgetInstalled, m_windowWidth, WIDE_WIDTH
-
-
Constructor Summary
Constructors Constructor Description CmsDroppedElementModeSelectionDialog(org.opencms.gwt.shared.CmsListInfoBean info, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> createModeCallback)
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addButtons()
Adds the dialog buttons.java.lang.String
messageAskMode()
Message accessor.java.lang.String
messageCaption()
Message accessor.java.lang.String
messageCopy()
Message accessor.java.lang.String
messageNew()
Message accessor.static void
showDialog(org.opencms.util.CmsUUID referenceId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> createModeCallback)
Shows the dialog.-
Methods inherited from class org.opencms.gwt.client.ui.CmsCreateModeSelectionDialog
createButton
-
Methods inherited from class org.opencms.gwt.client.ui.CmsPopup
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, center, 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, show, 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, setPopupPosition, 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
-
CmsDroppedElementModeSelectionDialog
public CmsDroppedElementModeSelectionDialog(org.opencms.gwt.shared.CmsListInfoBean info, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> createModeCallback)
Creates a new instance.- Parameters:
info
- the file informationcreateModeCallback
- the callback to call with the result
-
-
Method Detail
-
showDialog
public static void showDialog(org.opencms.util.CmsUUID referenceId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> createModeCallback)
Shows the dialog.- Parameters:
referenceId
- the structure id of the resource for which to load the dialogcreateModeCallback
- the callback to call with the result
-
messageAskMode
public java.lang.String messageAskMode()
Description copied from class:CmsCreateModeSelectionDialog
Message accessor.- Overrides:
messageAskMode
in classCmsCreateModeSelectionDialog
- Returns:
- the message
- See Also:
CmsCreateModeSelectionDialog.messageAskMode()
-
messageCaption
public java.lang.String messageCaption()
Description copied from class:CmsCreateModeSelectionDialog
Message accessor.- Overrides:
messageCaption
in classCmsCreateModeSelectionDialog
- Returns:
- the message
- See Also:
CmsCreateModeSelectionDialog.messageCaption()
-
messageCopy
public java.lang.String messageCopy()
Description copied from class:CmsCreateModeSelectionDialog
Message accessor.- Overrides:
messageCopy
in classCmsCreateModeSelectionDialog
- Returns:
- the message
- See Also:
CmsCreateModeSelectionDialog.messageCopy()
-
messageNew
public java.lang.String messageNew()
Description copied from class:CmsCreateModeSelectionDialog
Message accessor.- Overrides:
messageNew
in classCmsCreateModeSelectionDialog
- Returns:
- the message
- See Also:
CmsCreateModeSelectionDialog.messageNew()
-
addButtons
protected void addButtons()
Description copied from class:CmsCreateModeSelectionDialog
Adds the dialog buttons.- Overrides:
addButtons
in classCmsCreateModeSelectionDialog
- See Also:
CmsCreateModeSelectionDialog.addButtons()
-
-