This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
MultiKeyGesture management in shortcut management add-in
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/shortcuts@4331 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- Loading branch information
Showing
36 changed files
with
911 additions
and
370 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+7.5 KB
(180%)
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/Thumbs.db
Binary file not shown.
Binary file added
BIN
+3.58 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/block_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.19 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/delete_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.4 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/info_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.1 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/plus_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.38 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/search_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.07 KB
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/tick_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Resources/warning_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Src/Data/GestureFilterMode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace ICSharpCode.ShortcutsManagement.Data | ||
{ | ||
/// <summary> | ||
/// Gesture filtering mode | ||
/// </summary> | ||
public enum GestureFilterMode | ||
{ | ||
/// <summary> | ||
/// Match is successful if template gesture strictly matches compared gesture | ||
/// </summary> | ||
StrictlyMatches, | ||
|
||
/// <summary> | ||
/// Match is successfull if template gesture partly matches compared geture. | ||
/// Template is found in any place within matched gesture | ||
/// </summary> | ||
PartlyMatches, | ||
|
||
/// <summary> | ||
/// match is successfull if matched gesture starts with provided template | ||
/// </summary> | ||
StartsWith | ||
} | ||
} |
17 changes: 14 additions & 3 deletions
17
src/AddIns/Misc/ShortcutsManagement/ShortcutsManagement/Src/Data/IShortcutTreeEntry.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace ICSharpCode.ShortcutsManagement.Data | ||
{ | ||
public interface IShortcutTreeEntry : IComparable, ICloneable | ||
{ | ||
/// <summary> | ||
/// Shortcut entry name displayed in shortcuts tree | ||
/// </summary> | ||
string Name | ||
{ | ||
get; set; | ||
} | ||
|
||
/// <summary> | ||
/// Specifies whether shortcut tree entry is visible | ||
/// </summary> | ||
bool IsVisible | ||
{ | ||
get; set; | ||
} | ||
|
||
/// <summary> | ||
/// Sort shortcut entry sub elements | ||
/// </summary> | ||
void SortSubEntries(); | ||
|
||
/// <summary> | ||
/// Search for shortcut in this shortcut entry and sub-elements | ||
/// </summary> | ||
/// <param name="shortcutId"></param> | ||
/// <returns></returns> | ||
Shortcut FindShortcut(string shortcutId); | ||
} | ||
} |
Oops, something went wrong.