setting up stuff

This commit is contained in:
sirjonasxx 2020-10-10 17:07:52 +02:00
parent c81dddb117
commit f5c8422da1
6 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,9 @@
package gearth.services.gpython;
public class GPythonShell {
public void launch() {
}
}

View File

@ -0,0 +1,4 @@
package gearth.services.gpython;
public class JupyterConsole {
}

View File

@ -0,0 +1,4 @@
package gearth.services.gpython;
public class PythonUtils {
}

View File

@ -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.ExecutionInfo;
import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunner; import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunner;
import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunnerFactory; import gearth.services.extensionhandler.extensions.implementations.network.executer.ExtensionRunnerFactory;
import gearth.services.gpython.GPythonShell;
import gearth.ui.SubForm; import gearth.ui.SubForm;
import gearth.ui.extensions.logger.ExtensionLogger; import gearth.ui.extensions.logger.ExtensionLogger;
import javafx.application.Platform; import javafx.application.Platform;
@ -106,6 +107,6 @@ public class ExtensionsController extends SubForm {
} }
public void gpythonBtnClicked(ActionEvent actionEvent) { public void gpythonBtnClicked(ActionEvent actionEvent) {
new GPythonShell().launch();
} }
} }

View File

@ -31,6 +31,7 @@ public class ExtraController extends SubForm implements SocksConfiguration {
public CheckBox cbx_alwaysOnTop; public CheckBox cbx_alwaysOnTop;
public Hyperlink url_troubleshooting; public Hyperlink url_troubleshooting;
//TODO add setup link to g-earth wiki
public CheckBox cbx_gpython; public CheckBox cbx_gpython;
public CheckBox cbx_advanced; public CheckBox cbx_advanced;

View File

@ -23,8 +23,6 @@ public class InfoController extends SubForm {
public Label version; public Label version;
// this is a TEMPORARY info tab
public static void activateHyperlink(Hyperlink link) { public static void activateHyperlink(Hyperlink link) {
link.setOnAction((ActionEvent event) -> { link.setOnAction((ActionEvent event) -> {
Hyperlink h = (Hyperlink) event.getTarget(); Hyperlink h = (Hyperlink) event.getTarget();