1 19 20 package org.netbeans.lib.editor.codetemplates; 21 22 import java.awt.event.ActionEvent ; 23 import javax.swing.text.JTextComponent ; 24 import org.netbeans.editor.BaseAction; 25 26 32 33 public class AbbrevKitInstallAction extends BaseAction { 34 35 static final long serialVersionUID = -0L; 36 37 public static final AbbrevKitInstallAction INSTANCE = new AbbrevKitInstallAction(); 38 39 AbbrevKitInstallAction() { 40 super("abbrev-kit-install"); putValue(BaseAction.NO_KEYBINDING, Boolean.TRUE); 42 } 43 44 public void actionPerformed(ActionEvent evt, JTextComponent target) { 45 assert (target != null); 46 AbbrevDetection.get(target); } 49 50 } 51 52 53 | Popular Tags |