From f5c8422da1acbb1ca002a671ad92a827623f03f8 Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Sat, 10 Oct 2020 17:07:52 +0200 Subject: [PATCH] setting up stuff --- .../main/java/gearth/services/gpython/GPythonShell.java | 9 +++++++++ .../java/gearth/services/gpython/JupyterConsole.java | 4 ++++ .../main/java/gearth/services/gpython/PythonUtils.java | 4 ++++ .../java/gearth/ui/extensions/ExtensionsController.java | 3 ++- .../src/main/java/gearth/ui/extra/ExtraController.java | 1 + G-Earth/src/main/java/gearth/ui/info/InfoController.java | 2 -- 6 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 G-Earth/src/main/java/gearth/services/gpython/GPythonShell.java create mode 100644 G-Earth/src/main/java/gearth/services/gpython/JupyterConsole.java create mode 100644 G-Earth/src/main/java/gearth/services/gpython/PythonUtils.java diff --git a/G-Earth/src/main/java/gearth/services/gpython/GPythonShell.java b/G-Earth/src/main/java/gearth/services/gpython/GPythonShell.java new file mode 100644 index 0000000..204d848 --- /dev/null +++ b/G-Earth/src/main/java/gearth/services/gpython/GPythonShell.java @@ -0,0 +1,9 @@ +package gearth.services.gpython; + +public class GPythonShell { + + public void launch() { + + } + +} diff --git a/G-Earth/src/main/java/gearth/services/gpython/JupyterConsole.java b/G-Earth/src/main/java/gearth/services/gpython/JupyterConsole.java new file mode 100644 index 0000000..cf36fa0 --- /dev/null +++ b/G-Earth/src/main/java/gearth/services/gpython/JupyterConsole.java @@ -0,0 +1,4 @@ +package gearth.services.gpython; + +public class JupyterConsole { +} diff --git a/G-Earth/src/main/java/gearth/services/gpython/PythonUtils.java b/G-Earth/src/main/java/gearth/services/gpython/PythonUtils.java new file mode 100644 index 0000000..92c7787 --- /dev/null +++ b/G-Earth/src/main/java/gearth/services/gpython/PythonUtils.java @@ -0,0 +1,4 @@ +package gearth.services.gpython; + +public class PythonUtils { +} diff --git a/G-Earth/src/main/java/gearth/ui/extensions/ExtensionsController.java b/G-Earth/src/main/java/gearth/ui/extensions/ExtensionsController.java index 98ba0d5..ba43241 100644 --- a/G-Earth/src/main/java/gearth/ui/extensions/ExtensionsController.java +++ b/G-Earth/src/main/java/gearth/ui/extensions/ExtensionsController.java @@ -8,6 +8,7 @@ import gearth.services.extensionhandler.extensions.implementations.network.Netwo import gearth.services.extensionhandler.extensions.implementations.network.executer.ExecutionInfo; import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunner; import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunnerFactory; +import gearth.services.gpython.GPythonShell; import gearth.ui.SubForm; import gearth.ui.extensions.logger.ExtensionLogger; import javafx.application.Platform; @@ -106,6 +107,6 @@ public class ExtensionsController extends SubForm { } public void gpythonBtnClicked(ActionEvent actionEvent) { - + new GPythonShell().launch(); } } diff --git a/G-Earth/src/main/java/gearth/ui/extra/ExtraController.java b/G-Earth/src/main/java/gearth/ui/extra/ExtraController.java index c48429d..69148a3 100644 --- a/G-Earth/src/main/java/gearth/ui/extra/ExtraController.java +++ b/G-Earth/src/main/java/gearth/ui/extra/ExtraController.java @@ -31,6 +31,7 @@ public class ExtraController extends SubForm implements SocksConfiguration { public CheckBox cbx_alwaysOnTop; public Hyperlink url_troubleshooting; + //TODO add setup link to g-earth wiki public CheckBox cbx_gpython; public CheckBox cbx_advanced; diff --git a/G-Earth/src/main/java/gearth/ui/info/InfoController.java b/G-Earth/src/main/java/gearth/ui/info/InfoController.java index 2a0fc07..3e89178 100644 --- a/G-Earth/src/main/java/gearth/ui/info/InfoController.java +++ b/G-Earth/src/main/java/gearth/ui/info/InfoController.java @@ -23,8 +23,6 @@ public class InfoController extends SubForm { public Label version; - // this is a TEMPORARY info tab - public static void activateHyperlink(Hyperlink link) { link.setOnAction((ActionEvent event) -> { Hyperlink h = (Hyperlink) event.getTarget();