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 153718

Summary: OutlineView & Javadoc & src.zip
Product: platform Reporter: puce <puce>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description puce 2008-11-23 11:56:08 UTC
The Javadoc of OutlineView should be updated:
- Remove or update the phrase "Note: This API is still under development and may change even in incompatible way during
its stabilization phase. The API will be finalized in NetBeans version 6.5." from the class description
- make sure every method has a useful Javadoc comment
- make sure every parameter has a useful Javadoc comment
- make sure every referenced class has a link (Outline, OutlineModel, RowModel)
- enhance the class documentation with comments like the ones from other explorer views
- reference the OutlineView in the Javadoc of other explorer views
- if you download the platform-src zip and configure the IDE to use that zip for sources of the platform, not all
classes can be found (open the OutlineView src and have a look at the errors). This might have the same reason why the
Javadoc cannot find the references.
Comment 1 puce 2008-12-02 14:25:29 UTC
The same is true for TableView.

Please do not close this issue until this has been fixed for TableView as well, or a separate issue has been filed.
Comment 2 puce 2008-12-16 11:53:18 UTC
With the "ETable and Outline" module the following line compiles successfully, but the editor and the Projects-tab show
an error: "setSelectionMode() in javax.swing.JTable cannot be applied to (int)"

myTableView.getTable().getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION)

Comment 3 puce 2008-12-16 14:00:45 UTC
Why has this issue been changed to ENHANEMENT?! At least my last comment show that this is a DEFECT.
Comment 4 Jiri Rechtacek 2008-12-16 14:47:32 UTC
line like outlineView.getOutline ().getSelectionModel ().setSelectionMode
(javax.swing.ListSelectionModel.SINGLE_SELECTION); works for me. If it's marked as an error, file new issue on java/editor.