1 19 20 package org.netbeans.modules.db.sql.editor; 21 22 import java.util.MissingResourceException ; 23 import org.openide.util.HelpCtx; 24 import org.netbeans.modules.editor.options.BaseOptions; 25 import org.openide.util.NbBundle; 26 27 32 public class SQLOptions extends BaseOptions { 33 34 public static final String SQL = "sql"; 36 private static final String HELP_ID = "editing.editor.sql"; 38 static final String [] SQL_PROP_NAMES = new String [] {}; 40 41 public SQLOptions() { 42 super(SQLEditorKit.class, SQL); 43 } 44 45 49 protected Class getDefaultIndentEngineClass() { 50 return SQLIndentEngine.class; 51 } 52 53 56 public HelpCtx getHelpCtx() { 57 return new HelpCtx(HELP_ID); 58 } 59 60 64 protected String getString(String key) { 65 try { 66 return NbBundle.getMessage(SQLOptions.class, key); 67 } catch (MissingResourceException e) { 68 return super.getString(key); 69 } 70 } 71 } 72 | Popular Tags |