Beispiel #1
0
        public VDActionBase CreateAction(Microsoft.VisualStudio.Modeling.Partition partition)
        {
            VDServerAction act = new VDServerAction(partition);

            act.ServerActionInfo = this;
            return(act);
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
 public EntityAssociationConnector(Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments)
     : base(partition, propertyAssignments)
 {
 }