public class IEPasteManager extends PasteManager implements org.xwiki.gwt.dom.client.internal.ie.BeforePasteHandler
PasteManager in order to perform operations specific to Internet Explorer.| Constructor and Description |
|---|
IEPasteManager() |
| Modifier and Type | Method and Description |
|---|---|
protected List<com.google.gwt.event.shared.HandlerRegistration> |
addHandlers()
Adds all required event handlers and returns their registrations so that they can be unregistered at the end.
|
protected void |
centerPasteContainer(Element pasteContainer)
We added this method just to be able to override it for IE9 so that we can overcome a GWT bug.
|
void |
onBeforePaste(org.xwiki.gwt.dom.client.internal.ie.BeforePasteEvent event) |
protected void |
selectPasteContainer(Element pasteContainer)
Select the contents of the given paste container.
|
getTextArea, initialize, onCopy, onPasteprotected List<com.google.gwt.event.shared.HandlerRegistration> addHandlers()
PasteManageraddHandlers in class PasteManagerpublic void onBeforePaste(org.xwiki.gwt.dom.client.internal.ie.BeforePasteEvent event)
onBeforePaste in interface org.xwiki.gwt.dom.client.internal.ie.BeforePasteHandlerprotected void centerPasteContainer(Element pasteContainer)
Document.getScrollTop() and Document.getScrollLeft() are broken for nested documents in IE9.
centerPasteContainer in class PasteManagerpasteContainer - the paste containerprotected void selectPasteContainer(Element pasteContainer)
PasteManagerselectPasteContainer in class PasteManagerpasteContainer - the paste containerCopyright © 2004–2016 XWiki. All rights reserved.