editor actions that do not disable? [message #296878] |
Tue, 03 January 2006 22:40  |
Eclipse User |
|
|
|
Hi there,
I was wondering if there is any know good way to make editor actions
(org.eclipse.ui.editorActions) which do not automatically disable when a
view part is activated?
The idea is that I want to add a document-specific menu to the top-level
menu. This menu should only appear when the active editor is of the right
type (which is why I'm using the editorAction extension). However, when a
view, such as Outline or Navigator is activated, I still want all of the
document menu items to be enabled. Currently, the Eclipse implementation is
to always disable menu actions when the editor is deactivated ... I'd rather
that it disable the menu only if getActiveEdtor() returns null.
Any suggestions are welcome!
Thanks
Damian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25602 seconds