Package org.nanograph.drawing.docking

Examples of org.nanograph.drawing.docking.CenterDockingStrategy


        data.doubleBuffer = true;

        canvas = new GLCanvas(c, SWT.NONE, data);
        nanoGraph = new NanoGraph();
        interactionManager = new InteractionManager(nanoGraph);
        nanoGraph.setDefaultDockingStrategy(new CenterDockingStrategy((JOGLGraphicsAdapter.SPHERE_RADIUS) * 100));

        canvas.setCurrent();
        context = GLDrawableFactory.getFactory().createExternalGLContext();

        refresher = new JOGLRefresher(this, canvas, c.getDisplay(), context);
View Full Code Here

TOP

Related Classes of org.nanograph.drawing.docking.CenterDockingStrategy

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.