This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | lack of API to find whether a given mode lies in editor area | ||
---|---|---|---|
Product: | platform | Reporter: | santhosh <santhosh> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | saubrecht |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | ToDo.png |
Description
santhosh
2006-08-18 20:59:53 UTC
Created attachment 33078 [details]
ToDo.png
see the attached screenshot, in which "TODO tab" fails to list the todo in the current source file; the todo list might be looking only for selected TopComponents in "editor" mode; It should actually look for selected components in all modes which lies in "editor" area; But the OpenIDE lacks any api to find whether a given mode lies in editor area or not; I am also developing a netbeans based application, and my QA team reported similar bug for me; Yes, but this is RFE, so changing to enhancement type. But the use case seems strange to me - todo window should show todos only for selected editor top component, is that right? So just listen to TopComponent.Registry and no API is needed IMHO. Or am I missing smt? moving opened issues from TM <= 6.1 to TM=Dev Implemented (I believe by saubrecht) by methods boolean WindowManager.isEditorMode(mode) boolean WindowManager.isEditorTopComponent(tc) |