diff --git a/config/devices.properties b/config/devices.properties new file mode 100644 index 0000000..562e18f --- /dev/null +++ b/config/devices.properties @@ -0,0 +1 @@ +#motor=ch.psi.pshell.epics.Motor X diff --git a/config/plugins.properties b/config/plugins.properties new file mode 100644 index 0000000..bb55eaa --- /dev/null +++ b/config/plugins.properties @@ -0,0 +1 @@ +./home/plugins/Test.java=disabled 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..3ffe87d --- /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 +}