Commit fa3f235b authored by Sarah Grebing's avatar Sarah Grebing

minor change for examples

parent 972e934f
Pipeline #13761 failed with stage
in 2 minutes and 22 seconds
...@@ -279,6 +279,7 @@ public class DebuggerMain implements Initializable { ...@@ -279,6 +279,7 @@ public class DebuggerMain implements Initializable {
} }
} }
/* public InspectionViewsController getInspectionViewsController() { /* public InspectionViewsController getInspectionViewsController() {
return inspectionViewsController; return inspectionViewsController;
} }
...@@ -287,11 +288,7 @@ public class DebuggerMain implements Initializable { ...@@ -287,11 +288,7 @@ public class DebuggerMain implements Initializable {
return FACADE; return FACADE;
} }
public void showCodeDock(ActionEvent actionEvent) {
if (!javaAreaDock.isDocked()) {
javaAreaDock.dock(dockStation, DockPos.RIGHT);
}
}
*/ */
//region Actions: Execution //region Actions: Execution
...@@ -500,6 +497,7 @@ public class DebuggerMain implements Initializable { ...@@ -500,6 +497,7 @@ public class DebuggerMain implements Initializable {
ProgressBar bar = new ProgressBar(); ProgressBar bar = new ProgressBar();
bar.progressProperty().bind(task.progressProperty()); bar.progressProperty().bind(task.progressProperty());
executorService.execute(task); executorService.execute(task);
this.showActiveInspector(null);
} }
} }
...@@ -754,7 +752,8 @@ public class DebuggerMain implements Initializable { ...@@ -754,7 +752,8 @@ public class DebuggerMain implements Initializable {
public void showActiveInspector(ActionEvent actionEvent) { public void showActiveInspector(ActionEvent actionEvent) {
if (!activeInspectorDock.isDocked() && if (!activeInspectorDock.isDocked() &&
!activeInspectorDock.isFloating()) { !activeInspectorDock.isFloating()) {
activeInspectorDock.dock(dockStation, DockPos.CENTER);
activeInspectorDock.dock(dockStation, DockPos.RIGHT);
} }
} }
......
...@@ -150,7 +150,7 @@ public class ScriptController { ...@@ -150,7 +150,7 @@ public class ScriptController {
if (lastScriptArea == null) if (lastScriptArea == null)
dockNode.dock(parent, DockPos.LEFT); dockNode.dock(parent, DockPos.LEFT);
else else
dockNode.dock(parent, DockPos.CENTER, getDockNode(lastScriptArea)); dockNode.dock(parent, DockPos.LEFT, getDockNode(lastScriptArea));
area.dirtyProperty().addListener(new ChangeListener<Boolean>() { area.dirtyProperty().addListener(new ChangeListener<Boolean>() {
@Override @Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment