1 19 20 package org.netbeans.modules.websvc.wsdl; 21 22 import java.beans.*; 23 import java.awt.Image ; 24 25 import org.openide.ErrorManager; 26 import org.openide.loaders.UniFileLoader; 27 import org.openide.util.Utilities; 28 29 31 public final class WsdlDataLoaderBeanInfo extends SimpleBeanInfo { 32 33 public BeanInfo[] getAdditionalBeanInfo () { 34 try { 35 return new BeanInfo[] { Introspector.getBeanInfo (UniFileLoader.class) }; 36 } catch (IntrospectionException ie) { 37 ErrorManager.getDefault().notify(ie); 38 return null; 39 } 40 } 41 42 45 public Image getIcon(final int type) { 46 return Utilities.loadImage( "org/netbeans/modules/websvc/wsdl/resources/wsdl16.gif"); } 48 49 public PropertyDescriptor[] getPropertyDescriptors() { 50 return new PropertyDescriptor[0]; 51 } 52 } 53 | Popular Tags |