Package jsynoptic.plugins.java3d

Examples of jsynoptic.plugins.java3d.Universe


    @Override
    public void select(Collection<Node> nodes) {
        clearSelection();
        for(Node n : nodes){
            ArrayList<SceneGraphObject> sgos=new ArrayList<SceneGraphObject>();
            Universe u = Universe.getGraphPath(n, null,
                    sgos);
            TreePath tp=expand(sgos, u);
            addSelectionPath(tp);
        }
       
View Full Code Here


        @Override
        public void actionPerformed(ActionEvent e) {
            ArrayList<SceneGraphObject> sgos = new ArrayList<SceneGraphObject>();
            GraphObjectReference gn = (GraphObjectReference) getNode()
                    .getGraphObject();
            Universe u = Universe.getGraphPath(gn.getNode(), gn.getObject(),
                    sgos);
            if(u!=null){
                getNode().getTree().expand(sgos, u);
            }
            else{
View Full Code Here

    }

    // required for dynamic node creation
    public UniverseNode(Tree tree, Object graphObject, boolean getChildren) {
        super(tree, graphObject, getChildren);
        Universe pu = (Universe) getGraphObject();
        pu.addListner(this);
    }
View Full Code Here

        return ((Universe)getGraphObject()).getName();
    }
   
    @Override
    protected void getSceneGraphChildren(ArrayList<Object> list) {
        Universe pu = (Universe) getGraphObject();
        list.addAll(pu.getCanvas());
        list.addAll(pu.getSceneGraphs());
    }
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.java3d.Universe

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.