Beispiel #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();
        }
Beispiel #2
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();
        }