1 21 package org.jacorb.ir.gui.typesystem.remote; 22 23 24 28 29 import java.util.*; 30 import org.omg.CORBA.*; 31 import javax.swing.tree.*; 32 33 public class IRRepository 34 extends IRContainer 35 { 36 37 40 41 public IRRepository ( ) { 42 super(); 43 } 44 45 48 49 public IRRepository ( IRObject irObject) 50 { 51 super(irObject); 52 } 53 54 57 58 public String [] allowedToAdd() { 59 String [] result = { IRModule.nodeTypeName(), 60 IRInterface.nodeTypeName(), 61 IRConstant.nodeTypeName(), 62 IRTypedef.nodeTypeName(), 63 IRException.nodeTypeName()}; 64 return result; 65 } 66 67 70 71 public static String nodeTypeName() 72 { 73 return "Repository"; 74 } 75 } 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | Popular Tags |