1 19 20 package org.netbeans.modules.web.core.syntax.settings; 21 22 import org.netbeans.modules.web.core.syntax.*; 23 import org.openide.util.NbBundle; 24 25 30 public class JSPPrintOptions extends org.netbeans.modules.editor.options.BasePrintOptions { 31 32 public static final String JSP = "jsp"; 34 static final long serialVersionUID =6426608187973252147L; 35 36 public JSPPrintOptions() { 37 super (JSPKit.class, JSP); 38 } 39 40 public JSPPrintOptions (Class kitClass, String typeName) { 41 super (kitClass, typeName); 42 } 43 44 45 protected String getString(String s) { 46 try { 47 String res = NbBundle.getBundle(JSPKit.class).getString(s); 48 return (res == null) ? super.getString(s) : res; 49 } 50 catch (Exception e) { 51 return super.getString(s); 52 } 53 } 54 55 } 56 | Popular Tags |