Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs
index 47aea630e4..00d9cb82ef 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandEntry.cs
@@ -30,6 +30,15 @@ using System;
namespace MonoDevelop.Components.Commands
{
+ public enum CommandEntryDisplayType
+ {
+ Default,
+ TextOnly,
+ IconOnly,
+ IconHasPriority,
+ IconAndText
+ }
+
public class CommandEntry
{
object cmdId;
@@ -66,6 +75,11 @@ namespace MonoDevelop.Components.Commands
get { return disabledVisible; }
set { disabledVisible = value; }
}
+
+ public CommandEntryDisplayType DispayType {
+ get;
+ set;
+ }
public virtual Command GetCommand (CommandManager manager)
{