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