1 19 20 package org.netbeans.modules.j2ee.ddloaders.web; 21 22 import java.beans.*; 23 import java.awt.Image ; 24 import org.openide.ErrorManager; 25 26 import org.openide.loaders.MultiFileLoader; 27 import org.openide.util.Utilities; 28 29 33 public class DDDataLoaderBeanInfo extends SimpleBeanInfo { 34 35 public BeanInfo[] getAdditionalBeanInfo () { 36 try { 37 return new BeanInfo[] { Introspector.getBeanInfo (MultiFileLoader.class) }; 38 } catch (IntrospectionException ie) { 39 ErrorManager.getDefault ().notify (ErrorManager.EXCEPTION, ie); 40 return null; 41 } 42 } 43 44 47 public Image getIcon(final int type) { 48 return Utilities.loadImage("org/netbeans/modules/j2ee/ddloaders/web/resources/DDDataIcon.gif"); } 50 51 } 52 53 | Popular Tags |