1 19 20 package org.netbeans.api.editor.settings; 21 22 import java.util.List ; 23 import javax.swing.KeyStroke ; 24 25 34 public abstract class CodeTemplateSettings { 35 36 39 public CodeTemplateSettings() { 40 if (!"org.netbeans.modules.editor.settings.xxx".equals(getClass().getName())) { throw new IllegalStateException ("Instantiation prohibited."); } 44 } 45 46 51 public abstract List <CodeTemplateDescription> getCodeTemplateDescriptions(); 52 53 59 public abstract KeyStroke getExpandKey(); 60 61 } 62 | Popular Tags |