1 19 20 package org.netbeans.modules.editor.options; 21 22 import java.beans.*; 23 24 29 public class AllOptionsBeanInfo extends BaseOptionsBeanInfo { 30 31 public static final String EDITOR_STATE_PROP = "editorState"; 33 public static final String [] PROP_NAMES = new String [] { 34 BaseOptions.KEY_BINDING_LIST_PROP, 35 EDITOR_STATE_PROP, 36 BaseOptions.OPTIONS_VERSION_PROP 37 }; 38 39 public AllOptionsBeanInfo() { 40 super("/org/netbeans/modules/editor/resources/allOptions", "base_"); } 42 43 protected Class getBeanClass() { 44 return AllOptions.class; 45 } 46 47 protected String [] getPropNames() { 48 return PROP_NAMES; 49 } 50 51 protected void updatePropertyDescriptors() { 52 super.updatePropertyDescriptors(); 53 54 setHidden(new String [] { 55 EDITOR_STATE_PROP, 56 BaseOptions.OPTIONS_VERSION_PROP 57 }); 58 } 59 60 } 61 | Popular Tags |