Exemple #1
0
        public Controller(PropertyPage props, NodeView nodes, Viewport left, Viewport right) {
            project = new Project();
            viewProps = props;
            viewLeft  = left;
            viewRight = right;
            viewNodes = nodes;
            viewNodes.eSelectionChanged += OnSelectionChange;

            viewNodes.setProject(project);

            buildGraph();
            viewLeft.focusView();
            viewRight.focusView();
            viewNodes.focusView();
        }
Exemple #2
0
 public void setProject(Project p) {
     project = p;
 }