|
org.netbeans.spi.viewmodel/2 1.22 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| TreeTableView Model | |
|---|---|
| org.netbeans.spi.viewmodel | Defines API for sharing of Tree Table View. |
Support for tree table view. The view is described via models - TreeModel, TableModel and NodeModel. Filters can be applied to each model - TreeModelFilter, TableModelFilter and NodeModelFilter. The view listens on changes in the models and filters and updates itself accordingly.
This API introduced AsynchronousModelFilter that can be used by clients to override the default threading of their model implementations.
This API change allows to change a node selection in the tree table view. SelectionChanged event is used to select a set of nodes (rows).
Added classes:
org.netbeans.spi.viewmodel.ModelEvent.SelectionChanged,
This API change allows to display check-boxes next to the node icons in the tree column.
Added classes:
org.netbeans.spi.viewmodel.CheckNodeModel,
org.netbeans.spi.viewmodel.CheckNodeModelFilter
This API change is necessary for the redesign of the debugger UI and to be able to better control node expansions.
Added classes:
org.netbeans.spi.viewmodel.TreeExpansionModelFilter
Changed classes:
Models.TreeFeatures - final class with a private
constructor changed to an abstract class.
Added methods:
Models.createNodes(),
Added fields:
ModelEvent.EXPANSION_MASK
Add ability to in-place rename and copy/paste functionality to nodes
in debugger views. Also, the models needs to have a way to provide
an icon with arbitrary extension. Therefore following methods are
provided with new ExtendedNodeModel and ExtendedNodeModelFilter interfaces
and are also added into CompoundModel:
canRename(), canCopy(), canCut(),
clipboardCopy(), clipboardCut(), getPasteTypes(),
setName(), getIconBaseWithExtension().
|
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.spi.viewmodel/2 1.22 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||