Examples of selectVertex()


Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.GraphPane.selectVertex()

            if (mouseLocation.equals(SelectingTool.left)) {
                if (!SelectingTool.isOnlySuperVerticesSelection) {
                    Set<SimpleVertex> simpleVertices = graphPane.getGraphModel().getSimpleVertices();
                    for (IVertex v : simpleVertices) {
                        if (v.hitTest(mouseLocation)) {
                            graphPane.selectVertex(v);
                            break;
                        }
                    }
                }
                Set<SuperVertex> vertices = graphPane.getGraphModel().getSuperVertices();
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.GraphPane.selectVertex()

                    }
                }
                Set<SuperVertex> vertices = graphPane.getGraphModel().getSuperVertices();
                for (IVertex v : vertices) {
                    if (v.hitTest(mouseLocation)) {
                        graphPane.selectVertex(v);
                        break;
                    }
                }

            } else {
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.GraphPane.selectVertex()

            } else {
                Set<SuperVertex> superVertices = graphPane.getGraphModel().getSuperVertices();
                for (SuperVertex v : superVertices) {
                    if (v.isInRectangleTest(SelectingTool.left, mouseLocation)) {
                        graphPane.selectVertex(v);
                    }
                }
                if (!SelectingTool.isOnlySuperVerticesSelection) {
                    Set<SimpleVertex> simpleVertices = graphPane.getGraphModel().getSimpleVertices();
                    for (SimpleVertex v : simpleVertices) {
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.GraphPane.selectVertex()

                }
                if (!SelectingTool.isOnlySuperVerticesSelection) {
                    Set<SimpleVertex> simpleVertices = graphPane.getGraphModel().getSimpleVertices();
                    for (SimpleVertex v : simpleVertices) {
                        if (v.isInRectangleTest(SelectingTool.left, mouseLocation) && !graphPane.getSelectedVertices().contains(v.getSuperVertex())) {
                            graphPane.selectVertex(v);
                        }
                    }
                }
            }
            graphPane.repaint();
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.IGraphPane.selectVertex()

            Set<SimpleVertex> simpleVertices = graphPane.getGraphModel().getSimpleVertices();
            for (SimpleVertex v : simpleVertices) {
                if (v.hitTest(mouseLocation)) {
                    if (!SelectingTool.isOnlySuperVerticesSelection() ||
                            v.getSuperVertex() == null || v.getSuperVertex().isHidden()) {
                        graphPane.selectVertex(v);
                        moveOn(mouseLocation);
                        return;
                    }
                }
            }
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.IGraphPane.selectVertex()

                boolean bottomY = v.bottomBorderTest(mouseLocation);
                if (leftX || rightX || topY || bottomY) {
                    resizeOn(mouseLocation, v, leftX, rightX, topY, bottomY);
                } else*/
                if (v.hitTest(mouseLocation)) {
                    graphPane.selectVertex(v);
                    moveOn(mouseLocation);
                    return;
                }
            }
            SelectingTool.left = mouseLocation;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.