Example #1
0
        public void Initialize(IIconBarObject context, MenuItem menuItem)
        {
            var bpm = context as ILCodeBreakpoint;

            if (bpm != null)
            {
                EnableDisableBreakpointDebugCtxMenuCommand.InitializeMenuItem(this, bpm.IsEnabled, 1, menuItem, BackgroundType.ContextMenuItem);
            }
        }
Example #2
0
        public void Execute(IIconBarObject context)
        {
            var bpm = context as ILCodeBreakpoint;

            if (bpm != null)
            {
                BreakpointManager.Instance.Remove(bpm);
            }
        }
Example #3
0
        public void Execute(IIconBarObject context)
        {
            var bpm = context as ILCodeBreakpoint;

            if (bpm != null)
            {
                bpm.IsEnabled = !bpm.IsEnabled;
            }
        }
Example #4
0
 public bool IsEnabled(IIconBarObject context)
 {
     return(IsVisible(context));
 }
Example #5
0
 public bool IsVisible(IIconBarObject context)
 {
     return(context is ILCodeBreakpoint);
 }
Example #6
0
		public void Initialize(IIconBarObject context, MenuItem menuItem) {
			var bpm = context as ILCodeBreakpoint;
			if (bpm != null)
				EnableDisableBreakpointDebugCtxMenuCommand.InitializeMenuItem(this, bpm.IsEnabled, 1, menuItem, BackgroundType.ContextMenuItem);
		}
Example #7
0
		public void Execute(IIconBarObject context) {
			var bpm = context as ILCodeBreakpoint;
			if (bpm != null)
				bpm.IsEnabled = !bpm.IsEnabled;
		}
Example #8
0
		public bool IsEnabled(IIconBarObject context) {
			return IsVisible(context);
		}
Example #9
0
		public bool IsVisible(IIconBarObject context) {
			return context is ILCodeBreakpoint;
		}
Example #10
0
		public void Execute(IIconBarObject context) {
			var bpm = context as ILCodeBreakpoint;
			if (bpm != null)
				BreakpointManager.Instance.Remove(bpm);
		}