Skip to content

Commit

Permalink
Merge pull request #28 from mathieucarbou/improvements
Browse files Browse the repository at this point in the history
🐛 start all servers button should be OSS
  • Loading branch information
mathieucarbou authored Sep 28, 2017
2 parents 794cb75 + a5abeb6 commit 5ad8da7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ private void addVoltronCommandsControls() {
serverControls = new GridLayout();
serverControls.setWidth(50, Unit.PERCENTAGE);
voltronControlLayout.addComponentsAndExpand(serverControls);


HorizontalLayout row1 = new HorizontalLayout();

Button clusterStartBtn = new Button();
clusterStartBtn.setCaption("Start all servers");
clusterStartBtn.addStyleName("align-bottom");
Expand All @@ -284,6 +286,7 @@ private void addVoltronCommandsControls() {
}
}
});
row1.addComponents(clusterStartBtn);

if (kitAwareClassLoaderDelegator.isEEKit()) {
clusterNameTF = new TextField();
Expand Down Expand Up @@ -320,12 +323,11 @@ private void addVoltronCommandsControls() {
clusterStopBtn.setData("stop");
clusterStopBtn.addClickListener((Button.ClickListener) this::executeClusterToolCommand);

HorizontalLayout row1 = new HorizontalLayout();
row1.addComponents(clusterNameTF, clusterStartBtn, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn);

voltronControlLayout.addComponentsAndExpand(row1);
row1.addComponents(clusterNameTF, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn);
}


voltronControlLayout.addComponentsAndExpand(row1);

consoles = new TabSheet();
mainConsole = addConsole("Main", "main");
voltronControlLayout.addComponentsAndExpand(consoles);
Expand Down

0 comments on commit 5ad8da7

Please sign in to comment.