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.

Bug 43286 - Implement Open Project alert
Summary: Implement Open Project alert
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL: http://projects.netbeans.org/nonav/bu...
Keywords:
Depends on:
Blocks: 41835
  Show dependency tree
 
Reported: 2004-05-14 16:43 UTC by jrojcek
Modified: 2006-03-24 10:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A badge indicating a project with broken references. (82 bytes, image/gif)
2004-05-31 13:40 UTC, jrojcek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2004-05-14 16:43:22 UTC
This alert is shown when a project with missing references is 
opened.
Comment 1 David Konecny 2004-05-20 10:52:20 UTC
Jano, the UI spec does not say what the alert should say. Feel free to
update budle key MSG_Broken_References in
java/j2seproject/src/org/netbeans/modules/java/j2seproject/Bundle.properties
with whatever text you want.

If you open multiple projects at once it is hard to tell user which
projects has broken references, so I changed color of project name to
red in case it is broken.

Also there is a heuristic to not show message box more than once when
multiple projects are open at once.

Implemented in:
java/j2seproject/src/org/netbeans/modules/java/j2seproject/Bundle.properties;
new revision: 1.6; previous revision: 1.5
java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java;
new revision: 1.21; previous revision: 1.20
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java;
new revision: 1.13; previous revision: 1.12
projects/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java;
new revision: 1.12; previous revision: 1.11
Comment 2 jrojcek 2004-05-20 17:32:20 UTC
It does say that:
http://projects.netbeans.org/nonav/buildsys/j2se-project-ui-
spec.html#Alert_Open_Project
Comment 3 David Konecny 2004-05-20 18:14:43 UTC
Sorry, I had to be using older version from my browser cache. Now I
can see it. I'm going to update the impl.
Comment 4 David Konecny 2004-05-20 20:11:33 UTC
I changed the text.

I need badge. At the moment project name is in red.

Implemented in:
src/org/netbeans/modules/java/j2seproject/Bundle.properties;
new revision: 1.8; previous revision: 1.7
src/org/netbeans/modules/java/j2seproject/J2SEProject.java;
new revision: 1.22; previous revision: 1.21
src/org/netbeans/modules/java/j2seproject/ui/BrokenReferencesAlertPanel.form;
initial revision: 1.1
src/org/netbeans/modules/java/j2seproject/ui/BrokenReferencesAlertPanel.java;
initial revision: 1.1
src/org/netbeans/modules/java/j2seproject/ui/Bundle.properties;
new revision: 1.10; previous revision: 1.9
src/org/netbeans/modules/java/j2seproject/ui/FoldersListSettings.java;
new revision: 1.4; previous revision: 1.3

Comment 5 David Konecny 2004-05-20 20:12:22 UTC
Either the red color is enough or attach a badge. Thx.
Comment 6 jrojcek 2004-05-31 13:40:09 UTC
Created attachment 15357 [details]
A badge indicating a project with broken references.
Comment 7 jrojcek 2004-05-31 13:43:22 UTC
The badge is attached. It should be in "B1 Top" area of project icon:

http://ui.netbeans.org/nonav/docs/badging/badging.html
Comment 8 David Konecny 2004-06-01 13:18:37 UTC
Fixed.

The badge is IMHO not very good - it is hardly visible on J2SE project
node.
Comment 9 Marian Mirilovic 2005-12-20 15:47:02 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.