diff --git a/java_console/shared_ui/src/org/putgemin/VerticalFlowLayout.java b/java_console/ui/src/main/java/org/putgemin/VerticalFlowLayout.java
similarity index 100%
rename from java_console/shared_ui/src/org/putgemin/VerticalFlowLayout.java
rename to java_console/ui/src/main/java/org/putgemin/VerticalFlowLayout.java
diff --git a/java_tools/ts_plugin/build.xml b/java_tools/ts_plugin/build.xml
index 3fb1b96e96..bb1fb56626 100644
--- a/java_tools/ts_plugin/build.xml
+++ b/java_tools/ts_plugin/build.xml
@@ -1,7 +1,8 @@
-
+
+
@@ -12,12 +13,14 @@
+
+
@@ -35,18 +38,17 @@
-
-
+
-
+
\ No newline at end of file
diff --git a/java_tools/ts_plugin/src/com/rusefi/Content.java b/java_tools/ts_plugin/src/com/rusefi/ts_plugin/PluginEntry.java
similarity index 97%
rename from java_tools/ts_plugin/src/com/rusefi/Content.java
rename to java_tools/ts_plugin/src/com/rusefi/ts_plugin/PluginEntry.java
index 38cb552996..61393d8398 100644
--- a/java_tools/ts_plugin/src/com/rusefi/Content.java
+++ b/java_tools/ts_plugin/src/com/rusefi/ts_plugin/PluginEntry.java
@@ -1,9 +1,10 @@
-package com.rusefi;
+package com.rusefi.ts_plugin;
import com.efiAnalytics.plugin.ecu.ControllerAccess;
import com.efiAnalytics.plugin.ecu.ControllerException;
import com.efiAnalytics.plugin.ecu.ControllerParameter;
import com.efiAnalytics.plugin.ecu.servers.ControllerParameterServer;
+import com.rusefi.TsTuneReader;
import com.rusefi.tools.online.Online;
import com.rusefi.tune.xml.Constant;
import com.rusefi.tune.xml.Msq;
@@ -17,13 +18,13 @@ import java.io.IOException;
import java.util.Map;
import java.util.TreeMap;
-public class Content {
+public class PluginEntry implements TsPluginBody {
private final AuthTokenPanel tokenPanel = new AuthTokenPanel();
private final JComponent content = new JPanel();
private ControllerAccess controllerAccess;
- public Content() {
+ public PluginEntry() {
content.add(tokenPanel.getContent());
JButton upload = new JButton("Upload Tune");
diff --git a/java_tools/ts_plugin/ts_plugin.iml b/java_tools/ts_plugin/ts_plugin.iml
index e6930cba9c..37589882cd 100644
--- a/java_tools/ts_plugin/ts_plugin.iml
+++ b/java_tools/ts_plugin/ts_plugin.iml
@@ -10,5 +10,6 @@
+
\ No newline at end of file
diff --git a/java_tools/ts_plugin_launcher/.idea/ant.xml b/java_tools/ts_plugin_launcher/.idea/ant.xml
index a2a4769827..29ffa38c12 100644
--- a/java_tools/ts_plugin_launcher/.idea/ant.xml
+++ b/java_tools/ts_plugin_launcher/.idea/ant.xml
@@ -2,5 +2,6 @@
+
\ No newline at end of file
diff --git a/java_tools/ts_plugin_launcher/build.xml b/java_tools/ts_plugin_launcher/build.xml
index 76193b4a7e..89a8f8ac77 100644
--- a/java_tools/ts_plugin_launcher/build.xml
+++ b/java_tools/ts_plugin_launcher/build.xml
@@ -31,7 +31,7 @@
-
+
@@ -42,7 +42,7 @@
-
+
\ No newline at end of file
diff --git a/java_tools/ts_plugin_launcher/src/com/rusefi/Sandbox.java b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/Sandbox.java
similarity index 66%
rename from java_tools/ts_plugin_launcher/src/com/rusefi/Sandbox.java
rename to java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/Sandbox.java
index 1bfbd60a60..90f23f615c 100644
--- a/java_tools/ts_plugin_launcher/src/com/rusefi/Sandbox.java
+++ b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/Sandbox.java
@@ -1,4 +1,6 @@
-package com.rusefi;
+package com.rusefi.ts_plugin;
+
+import com.rusefi.ts_plugin.TsPluginLauncher;
import javax.swing.*;
@@ -8,7 +10,7 @@ public class Sandbox {
frame.setSize(800, 500);
frame.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
- frame.add(new TsPlugin().getPluginPanel());
+ frame.add(new TsPluginLauncher().getPluginPanel());
frame.setVisible(true);
}
diff --git a/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginBody.java b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginBody.java
new file mode 100644
index 0000000000..d9c7a2c7b4
--- /dev/null
+++ b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginBody.java
@@ -0,0 +1,5 @@
+package com.rusefi.ts_plugin;
+
+public interface TsPluginBody {
+ void close();
+}
diff --git a/java_tools/ts_plugin_launcher/src/com/rusefi/TsPlugin.java b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginLauncher.java
similarity index 93%
rename from java_tools/ts_plugin_launcher/src/com/rusefi/TsPlugin.java
rename to java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginLauncher.java
index 7a962731dd..8541c58466 100644
--- a/java_tools/ts_plugin_launcher/src/com/rusefi/TsPlugin.java
+++ b/java_tools/ts_plugin_launcher/src/com/rusefi/ts_plugin/TsPluginLauncher.java
@@ -1,4 +1,4 @@
-package com.rusefi;
+package com.rusefi.ts_plugin;
import com.efiAnalytics.plugin.ApplicationPlugin;
import com.efiAnalytics.plugin.ecu.ControllerAccess;
@@ -9,11 +9,11 @@ import javax.swing.*;
/**
* by the way TS installs stuff into %user%\.efianalytics\TunerStudio\plugins folder
*/
-public class TsPlugin implements ApplicationPlugin {
+public class TsPluginLauncher implements ApplicationPlugin {
private static final String VERSION = "alpha2020";
private final JPanel content = new JPanel(new VerticalFlowLayout());
- public TsPlugin() {
+ public TsPluginLauncher() {
content.add(new JLabel("" + VERSION));
}