1 21 package org.jacorb.ir.gui.typesystem.remote; 22 23 import org.omg.CORBA.*; 24 import org.jacorb.ir.gui.typesystem.*; 25 26 29 30 public class IRAlias 31 extends IRNodeWithType 32 implements AbstractContainer 33 { 34 37 38 protected IRAlias() 39 { 40 super(); 41 42 } 43 47 48 protected IRAlias(org.omg.CORBA.IRObject irObject) 49 { 50 super(irObject); 51 AliasDef aliasDef = AliasDefHelper.narrow((org.omg.CORBA.Object )irObject); 52 setAssociatedTypeSystemNode(RemoteTypeSystem.createTypeSystemNode(aliasDef.original_type_def())); 53 } 54 55 58 59 public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents() 60 { 61 org.jacorb.ir.gui.typesystem.TypeSystemNode[] result = 62 new org.jacorb.ir.gui.typesystem.TypeSystemNode[] { getAssociatedTypeSystemNode() }; 63 return result; 64 } 65 66 69 70 public static String nodeTypeName() 71 { 72 return "typedef"; 73 } 74 } 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | Popular Tags |