Package org.evolizer.daforjava.graph.panel.rendering.edgerenderer

Examples of org.evolizer.daforjava.graph.panel.rendering.edgerenderer.DefaultFamixEdgeRealizer


        Class<? extends FamixAssociation> associationType = rootGraph.getEdgeType(edge);
        EdgeRealizer er = graph.getRealizer(edge);
        EdgeRealizer newEdgeRealizer = null;
        if (associationType.equals(FamixInvocation.class)) {
            newEdgeRealizer = new DefaultFamixEdgeRealizer(er);
        } else if (associationType.equals(FamixInheritance.class)) {
            newEdgeRealizer = new DeltaEdgeRealizer(er);
        } else if (associationType.equals(FamixSubtyping.class)) {
            newEdgeRealizer = new DashedDeltaEdgeRealizer(er);
        } else if (associationType.equals(FamixCastTo.class)) {
            newEdgeRealizer = new DefaultFamixEdgeRealizer(er);
        } else if (associationType.equals(FamixCheckInstanceOf.class)) {
            newEdgeRealizer = new DefaultFamixEdgeRealizer(er);
        } else if (associationType.equals(FamixAccess.class)) {
            newEdgeRealizer = new DefaultFamixEdgeRealizer(er);
        } else {
            sLogger.warn("Edgetype of " + associationType + " currently not supported - using default");
            newEdgeRealizer = new DefaultFamixEdgeRealizer(er);
        }

        List<Edge> lowLevelEdges = rootGraph.getLowLevelEdges(edge);
        int nrLowLevelEdges = 1;
        if (lowLevelEdges != null) {
View Full Code Here

TOP

Related Classes of org.evolizer.daforjava.graph.panel.rendering.edgerenderer.DefaultFamixEdgeRealizer

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.