1 19 20 package org.netbeans.modules.j2ee.ddloaders.client; 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 ClientDataLoaderBeanInfo 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/j2ee/ddloaders/client/DDDataIcon.gif"); } 48 49 public PropertyDescriptor[] getPropertyDescriptors() { 50 return new PropertyDescriptor[0]; 51 } 52 } 53 | Popular Tags |