public void Initialize(IIconBarObject context, MenuItem menuItem) { var bpm = context as ILCodeBreakpoint; if (bpm != null) { EnableDisableBreakpointDebugCtxMenuCommand.InitializeMenuItem(this, bpm.IsEnabled, 1, menuItem, BackgroundType.ContextMenuItem); } }
public void Execute(IIconBarObject context) { var bpm = context as ILCodeBreakpoint; if (bpm != null) { BreakpointManager.Instance.Remove(bpm); } }
public void Execute(IIconBarObject context) { var bpm = context as ILCodeBreakpoint; if (bpm != null) { bpm.IsEnabled = !bpm.IsEnabled; } }
public bool IsEnabled(IIconBarObject context) { return(IsVisible(context)); }
public bool IsVisible(IIconBarObject context) { return(context is ILCodeBreakpoint); }
public void Initialize(IIconBarObject context, MenuItem menuItem) { var bpm = context as ILCodeBreakpoint; if (bpm != null) EnableDisableBreakpointDebugCtxMenuCommand.InitializeMenuItem(this, bpm.IsEnabled, 1, menuItem, BackgroundType.ContextMenuItem); }
public void Execute(IIconBarObject context) { var bpm = context as ILCodeBreakpoint; if (bpm != null) bpm.IsEnabled = !bpm.IsEnabled; }
public bool IsEnabled(IIconBarObject context) { return IsVisible(context); }
public bool IsVisible(IIconBarObject context) { return context is ILCodeBreakpoint; }
public void Execute(IIconBarObject context) { var bpm = context as ILCodeBreakpoint; if (bpm != null) BreakpointManager.Instance.Remove(bpm); }