1 19 20 25 26 package org.netbeans.modules.css.options; 27 import java.awt.Image ; 28 import org.netbeans.modules.editor.options.BaseOptionsBeanInfo; 29 import org.openide.util.Utilities; 30 31 36 37 public class CssOptionsBeanInfo extends BaseOptionsBeanInfo { 38 39 public CssOptionsBeanInfo() { 40 super("/org/netbeans/modules/css/resources/CssOptions"); } 42 43 protected Class getBeanClass() { 44 return CssOptions.class; 45 } 46 47 50 public Image getIcon(final int type) { 51 if ((type == java.beans.BeanInfo.ICON_COLOR_16x16) || 52 (type == java.beans.BeanInfo.ICON_MONO_16x16)) { 53 return Utilities.loadImage("org/netbeans/modules/css/resources/css.gif"); } else { 55 return Utilities.loadImage("org/netbeans/modules/css/resources/css.gif"); } 57 } 58 } 59 | Popular Tags |