1 19 20 package org.netbeans.modules.editor.plain.options; 21 22 import org.netbeans.modules.editor.plain.PlainKit; 23 import org.netbeans.modules.editor.options.BasePrintOptions; 24 25 31 public class PlainPrintOptions extends BasePrintOptions { 32 33 public static final String PLAIN = "plain"; 35 static final long serialVersionUID =-2630025235038437833L; 36 37 public PlainPrintOptions() { 38 super(PlainKit.class, PLAIN); 39 } 40 41 public PlainPrintOptions(Class kitClass, String typeName) { 42 super(kitClass, typeName); 43 } 44 45 48 protected String getString(String key) { 49 try { 50 return org.openide.util.NbBundle.getMessage(PlainOptions.class, key); 51 } catch (java.util.MissingResourceException e) { 52 return super.getString(key); 53 } 54 } 55 56 } 57 | Popular Tags |