You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
738 B
37 lines
738 B
11 years ago
|
/*
|
||
|
* 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.
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|