Commit Graph

22 Commits

Author SHA1 Message Date
bao-qian
5ac0837be3 Refactoring ContextMenu
1. Remove ItemDropEvent
2. Remove ShowContextMenus from API
3. Fix context menu item can't be opened ( #535 ), bug introduced from PR #494 (commit 45dbb50)
4. Move open result command and load context menu command back to
MainViewModel
5. unify load context menu logic
6. other performance enhancement and potential bug fixed
2016-03-26 01:26:21 +00:00
bao-qian
32e9a7fa06 Misc 2016-03-23 20:31:59 +00:00
bao-qian
c00583dd98 Remove harder coded text
1. Remove harder coded text, part of refactoring for PR #494
2. Remove other arguments redundant
2016-02-27 00:10:39 +00:00
bao-qian
49ca3bfd00 Refactoring 2016-02-26 23:43:57 +00:00
bao-qian
bdca59b3d7 merge dev 2016-02-26 12:13:04 +00:00
bao-qian
d5ab4093a9 Refactoring for PR #499, part 2 2016-02-26 12:08:56 +00:00
rmterra
a13557d71d Merge branch 'dev' 2016-02-23 23:07:35 -03:00
bao-qian
e2338fcedf Remove yoda conditions
part of refactoring for PR #494
2016-02-22 21:47:58 +00:00
bao-qian
43bfeff2be Remove redundant code 2016-02-22 21:43:37 +00:00
rmterra
cb952b0d3a updates MainWindow visibility bindings to use System.Windows.Visibility instead of bool 2016-02-21 18:27:05 -03:00
bao-qian
320f78b31b Remove redundant code
1. remove this
2. auto property should be only 1 line
3. misc
4. part of refactoring for PR #494
2016-02-21 18:46:04 +00:00
bao-qian
927277a6cd ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 17:10:21 +00:00
bao-qian
d5696010d9 ResultPanelViewModel -> ResultsViewModel, part 2
part of refactoring for PR #494
2016-02-21 17:10:15 +00:00
bao-qian
7e7b41cd8c ResultPanel -> ResultListBox, part 2
part of refactoring for PR #494
2016-02-21 17:04:28 +00:00
bao-qian
4643810b75 ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 14:40:10 +00:00
bao-qian
45246bccd7 ResultPanelViewModel -> ResultsViewModel, part 1
part of refactoring for PR #494
2016-02-21 14:33:18 +00:00
bao-qian
0e6cd0f72a ResultPanel -> ResultListBox, part 2
part of refactoring for PR #494
2016-02-21 14:22:34 +00:00
Colin Liu
6f83bf3af2 Remove ResultOpened related events
Since we are going to refactor plugin-UI interaction mechanism in the
near future, we just keep current implementation as simple as possible.
2016-02-19 23:26:13 +08:00
Colin Liu
d5245f0730 Bug Fixing - The caret is not at the last of search text when switching back from context menu 2016-02-19 22:59:01 +08:00
Colin Liu
ca3bedc9a1 Fix dependency bugs 2016-02-18 19:43:35 +08:00
Colin Liu
df85543337 Implement the support for shortcut key 2016-02-18 19:40:47 +08:00
Colin Liu
8621fe2e3c Refactor MainWindow with MVVM
- Add MVVM structure(BaseViewModel)
- Create ViewModel for MainWindow
- Refactor MainWindow.xaml to support MVVM
- Move PublicAPI implementation from MainViewModel to PublicAPIInstance
2016-02-18 19:30:36 +08:00