Implementing undo/copy/cut in Vex Dialog [message #1062069] |
Wed, 05 June 2013 12:41  |
Eclipse User |
|
|
|
Hi
When implementing a Vex dialog, similar to Florian's magazine sample, is there an easy way to add copy, undo and cut XML?
I tried:
vexWidget.addKeyListener(new KeyListener() {
public void keyReleased(KeyEvent e) {
...
}
but it does the operations on TEXT format and not XML format (it will copy pure text, but not XML).
Putting a breakpoint in EditorManager, I noticed that when using the editor, the base contributor is VexActionBarContributor, but when using Vex inside the dialog, the base contributor is ComponentEditorContributor.
Any feedback would be appreciated.
Many thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03343 seconds