Exemplo n.º 1
0
 protected AbstractGraphToolsCommand(GraphToolType toolType)
 {
     _graphToolType = toolType;
     if (null != Current.Workbench)
     {
         Current.Workbench.PropertyChanged += EhWorkbenchContentChanged;
         EhWorkbenchContentChanged(this, new PropertyChangedEventArgs(nameof(Current.Workbench.ActiveViewContent)));
     }
 }
Exemplo n.º 2
0
		protected AbstractGraphToolsCommand(GraphToolType toolType)
		{
			_graphToolType = toolType;
			if (null != Current.Workbench)
			{
				Current.Workbench.ActiveWorkbenchWindowChanged += new EventHandler(this.EhWorkbenchContentChanged);
				this.EhWorkbenchContentChanged(this, EventArgs.Empty);
			}
		}
Exemplo n.º 3
0
		public void SetGraphToolFromInternal(GraphToolType value)
		{
			CurrentGraphTool = value;
		}