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 49641

Summary: Display libraries as nodes in j2seproject logical view
Product: java Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker CC: abadea, jrojcek, pjiricka
Priority: P2 Keywords: UI
Version: 4.x   
Hardware: All   
OS: All   
URL: http://projects.netbeans.org/nonav/buildsys/j2se-project-ui-spec-promoe.html#Libraries_Logical_View_Projects_Window
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 52258    
Bug Blocks: 41537, 44034    

Description Jesse Glick 2004-09-28 16:53:12 UTC
May be desirable to display a subnode in the
Projects tab under the project node for each
library in the (primary compile-time) classpath,
and perhaps also for the active platform; the
subnode would show the path to the lib and display
packages in that lib. (TBD what to do if there is
>1 JAR in the lib - maybe show an extra level of
nodes in that case.)

Context menu item on a lib node would let you
remove it. Context menu item on the project node
would let you add a lib.

Config of runtime CP and test CPs would remain in
the properties dialog only.
Comment 1 Jesse Glick 2004-09-28 17:26:52 UTC
*** Issue 48152 has been marked as a duplicate of this issue. ***
Comment 2 jrojcek 2004-12-08 17:10:02 UTC
The spec is in the URL field.
Comment 3 Jesse Glick 2004-12-09 15:39:26 UTC
Expected for 4.1.
Comment 4 Tomas Zezula 2004-12-15 13:29:42 UTC
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/J2SEProjectClassPathExtender.java.diff?r1=1.5&r2=1.6
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/Bundle.properties.diff?r1=1.21&r2=1.22
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java.diff?r1=1.34&r2=1.35
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNode.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesSourceGroup.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ProjectNode.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/RemoveClassPathRootAction.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ShowJavadocAction.java?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java.diff?r1=1.33&r2=1.34
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/resources/platform.gif?rev=1.1&content-type=text/x-cvsweb-markup
http://java.netbeans.org/source/browse/java/project/src/org/netbeans/spi/java/project/support/ui/Bundle.properties.diff?r1=1.7&r2=1.8
Comment 5 Tomas Zezula 2004-12-15 13:30:58 UTC
I didn't add the Find... actions. There should do Find Usages and
should be added by refactoring.
Comment 6 Jesse Glick 2004-12-15 13:37:37 UTC
Make sure refactoring team knows this... file an issue as appropriate.
Comment 7 Tomas Zezula 2004-12-15 15:11:47 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java,v
 <--  ActionFilterNode.java
Comment 8 Tomas Zezula 2004-12-15 15:13:09 UTC
I've talked with Jano about Find action. It was a bug in the UI Spec.
There should not be Find Action on files.
Comment 9 Tomas Zezula 2004-12-16 12:59:32 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java,v
 <--  ActionFilterNode.java
new revision: 1.3; previous revision: 1.2
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNode.java,v
 <--  LibrariesNode.java
new revision: 1.2; previous revision: 1.1
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesSourceGroup.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesSourceGroup.java,v
 <--  LibrariesSourceGroup.java
new revision: 1.2; previous revision: 1.1
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java,v
 <--  PlatformNode.java
new revision: 1.2; previous revision: 1.1
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ProjectNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ProjectNode.java,v
 <--  ProjectNode.java
new revision: 1.2; previous revision: 1.1
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/RemoveClassPathRootAction.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/RemoveClassPathRootAction.java,v
 <--  RemoveClassPathRootAction.java
new revision: 1.2; previous revision: 1.1
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ShowJavadocAction.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ShowJavadocAction.java,v
 <--  ShowJavadocAction.java
new revision: 1.2; previous revision: 1.1
done
Comment 10 Tomas Zezula 2004-12-16 13:00:20 UTC
A've added javdoc for better reuse.
Comment 12 Tomas Zezula 2005-01-04 15:50:00 UTC
Added ShowJavadocAction to "Platform Node"
Platform archive files have correct icon.
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNode.java,v
 <--  LibrariesNode.java
new revision: 1.4; previous revision: 1.3
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java,v
 <--  PlatformNode.java
new revision: 1.3; previous revision: 1.2
done