예제 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="T:Dataweb.NShape.Controllers.ModelController" />.
 /// </summary>
 public ModelController(DiagramSetController diagramSetController)
     : this()
 {
     if (diagramSetController == null)
     {
         throw new ArgumentNullException("diagramSetController");
     }
     DiagramSetController = diagramSetController;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="T:Dataweb.NShape.Controllers.DiagramController" />.
 /// </summary>
 /// <param name="owner"></param>
 /// <param name="diagram"></param>
 public DiagramController(DiagramSetController owner, Diagram diagram)
 {
     if (owner == null)
     {
         throw new ArgumentNullException("owner");
     }
     this.owner   = owner;
     this.diagram = diagram;
 }
예제 #3
0
 public DiagramWrapper(
     DiagramSetController controller,
     Project project,
     Display display
     )
 {
     Controller = controller;
     Project    = project;
     Display    = display;
 }
예제 #4
0
        public FlowView(
            DiagramSetController controller,
            Project project,
            Display display,
            ShapeTemplatesFactory templates
            )
            : base(controller, project, display)
        {
            this.templates = templates;

            presentersManager = new PresentersManager(project);
        }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of <see cref="T:Dataweb.NShape.Controllers.DiagramController" />.
 /// </summary>
 /// <param name="owner"></param>
 /// <param name="diagram"></param>
 public DiagramController(DiagramSetController owner, Diagram diagram)
 {
     if (owner == null)
     {
         throw new ArgumentNullException("owner");
     }
     if (owner.Project == null)
     {
         throw new InvalidOperationException("DiagramSetController's Project property is not set.");
     }
     this.owner   = owner;
     this.diagram = diagram;
     if (((IEntity)diagram).Id != null)
     {
         owner.Project.Repository.GetDiagramShapes(this.diagram);
     }
 }
예제 #6
0
 public QuestFlowView(DiagramSetController controller, Project project, Display display)
     : base(controller, project, display)
 {
 }