Examples of GSSGraphLayoutAlgorithm


Examples of org.emftrace.quarc.ui.zest.layouts.GSSGraphLayoutAlgorithm

    bodyComposite.setLayout(new GridLayout(6, false));

    zestGraph = new GSSGraph(bodyComposite, SWT.BORDER);
    zestGraph.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 6,
        1));
    GSSGraphLayoutAlgorithm gssLayout = new GSSGraphLayoutAlgorithm(
        LayoutStyles.NONE, zestGraph);

    gssLayout.setCaptionsForLayers("goals", 0);
    gssLayout
        .setToolTipsForLayers(
            createTooltipFigure("all goals of the goal solution scheme"),
            0);

    gssLayout.setCaptionsForLayers("principles", 1);
    gssLayout
        .setToolTipsForLayers(
            createTooltipFigure("all principles of the goal solution scheme"),
            1);

    gssLayout.setCaptionsForLayers("solution instruments", 2);
    gssLayout
        .setToolTipsForLayers(
            createTooltipFigure("all solution instruments of the goal solution scheme"),
            2);

    buildCustomGraph(zestGraph);
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.