react on editor action "new Editor" [message #334854] |
Tue, 03 March 2009 10:37  |
Eclipse User |
|
|
|
Hello,
in eclipse, there exists a popup menu with the entries 'New Editor',
'close', 'close all' and so on (you must right click on the opened editor
tab to get this menu). i've searched this newsgroup to figure out how to
disable this menu. but there is no way to do this.
in my application, i have an editor with an context menu and some logic.
if i choose "New Editor" it will open a new editor. the problem is that
the new one is not initialized properly. it doesn't have an context menu
and other necessary stuff.
is there a way to react on the event wich is triggerd if someone clicks on
the menu entry "New Editor"?
if yes, i could write something like this:
public void onNewEditor() {
// initialize contextmenu and other stuff
}
i hope you can help me out.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03690 seconds