Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Workspace status panel (#7998)
* Squashed commit of the following: commit 783d12f Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 20 17:30:49 2017 +0200 Add missing loading pieces commit 41288b8 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 20 16:13:09 2017 +0200 Add missing loading pieces commit 7cdadf8 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Tue Dec 19 15:38:03 2017 +0200 Add missing loading pieces commit 79b88c7 Merge: 33a9af0 ec91a22 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Tue Dec 19 15:16:06 2017 +0200 Merge branch 'che6' into CHE-7330 commit 33a9af0 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Tue Dec 19 15:15:11 2017 +0200 Add missing loading pieces commit c032500 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Tue Dec 19 11:25:20 2017 +0200 Add missing loading pieces commit b8ad09f Merge: 16936f5 ec0edba Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Mon Dec 18 09:46:12 2017 +0200 Merge branch 'che6' into CHE-7330 commit 16936f5 Merge: b9aad88 419824c Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 13 16:54:35 2017 +0200 Merge branch 'che6' into CHE-7330 commit b9aad88 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 13 16:50:23 2017 +0200 Add missing loading pieces commit aa25599 Merge: 3262c44 9af677e Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 13 13:01:38 2017 +0200 Merge branch 'CHE-7330' of github.com:eclipse/che into CHE-7330 commit 3262c44 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 13 13:00:32 2017 +0200 Add missing loading pieces commit 9af677e Author: Vladyslav Zhukovskyi <vzhukovs@redhat.com> Date: Sat Dec 9 19:05:46 2017 +0200 Add an ability to hide machines output tabs Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com> commit a9ccd73 Author: Vladyslav Zhukovskyi <vzhukovs@redhat.com> Date: Fri Dec 8 11:39:02 2017 +0200 Add event to display output event by machine name (#7782) Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com> commit f051d59 Merge: fb4f8c0 4ca92c9 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Thu Dec 7 09:32:14 2017 +0200 Merge branch 'che6' into CHE-7330 commit fb4f8c0 Author: Vitaliy Guliy <vguliy@codenvy.com> Date: Wed Dec 6 17:22:15 2017 +0200 Add missing loading pieces * Add missing loading pieces * Add missing loading pieces * Add missing loading pieces * Add missing loading pieces * Add missing loading pieces * Move MachineStatusChangedEvent to che-core-ide-app from ide-api * Fix formatting * Rename 'serverDefined' on 'serverRunning' * Revert script for test language server.
- Loading branch information
Vitaliy Guliy
committed
Dec 27, 2017
1 parent
98bc582
commit 467e45b
Showing
37 changed files
with
1,721 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
...e-ide-api/src/main/java/org/eclipse/che/ide/api/workspace/event/InstallerFailedEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Copyright (c) 2012-2017 Red Hat, Inc. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package org.eclipse.che.ide.api.workspace.event; | ||
|
||
import com.google.gwt.event.shared.EventHandler; | ||
import com.google.gwt.event.shared.GwtEvent; | ||
|
||
/** Fired when installer in some machine goes into a failed state. */ | ||
public class InstallerFailedEvent extends GwtEvent<InstallerFailedEvent.Handler> { | ||
|
||
public static final Type<InstallerFailedEvent.Handler> TYPE = new Type<>(); | ||
|
||
private final String installer; | ||
private final String error; | ||
private final String machineName; | ||
|
||
public InstallerFailedEvent(String installer, String error, String machineName) { | ||
this.installer = installer; | ||
this.error = error; | ||
this.machineName = machineName; | ||
} | ||
|
||
/** Returns the installer identifier. */ | ||
public String getInstaller() { | ||
return installer; | ||
} | ||
|
||
/** Returns the error message. */ | ||
public String getError() { | ||
return error; | ||
} | ||
|
||
/** Returns the related machine's name. */ | ||
public String getMachineName() { | ||
return machineName; | ||
} | ||
|
||
@Override | ||
public Type<Handler> getAssociatedType() { | ||
return TYPE; | ||
} | ||
|
||
@Override | ||
protected void dispatch(Handler handler) { | ||
handler.onInstallerFailed(this); | ||
} | ||
|
||
public interface Handler extends EventHandler { | ||
void onInstallerFailed(InstallerFailedEvent event); | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...-ide-api/src/main/java/org/eclipse/che/ide/api/workspace/event/InstallerRunningEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Copyright (c) 2012-2017 Red Hat, Inc. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package org.eclipse.che.ide.api.workspace.event; | ||
|
||
import com.google.gwt.event.shared.EventHandler; | ||
import com.google.gwt.event.shared.GwtEvent; | ||
|
||
/** Fired when installer in some machine goes into a running state. */ | ||
public class InstallerRunningEvent extends GwtEvent<InstallerRunningEvent.Handler> { | ||
|
||
public static final Type<InstallerRunningEvent.Handler> TYPE = new Type<>(); | ||
|
||
private final String installer; | ||
private final String machineName; | ||
private final boolean serverRunning; | ||
|
||
public InstallerRunningEvent(String installer, String machineName, boolean serverRunning) { | ||
this.installer = installer; | ||
this.machineName = machineName; | ||
this.serverRunning = serverRunning; | ||
} | ||
|
||
/** Returns the installer identifier. */ | ||
public String getInstaller() { | ||
return installer; | ||
} | ||
|
||
/** Returns the related machine's name. */ | ||
public String getMachineName() { | ||
return machineName; | ||
} | ||
|
||
/** Returns true if corresponding server is defined and running. */ | ||
public boolean isServerRunning() { | ||
return serverRunning; | ||
} | ||
|
||
@Override | ||
public Type<Handler> getAssociatedType() { | ||
return TYPE; | ||
} | ||
|
||
@Override | ||
protected void dispatch(Handler handler) { | ||
handler.onInstallerRunning(this); | ||
} | ||
|
||
public interface Handler extends EventHandler { | ||
void onInstallerRunning(InstallerRunningEvent event); | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...ide-api/src/main/java/org/eclipse/che/ide/api/workspace/event/InstallerStartingEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (c) 2012-2017 Red Hat, Inc. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package org.eclipse.che.ide.api.workspace.event; | ||
|
||
import com.google.gwt.event.shared.EventHandler; | ||
import com.google.gwt.event.shared.GwtEvent; | ||
|
||
/** Fired when installer in some machine goes into a starting state. */ | ||
public class InstallerStartingEvent extends GwtEvent<InstallerStartingEvent.Handler> { | ||
|
||
public static final Type<InstallerStartingEvent.Handler> TYPE = new Type<>(); | ||
|
||
private final String installer; | ||
private final String machineName; | ||
|
||
public InstallerStartingEvent(String installer, String machineName) { | ||
this.installer = installer; | ||
this.machineName = machineName; | ||
} | ||
|
||
/** Returns the installer identifier. */ | ||
public String getInstaller() { | ||
return installer; | ||
} | ||
|
||
/** Returns the related machine's name. */ | ||
public String getMachineName() { | ||
return machineName; | ||
} | ||
|
||
@Override | ||
public Type<Handler> getAssociatedType() { | ||
return TYPE; | ||
} | ||
|
||
@Override | ||
protected void dispatch(Handler handler) { | ||
handler.onInstallerStarting(this); | ||
} | ||
|
||
public interface Handler extends EventHandler { | ||
void onInstallerStarting(InstallerStartingEvent event); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.