Commit Graph

6 Commits

Author SHA1 Message Date
Jamie Dale
4b3576349f Data table undo/redo support
UETOOL-281 - Improve data table workflows
UETOOL-304 - Data table editor doesn't support undo/redo properly

Undo/redo is now supported when adding, removing, moving, or renaming rows, as well as changing the properties of any given data table row.

This also adds highlighting when filtering the data table view, and slightly adjusts the selected row color so it doesn't blend into the background, as well as ensuring the data table is emptied prior to loading (as undo/redo loads on top of an existing object).

[CL 2511605 by Jamie Dale in Main branch]
2015-04-14 09:30:09 -04:00
Jamie Dale
444ac09bfd Converted the data table editor to use SListView
UETOOL-281 - Improve data table workflows

This is needed as the changes that had been made to SSplitter have been moved to SHeaderRow instead, as they were too specific to go into the generic splitter.

This means that the data table editor now has two list views (one for the row names, one for everything else) which are kept in sync. We have two so that the row names can be anchored to the left of the screen when scrolling the other columns.

[CL 2508489 by Jamie Dale in Main branch]
2015-04-10 13:06:36 -04:00
Jamie Dale
c723773762 Added the ability to re-order rows in the data table editor
UETOOL-295 - Can't re-order rows in a data table

Added an option to move a row up or down, or to the top or bottom of the data table.

Updated the row editor UI to be more consistent with other editors, and re-arranged some of the controls on the toolbar, adding tooltips where appropriate.

Fixed the highlighted row in the data table not matching the selected row editor row when a data table was first opened.

[CL 2497325 by Jamie Dale in Main branch]
2015-03-31 12:04:50 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Maciej Mroz
514f87d5c8 DataTable can be created without importing as a new asset.
#codereview James.Golding

[CL 2370882 by Maciej Mroz in Main branch]
2014-11-26 12:01:02 -05:00
Maciej Mroz
ee4921520c Data Table Row Editor first version.
Editor Utils refactored.
Some fixes in GetDataTableRow.

[CL 2369718 by Maciej Mroz in Main branch]
2014-11-25 09:36:31 -05:00