@@ -274,22 +274,22 @@ private void addVoltronCommandsControls() {
274
274
serverControls .setWidth (50 , Unit .PERCENTAGE );
275
275
voltronControlLayout .addComponentsAndExpand (serverControls );
276
276
277
+ Button clusterStartBtn = new Button ();
278
+ clusterStartBtn .setCaption ("Start all servers" );
279
+ clusterStartBtn .addStyleName ("align-bottom" );
280
+ clusterStartBtn .addClickListener (event -> {
281
+ for (Component child : serverControls ) {
282
+ if (child instanceof Button && "START" .equals (child .getCaption ()) && child .isEnabled ()) {
283
+ ((Button ) child ).click ();
284
+ }
285
+ }
286
+ });
287
+
277
288
if (kitAwareClassLoaderDelegator .isEEKit ()) {
278
289
clusterNameTF = new TextField ();
279
290
clusterNameTF .setCaption ("Cluster name" );
280
291
clusterNameTF .setValue ("MyCluster" );
281
292
282
- Button clusterStartBtn = new Button ();
283
- clusterStartBtn .setCaption ("Start all servers" );
284
- clusterStartBtn .addStyleName ("align-bottom" );
285
- clusterStartBtn .addClickListener (event -> {
286
- for (Component child : serverControls ) {
287
- if (child instanceof Button && "START" .equals (child .getCaption ()) && child .isEnabled ()) {
288
- ((Button ) child ).click ();
289
- }
290
- }
291
- });
292
-
293
293
Button clusterConfigBtn = new Button ();
294
294
clusterConfigBtn .addStyleName ("align-bottom" );
295
295
clusterConfigBtn .setCaption ("Configure" );
0 commit comments