1 package net.sf.mmapps.applications.developer.project; 2 3 import javax.swing.tree.DefaultMutableTreeNode; 4 /*** 5 * 6 * @author Kees Jongenburger 7 * @version $Id: ProjectMutableTreeNode.java,v 1.1.1.1 2004/02/06 08:44:08 keesj Exp $ 8 */ 9 public class ProjectMutableTreeNode extends DefaultMutableTreeNode { 10 public static final int PROJECT_TYPE_ROOT =0; 11 public static final int PROJECT_TYPE_OTHER =1; 12 public static final int PROJECT_TYPE_APPLICATION_CONFIGURATIONS =1; 13 public static final int PROJECT_TYPE_NODEMANAGER =2; 14 public static final int PROJECT_TYPE_RELATIONMANAGER =3; 15 public static final int PROJECT_TYPE_APPLICATION =4; 16 public static final int PROJECT_TYPE_MODULE =5; 17 public static final int PROJECT_TYPE_DIRECTORY =6; 18 19 private int type = PROJECT_TYPE_OTHER; 20 21 public ProjectMutableTreeNode() { 22 super(); 23 } 24 25 public ProjectMutableTreeNode(int type){ 26 super(); 27 this.type = type; 28 } 29 30 public ProjectMutableTreeNode(int type,Object object){ 31 super(object); 32 this.type = type; 33 } 34 35 public int getType(){ 36 return type; 37 } 38 }