From fefc5dfb749b727111737d353dda4fa6096f7e74 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Thu, 21 Jul 2016 08:42:22 +0200 Subject: [PATCH] Startup --- plugins/gui.form | 28 ++++++++++++++++++++++++ plugins/gui.java | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 plugins/gui.form create mode 100644 plugins/gui.java diff --git a/plugins/gui.form b/plugins/gui.form new file mode 100644 index 0000000..ff9cfab --- /dev/null +++ b/plugins/gui.form @@ -0,0 +1,28 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/plugins/gui.java b/plugins/gui.java new file mode 100644 index 0000000..288904d --- /dev/null +++ b/plugins/gui.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 gui extends Panel { + + public gui() { + 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 +}