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 - Patch for OutlineView Model
Summary: Patch for OutlineView Model
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-03 14:13 UTC by scanti
Modified: 2016-11-03 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The diff with the changes (772.89 KB, patch)
2016-11-03 14:13 UTC, scanti
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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