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 268804

Summary: Patch for OutlineView Model
Product: platform Reporter: scanti <scanti>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: The diff with the changes

Description scanti 2016-11-03 14:13:07 UTC
Created attachment 162748 [details]
The diff with the changes

We needed to add some features in the OutlineView Model that were not available yet, so we patched the spi.viewmodel module to add them. We added these interfaces in particular:

LookupNodeModel: it allows us to customize the Lookup of the nodes

ColumnsModel: it allows us to customize the columns of the outline

IconNodeModel: it allows us to use Image objects as node icons

SelectionModel: it allows us to listen to selection changes 

Besides this, most of the code has been reformatted to be more java8 friendly