Package ru.spbu.math.ontologycomparison.zhukova.visualisation.model.impl

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.model.impl.SimpleVertex


                Object object = checkNode.getUserObject();
                if (!(object instanceof IOntologyConcept)) {
                    continue;
                }
                IOntologyConcept ontologyConcept = (IOntologyConcept) object;
                SimpleVertex simpleVertex = graphModel.getVertexByConcept(ontologyConcept);
                if (simpleVertex != null) {
                    SuperVertex superVertex = simpleVertex.getSuperVertex();
                    IVertex vertex = superVertex == null ? simpleVertex : superVertex;
                    if (hide) {
                        graphModel.removeVertex(vertex);
                    } else {
                        graphModel.addVertex(vertex);
View Full Code Here


            Set<SuperVertex> forPopUp = new HashSet<SuperVertex>();
            for (IVertex vertex : vertices) {
                if (vertex instanceof SuperVertex) {
                    forPopUp.add((SuperVertex) vertex);
                } else if (vertex instanceof SimpleVertex) {
                    SimpleVertex simple = (SimpleVertex) vertex;
                    if (simple.getSuperVertex() != null) {
                        forPopUp.add(simple.getSuperVertex());
                    }
                }
                if (vertex.hitTest(mouseLocation)) {
                    show = true;
                }
View Full Code Here

TOP

Related Classes of ru.spbu.math.ontologycomparison.zhukova.visualisation.model.impl.SimpleVertex

Copyright © 2018 www.massapicom. 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.