1 21 package org.jacorb.ir.gui.typesystem.remote; 22 23 26 27 28 import java.util.*; 29 import org.omg.CORBA.*; 30 import javax.swing.tree.*; 31 32 public class IRModule extends IRContainer 33 { 34 35 38 public IRModule ( ) { 39 super(); 40 } 41 44 public IRModule ( IRObject irObject) { 45 super(irObject); 46 } 47 50 public String [] allowedToAdd() { 51 String [] result = { IRModule.nodeTypeName(), 52 IRInterface.nodeTypeName(), 53 IRConstant.nodeTypeName(), 54 IRTypedef.nodeTypeName(), 55 IRException.nodeTypeName()}; 56 return result; 57 } 58 61 public static String nodeTypeName() { 62 return "module"; 63 } 64 } 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | Popular Tags |