Summary: | [MPE] [EditorMgmt] No access to active editor if part of MultiPageEditorPart | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Troy Self <tself> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | bokowski, gnosticus, markus.kell.r, n.a.edgar, remy.suen |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 46207 | ||
Bug Blocks: |
Description
Troy Self
2004-07-26 10:06:09 EDT
Exposing getActiveEditor() alone is not enough. Clients also need to be able to register a "page listener" which notifies them on page activation events (similar to the way a part listener notifies on part activation events). As author of the viPlugin I'm directly affected by this API problem. I'm currently reflecting the method and disable the access control to get what I need, which is the second ugly hack to make something like a viPlugin possible. A listener would be needed too, that is true, otherwise I wouldn't find out that the current active page of the MultiPart has changed. Has it already been considered to open the API at these points? Thx, Michael Bartl Moving Dougs bugs Remy is now responsible for watching the [EditorMgmt] component area. (In reply to comment #0) > Please either expose MultiPageEditorPart.getActiveEditor() or add adapter > functionality getAdapter(Class) was added to MPEP in in 3.2. Is the viPlugin working properly now? (In reply to comment #1) > Exposing getActiveEditor() alone is not enough. Clients also need to be able to > register a "page listener" which notifies them on page activation events > (similar to the way a part listener notifies on part activation events). We added listeners in 3.5, see bug 201391. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |