problem about "Ctrl +V" in multipage editor [message #218011] |
Tue, 30 March 2004 04:32  |
Eclipse User |
|
|
|
Originally posted by: jiaoy.necas.nec.com.cn
Hi
I have an editor extends MultiPageEditorPart. In my editor,
there are one source page which extends TextEditor, while, other
pages contain controls such as Table,Text. I use contributorClass
same as the one supplied example of MultiPageEditor.
In my own MultiPageEditor, when user selects a page containing Text
control,
"Copy" and "Paste" menu items in "Edit" Menu are disabled. The strange
thing
is that if user presses "Ctrl +V" in a Text control, contents in clipboard
will be pasted into source page. why this happens?
I find the same problem in the example of MultiPageEditor in Eclipse
package.
What should i do if I want to forbid clipboard operation in pages other
than source page and prevent the case I just describe happen?
Any comments are welcome.
thanks joesph
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03389 seconds