Commit Graph

74 Commits

Author SHA1 Message Date
David Sparer
a50f96606b Resolved bug when editing a tree node name - the context menu would steal keyboard input for its shortcut keys 2016-09-15 13:31:00 -06:00
David Sparer
ecb77238a3 Sorting nodes now works (ascending/descending) 2016-09-15 12:05:46 -06:00
David Sparer
3fe5801366 Context menu item enable/disabled based on node type is now working again 2016-09-15 10:01:20 -06:00
David Sparer
9807231b72 Basic switch has been completed. Most context menu actions are working as expected. 2016-09-15 09:56:04 -06:00
David Sparer
f0f9d2a6aa Little bit of cleanup 2016-09-14 15:07:19 -06:00
David Sparer
7b2a30dcbf Starting external tools from the connections tree now works 2016-09-14 14:52:47 -06:00
David Sparer
b214efc029 Fixed SSH transfer window creation from context menu 2016-09-14 14:41:13 -06:00
David Sparer
e74884bcea any letter or number key press while the connections tree has focus will activate the search box 2016-09-14 14:27:31 -06:00
David Sparer
4accd71744 Hitting escape while the search box has focus switches focus to the connections tree 2016-09-14 14:19:43 -06:00
David Sparer
92360eb2ce Fixed node search bug when no results are returned. 2016-09-14 13:58:51 -06:00
David Sparer
b13382a6ee Hooked up the keydown event with the new connection tree 2016-09-14 13:19:31 -06:00
David Sparer
b9718edfd3 Folders will now expand when scrolling through search results 2016-09-14 13:07:08 -06:00
David Sparer
d3e2976ff9 Scrolling through search results now ensures that the node is visible. Up/down keys no longer move the search box text cursor 2016-09-14 12:38:54 -06:00
David Sparer
a992b41e26 Refactored node searching to a new class 2016-09-14 11:43:40 -06:00
David Sparer
29ad420916 ExpandAll and CollapseAll now work 2016-09-14 10:17:43 -06:00
David Sparer
f743942e65 Fixed ExpandAll 2016-09-14 10:06:56 -06:00
David Sparer
6860ddced3 Reimplemented confirmation boxes when deleting tree nodes 2016-09-14 09:59:57 -06:00
David Sparer
ddf5e38396 Fixed minor bug where folders with no contents had an expand button 2016-09-14 09:44:15 -06:00
David Sparer
9882dda905 Resolved issue with tree actions from the File menu. This is still an ugly fix, but its working 2016-09-14 09:27:05 -06:00
David Sparer
88d005caf6 Rearranged some event handler declarations 2016-09-14 08:59:03 -06:00
David Sparer
eba5fc9caf Slight optimization of updating the tree when deleting a node. Refresh one row rather than the whole tree 2016-09-14 08:39:12 -06:00
David Sparer
3a2f35f697 Duplicating a node now places it under the node that it was copied from, rather than the bottom of the list. (this was the previous behavior) 2016-09-14 08:36:58 -06:00
David Sparer
2ba3e95379 Removed unnecessary tooltip code 2016-09-14 07:59:36 -06:00
David Sparer
dabed1568c Removed another OpenConnection overload that didnt take a connectioninfo object 2016-09-12 10:09:15 -06:00
David Sparer
79dee21f9b Removed empty arg overload for OpenConnection(). We always require a connectioninfo object 2016-09-12 10:07:05 -06:00
David Sparer
6ccbe69c02 Retargeted all Runtime.OpenConnection() to ConnectionInitiator.OpenConnection(). Will help with later iterative refactors 2016-09-12 10:00:53 -06:00
David Sparer
e6f846107a drag-n-drop now supports rearranging nodes. Fixed a small bug with child rearrangement 2016-09-09 14:05:22 -06:00
David Sparer
d439a0df00 Created functions to rearrange child nodes. Moving nodes up/down now working 2016-09-09 12:03:35 -06:00
David Sparer
22f43d63ec Renamed drag-n-drop handlers 2016-09-09 10:32:25 -06:00
David Sparer
07c364cf0b Added support for changing the feedback color when dropping a node is allowed/denied. Removed unnecessary code 2016-09-09 10:18:52 -06:00
David Sparer
d66f333bd5 Refactored drag-n-drop code to its own class 2016-09-09 09:35:13 -06:00
David Sparer
866aeab76b Changed the drag-drop highlight color 2016-09-09 08:25:56 -06:00
David Sparer
cfbcb502d8 Removed unnecessary code 2016-09-08 10:54:36 -06:00
David Sparer
5f8d274b94 Drag and drop now working 2016-09-08 10:50:47 -06:00
David Sparer
bf23d78e41 Node tool tips now working. Removed unnecessary code 2016-09-08 08:32:08 -06:00
David Sparer
08466f5179 Refactored the single node click event handler to handle the CellClick event instead of MouseClick to be more in line with the double click event handler 2016-09-08 08:24:01 -06:00
David Sparer
4ca07d534b Double click actions on tree nodes now working 2016-09-08 08:22:23 -06:00
David Sparer
c8db438cca Fixed single mouse click on node 2016-09-07 15:28:22 -06:00
David Sparer
5ea2304d5e Duplicating nodes now works 2016-09-07 14:36:52 -06:00
David Sparer
ff46d39a6a AddFolder now working 2016-09-07 12:45:44 -06:00
David Sparer
b843a55a25 AddNode is working 2016-09-07 12:41:07 -06:00
David Sparer
73ee88ab08 Removed unnecessary code 2016-09-07 09:28:41 -06:00
David Sparer
1e68483deb - Renamed IParent to IHasParent
- Renamed Add, AddRange, Remove, RemoveRange to include the word "Child" to make it more explicit
- Added SetParent and RemoveParent functions
- DeleteNode now works
2016-09-07 09:24:30 -06:00
David Sparer
73627a680c AfterSelect event working again 2016-09-06 18:56:28 -06:00
David Sparer
e70e8262e6 EnsureRootNodeVisible now works 2016-09-06 18:08:17 -06:00
David Sparer
8a74809ea4 Fixed opening previous connections to work with the tree list view 2016-09-06 18:05:46 -06:00
David Sparer
64ed15ffae Got the tree node images working with the new TreeListView 2016-09-06 15:28:38 -06:00
David Sparer
617ec4cc3e Moved the code for generating a recursive list of children to ContainerInfo where it makes more sense. Left a helper function in ConnectionTreeModel where it may still be useful 2016-09-06 14:55:19 -06:00
David Sparer
6e565c0b31 Fixed support for saving tree node expansion 2016-09-06 14:41:59 -06:00
David Sparer
c2b32de533 Added support for expanding all previously expanded nodes 2016-09-06 14:11:40 -06:00