1 19 package org.netbeans.modules.css.text.syntax; 20 21 import java.util.MissingResourceException ; 22 23 import org.openide.util.HelpCtx; 24 25 import org.netbeans.editor.*; 26 27 32 public class CSSEditorOptions extends org.netbeans.modules.editor.options.BaseOptions implements LocaleSupport.Localizer { 33 34 35 private static final long serialVersionUID = 1L; 36 37 public static final String CSS = "CSS"; 39 public CSSEditorOptions() { 40 super (CSSEditorKit.class, CSS); 41 LocaleSupport.addLocalizer(this); 42 } 43 44 45 public HelpCtx getHelpCtx() { 46 return new HelpCtx (this.getClass()); 47 } 48 49 50 54 public String getString (String s) { 55 try { 56 return Util.THIS.getString (s); 57 } catch (MissingResourceException e) { 58 return super.getString (s); 59 } 60 } 61 62 } 63 | Popular Tags |