Ejemplo n.º 1
0
 private void ExtensionReadyCallback(ReadyParams ready)
 {
     executive = ready.CommandExecutive;
     Assert.IsTrue(ready.WorkspaceModels.Any());
     Assert.IsNotNull(ready.CurrentWorkspaceModel);
     ready.NotificationRecieved += (Logging.NotificationMessage obj) => message = obj;
 }
Ejemplo n.º 2
0
 ///<inheritdoc/>
 public virtual void Ready(ReadyParams sp)
 {
     ReadyParamsRef = sp;
     if (IsActive)
     {
         InitializeRules();
     }
 }
 public SampleWindowViewModel(ReadyParams p)
 {
     readyParams = p;
     p.CurrentWorkspaceModel.NodeAdded += CurrentWorkspaceModel_NodesChanged;
     p.CurrentWorkspaceModel.NodeRemoved += CurrentWorkspaceModel_NodesChanged;
 }
Ejemplo n.º 4
0
 public void Ready(ReadyParams sp) { }
Ejemplo n.º 5
0
 ///<inheritdoc/>
 public virtual void Ready(ReadyParams sp)
 {
     currentWorkspace = null;
     ReadyParamsRef   = sp;
 }