1 26 27 package org.objectweb.openccm.explorer.CosTrading; 28 29 import org.objectweb.util.explorer.api.Context; 30 import org.objectweb.util.explorer.api.Entry; 31 import org.objectweb.util.explorer.core.naming.lib.DefaultEntry; 32 import org.omg.CosTrading.LinkPackage.LinkInfo; 33 34 35 42 public class LinkInfoContext 43 implements Context 44 { 45 46 52 58 64 70 public Entry[] getEntries(Object object) { 71 LinkInfo linkInfo = (LinkInfo)object; 72 Entry[] values = new Entry[1]; 73 values[0] = new DefaultEntry("Related Target", linkInfo.target); 74 return values; 75 } 76 77 } 78 | Popular Tags |