public VDActionBase CreateAction(Microsoft.VisualStudio.Modeling.Partition partition) { VDServerAction act = new VDServerAction(partition); act.ServerActionInfo = this; return(act); }
public nHydrateDiagram(Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments) : base(partition, propertyAssignments) { this.Store.UndoManager.AddCanUndoRedoCallback(CanUndoRedoCallback); this.Store.TransactionManager.AddCanCommitCallback(CanCommitCallback); //Custom code so need to override the constructor this.ShowGrid = false; this.DisplayType = true; this.IsLoading = true; this.DiagramAdded += new EventHandler <Microsoft.VisualStudio.Modeling.ElementAddedEventArgs>(nHydrateDiagram_DiagramAdded); TextManagerEvents.RegisterForTextManagerEvents(); }
public EntityAssociationConnector(Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments) : base(partition, propertyAssignments) { }