History log of /haiku/src/apps/debuganalyzer/gui/table/TreeTable.h
Revision Date Author Comments
# df459da6 15-Jul-2015 Rene Gollent <rene@gollent.com>

{Tree,Table}: Add cell rect accessor.

BColumnListView:
- Add helper method for getting the visible rect of a given field.
Refactor SuggestTextPosition to use it.

{Tree,Table}:
- Add wrapper to retrieve table cell rect using the aforementioned
BCLV helper.


# 1d897b8a 15-May-2013 Rene Gollent <anevilyak@gmail.com>

Remove NotifyNodesCleared() again.

- For various reasons this one can be error prone, since it relies on
the model being able to provide the correct row count, which won't be
the case if the subclass calls it after having already removed all its
nodes.

- Optimize Table's RowsRemoved() similarly to TreeTable's for the remove
all rows case.


# 6132f7b9 15-May-2013 Rene Gollent <anevilyak@gmail.com>

Extend Table/TreeTable's interface.

- Add NotifyNodesCleared() hook to table model as a shortcut for
removing all rows.

- TreeTable::_RemoveChildRows() now recognizes the special case of the
above and optimizes it by calling BColumnListView::Clear() rather than
removing each row individually.

- Add TableModelReset()/NotifyTableModelReset(). This notification is
used to tell the underlying table that a full rebuild is needed due to
the model changing completely.


# 489cc356 17-Jul-2012 Rene Gollent <anevilyak@gmail.com>

Add Tooltip support to TreeTable.


# 6309d64e 05-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for mouse down/up events in [Tree]TableListener.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d4d63490 28-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
states into a new model class SchedulingState, which is now used by
ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
snapshot every 1024 events, so that seeking to scheduling state at a time
can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
shows the scheduling activity of all threads and one can zoom in and out.
Looks somewhat ugly and is work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31856 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 20e4297b 24-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added TreeTablePath::RemoveLastComponent().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31745 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa982a13 27-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for tree table model listeners (mutation events), selection, and
collapsing/expanding nodes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31269 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7c5bd63 19-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed Variant to BVariant and moved it to libshared.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31127 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8c2d467e 17-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed AbstractTableModel to AbstractTableModelBase.
* Added listener support to TableModel.
* Table does now listen to the model and adds/removes rows accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31080 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b8b22908 09-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Pulled common base class AbstractTable out of Table and TreeTable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30682 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb2f23e0 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a TreeTable class, wrapping BColumnListView for actual tree-like data
models.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30418 a95241bf-73f2-0310-859d-f6bbb57e9c96


# df459da6ed9a147f1c3fb2ca70429ee20c2d1058 15-Jul-2015 Rene Gollent <rene@gollent.com>

{Tree,Table}: Add cell rect accessor.

BColumnListView:
- Add helper method for getting the visible rect of a given field.
Refactor SuggestTextPosition to use it.

{Tree,Table}:
- Add wrapper to retrieve table cell rect using the aforementioned
BCLV helper.


# 1d897b8a54ff6be1804751a6fc1d48b124475524 15-May-2013 Rene Gollent <anevilyak@gmail.com>

Remove NotifyNodesCleared() again.

- For various reasons this one can be error prone, since it relies on
the model being able to provide the correct row count, which won't be
the case if the subclass calls it after having already removed all its
nodes.

- Optimize Table's RowsRemoved() similarly to TreeTable's for the remove
all rows case.


# 6132f7b96d4165ae8ec6c4ce86d9bc0db7f0d9bc 15-May-2013 Rene Gollent <anevilyak@gmail.com>

Extend Table/TreeTable's interface.

- Add NotifyNodesCleared() hook to table model as a shortcut for
removing all rows.

- TreeTable::_RemoveChildRows() now recognizes the special case of the
above and optimizes it by calling BColumnListView::Clear() rather than
removing each row individually.

- Add TableModelReset()/NotifyTableModelReset(). This notification is
used to tell the underlying table that a full rebuild is needed due to
the model changing completely.


# 489cc3566148e0889a035fc49e5a16b0499e208c 17-Jul-2012 Rene Gollent <anevilyak@gmail.com>

Add Tooltip support to TreeTable.


# 6309d64e37f51b2b639fb2ef1a2eaf46b335f832 05-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for mouse down/up events in [Tree]TableListener.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d4d63490afaa02ff9413bc9d8181bbede81b0610 28-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
states into a new model class SchedulingState, which is now used by
ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
snapshot every 1024 events, so that seeking to scheduling state at a time
can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
shows the scheduling activity of all threads and one can zoom in and out.
Looks somewhat ugly and is work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31856 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 20e4297b610217175cd4edf307312d966d291618 24-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added TreeTablePath::RemoveLastComponent().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31745 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa982a133f7960b66c31fdf0c3232dda3b6287ad 27-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for tree table model listeners (mutation events), selection, and
collapsing/expanding nodes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31269 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7c5bd634b64a6f9407eeb5fa15609e582f86c34 19-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed Variant to BVariant and moved it to libshared.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31127 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8c2d467ed7b82746b535e06531ca1d7eb3e76830 17-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed AbstractTableModel to AbstractTableModelBase.
* Added listener support to TableModel.
* Table does now listen to the model and adds/removes rows accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31080 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b8b22908a4f63e3a4f9781aa324aa1876513510c 09-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Pulled common base class AbstractTable out of Table and TreeTable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30682 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb2f23e0dccc75ca5f45e4af9e1793c71a88b3c2 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a TreeTable class, wrapping BColumnListView for actual tree-like data
models.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30418 a95241bf-73f2-0310-859d-f6bbb57e9c96