/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.jme3.gde.gui.nodes; import jada.ngeditor.model.GUI; import org.openide.nodes.AbstractNode; import org.openide.nodes.Children; /** * * @author cris */ public class GUINode extends AbstractNode{ private final GUI gui; public GUINode(GUI gui) { super(Children.create(new ScreenChildFactory(gui),false)); this.gui = gui; } /** * @return the gui */ public GUI getGui() { return gui; } @Override public String getName() { return super.getName()+" "+this.gui; //To change body of generated methods, choose Tools | Templates. } }