From cc9b2e872a5bc07fd2f7ac5787d53820e0f73ff5 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Tue, 19 Jul 2016 11:02:05 +0200 Subject: [PATCH] Startup --- config/plugins.properties | 1 + plugins/test.form | 28 ++++++++++++++++++++ plugins/test.java | 56 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 config/plugins.properties create mode 100644 plugins/test.form create mode 100644 plugins/test.java diff --git a/config/plugins.properties b/config/plugins.properties new file mode 100644 index 0000000..c419698 --- /dev/null +++ b/config/plugins.properties @@ -0,0 +1 @@ +test.java=enabled diff --git a/plugins/test.form b/plugins/test.form new file mode 100644 index 0000000..ff9cfab --- /dev/null +++ b/plugins/test.form @@ -0,0 +1,28 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/plugins/test.java b/plugins/test.java new file mode 100644 index 0000000..b3ee633 --- /dev/null +++ b/plugins/test.java @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2014 Paul Scherrer Institute. All rights reserved. + */ + +import ch.psi.pshell.ui.Panel; +import ch.psi.utils.State; + +/** + * + */ +public class test extends Panel { + + public test() { + initComponents(); + } + + //Overridable callbacks + @Override + public void onInitialize(int runCount) { + + } + + @Override + public void onStateChange(State state, State former) { + + } + + @Override + public void onExecutedFile(String fileName, Object result) { + } + + + //Callback to perform update - in event thread + @Override + protected void doUpdate() { + } + + @SuppressWarnings("unchecked") + // //GEN-BEGIN:initComponents + private void initComponents() { + + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); + this.setLayout(layout); + layout.setHorizontalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 449, Short.MAX_VALUE) + ); + layout.setVerticalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 137, Short.MAX_VALUE) + ); + }// //GEN-END:initComponents + + // Variables declaration - do not modify//GEN-BEGIN:variables + // End of variables declaration//GEN-END:variables +}