Package jsynoptic.plugins.java3d.edit

Examples of jsynoptic.plugins.java3d.edit.RemoveEdit


   
    public void remove(){
        if(getParent() instanceof SceneGraphObjectHolder){
            SceneGraphObjectHolder owner=(SceneGraphObjectHolder)getParent();
            owner.removeSceneGraphObject((SceneGraphObject)getGraphObject(), null);
            RemoveEdit re=new RemoveEdit(owner, (SceneGraphObject)getGraphObject());
            getTree().getUndoableEditListener().undoableEditHappened(
                    new UndoableEditEvent(this, re));
        }
        else{
            throw new RuntimeException("Can not remove node from "+ getParent().getClass());
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.java3d.edit.RemoveEdit

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.