157 Commits

Author SHA1 Message Date
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
David Sparer
4623853399 Rearranged some code 2016-09-06 13:03:41 -06:00
David Sparer
15c894845c Created function to expand the root node on load. Refactored some delegate code 2016-09-06 12:58:27 -06:00
David Sparer
10597aed2f Renamed the Name column 2016-09-06 12:38:06 -06:00
David Sparer
2810fa7f80 Removed unnecessary tree update function. Added TODO comments for all functionality broken by the change to the TreeListView 2016-09-06 12:33:50 -06:00
David Sparer
1afe93be66 Began implementing TreeListView to replace the regular TreeView for the connection list. This will utilize a virtual list rather than a concrete set of tree nodes to model the connection list hierarchy. 2016-09-06 12:14:11 -06:00
David Sparer
d483c6a726 Merge branch 'develop' into MR-975_Replace_TreeView_with_TreeListview
# Conflicts:
#	mRemoteV1/App/Runtime.cs
#	mRemoteV1/UI/Window/ConnectionTreeWindow.cs
2016-09-02 09:20:58 -06:00
Sean Kaim
0c87954755 code cleanup 2016-08-29 17:19:13 -04:00
David Sparer
8137b0831c Fixed issue where ConnectionTreeModel was not always populated when exporting. 2016-08-24 09:18:28 -06:00
David Sparer
1c5ea9e3ff Re-enabled opening connections from last session 2016-08-23 09:49:39 -06:00
David Sparer
3c69644f21 Re-enable expanding previously expanded folders. Implementation is still not ideal, but it's better 2016-08-23 09:35:08 -06:00
David Sparer
8f685faf9b Refactored to reduce coupling 2016-08-22 16:05:49 -06:00
Sean Kaim
15611cea43 one port scan form (import always available) 2016-08-19 14:52:53 -04:00
David Sparer
08972ff234 New connection entries now get their initial data from the DefaultConnectionInfo 2016-08-15 10:51:56 -06:00
David Sparer
29bd6af2a2 Made ContainerInfo class inherit from ConnectionInfo class 2016-08-11 11:11:31 -06:00
Sean Kaim
0db444e78c MR-854: Code Clean up and logging 2016-06-24 13:08:35 -04:00
Brandon
32da8433bb avoid exception when disposing external tools items 2016-06-01 01:05:15 +02:00
Brandon
485536dc90 fix launching external tools 2016-06-01 00:46:14 +02:00