Browse Source

event manager add function recorder to form

master
Joe 4 years ago committed by Joe.Jiang
parent
commit
1f75c69628
  1. 1
      plugin.xml
  2. 2
      src/main/java/com/fr/plugin/event/manager/core/FormEventManager.java

1
plugin.xml

@ -19,4 +19,5 @@
<LocaleFinder class="com.fr.plugin.event.manager.provider.LocaleProvider"/> <LocaleFinder class="com.fr.plugin.event.manager.provider.LocaleProvider"/>
</extra-core> </extra-core>
<function-recorder class="com.fr.plugin.event.manager.core.WorkbookEventManager"/> <function-recorder class="com.fr.plugin.event.manager.core.WorkbookEventManager"/>
<function-recorder class="com.fr.plugin.event.manager.core.FormEventManager"/>
</plugin> </plugin>

2
src/main/java/com/fr/plugin/event/manager/core/FormEventManager.java

@ -14,6 +14,7 @@ import com.fr.plugin.event.manager.ui.EventManagerPane;
import com.fr.plugin.event.manager.ui.FormEventManagerPane; import com.fr.plugin.event.manager.ui.FormEventManagerPane;
import com.fr.plugin.event.manager.utils.KeySetUtils; import com.fr.plugin.event.manager.utils.KeySetUtils;
import com.fr.plugin.transform.ExecuteFunctionRecord; import com.fr.plugin.transform.ExecuteFunctionRecord;
import com.fr.plugin.transform.FunctionRecorder;
import javax.swing.JOptionPane; import javax.swing.JOptionPane;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
@ -26,6 +27,7 @@ import java.awt.event.WindowEvent;
* @author Joe * @author Joe
* Created by Joe on 9/3/2020 * Created by Joe on 9/3/2020
*/ */
@FunctionRecorder
public class FormEventManager extends JTemplateAction<JForm> { public class FormEventManager extends JTemplateAction<JForm> {
public FormEventManager(JForm form) { public FormEventManager(JForm form) {

Loading…
Cancel
Save