1 19 20 package org.netbeans.modules.ruby.rhtml; 21 22 import java.util.MissingResourceException ; 23 import org.netbeans.editor.SettingsNames; 24 import org.netbeans.editor.ext.ExtSettingsNames; 25 import org.netbeans.modules.editor.options.OptionSupport; 29 import org.openide.util.HelpCtx; 30 import org.netbeans.modules.editor.NbEditorUtilities; 31 import org.netbeans.modules.editor.options.BaseOptions; 32 import org.openide.util.NbBundle; 33 import java.awt.Color ; 34 import java.awt.Dimension ; 35 36 43 public class RhtmlOptions extends BaseOptions { 44 45 public static final String RHTML = "rhtml"; 47 55 private static final String HELP_ID = "editing.editor.html"; 57 81 static final long serialVersionUID = 75289734362748537L; 82 83 public RhtmlOptions() { 84 super(RhtmlKit.class, RHTML); 85 } 86 87 128 public HelpCtx getHelpCtx () { 129 return new HelpCtx (HELP_ID); 130 } 131 132 178 181 protected String getString(String key) { 182 try { 183 return NbBundle.getMessage(RhtmlOptions.class, key); 184 } catch (MissingResourceException e) { 185 return super.getString(key); 186 } 187 } 188 189 } 190 | Popular Tags |