|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.importer.PasteManager
org.xwiki.gwt.wysiwyg.client.plugin.importer.IEPasteManager
public class IEPasteManager
Extends PasteManager in order to perform operations specific to Internet Explorer.
| Constructor Summary | |
|---|---|
IEPasteManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.importer.PasteManager |
|---|
getTextArea, initialize, onCopy, onPaste |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IEPasteManager()
| Method Detail |
|---|
protected List<com.google.gwt.event.shared.HandlerRegistration> addHandlers()
PasteManager
addHandlers 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)
PasteManager
selectPasteContainer in class PasteManagerpasteContainer - the paste container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||