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: | [select document in] Implement Error Message if node can't be found according to UI specification | ||
---|---|---|---|
Product: | projects | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Generic Projects UI | Assignee: | Petr Hrebejk <phrebejk> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jrojcek |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 |
Description
Marian Mirilovic
2004-06-21 13:32:39 UTC
I've reported the same against Favorites (issue 45466) First of all, the action should be disabled if selected document can't be located in Projects/ Files window. The error message should only be used if it is not possible to decide whether the document has a node in Projects/Files window or not. No sure what you exactly mean. But notice that finding out whether the node can be found in the tabs may be a bit time consuming to do it in each call of isEnabled or when the global Lookup changes. So rather do not plan to have it disabled. Sure, I don't count on it ;-), but... * could it be disbled if the user starts up the IDE for the first time and there is no project open and only Welcome screen in the document area? * or if a file doesn't belong to any project? Shows inormatioal message in the status line. Checking in projectui/src/org/netbeans/modules/project/ui/Bundle.properties; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.42; previous revision: 1.41 done Checking in projectui/src/org/netbeans/modules/project/ui/ProjectTab.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectTab.java,v <-- ProjectTab.java new revision: 1.13; previous revision: 1.12 done Processing log script arguments... More commits to come... Checking in projectui/src/org/netbeans/modules/project/ui/actions/SelectNodeAction.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/SelectNodeAction.java,v <-- SelectNodeAction.java new revision: 1.3; previous revision: 1.2 done verified in [nb_dev](200408231800) it works fine in Projects and Files view, BUT it doesn't work in Favorites (issue 47832) and Versioning (issue 47831) |