-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collab advanced #241
base: master
Are you sure you want to change the base?
Collab advanced #241
Conversation
reload logic for RequestModelAction replace commandStack with commandStackManager
|
||
package org.eclipse.glsp.server.utils; | ||
|
||
public class CollaborationUtil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor checkstyle issue:
Since this is a utility class it should have a private constructor:
public final class CollaborationUtil {
private CollaborationUtil() {
}
public static final String FALLBACK_SUBCLIENT_ID = "FALLBACK_SUBCLIENT_ID";
}
...rver/src/org/eclipse/glsp/server/internal/gmodel/commandstack/GModelCommandStackFactory.java
Show resolved
Hide resolved
plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/command/CommandStackFactory.java
Show resolved
Hide resolved
plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/command/CommandStackManager.java
Show resolved
Hide resolved
.../org.eclipse.glsp.server/src/org/eclipse/glsp/server/command/DefaultCommandStackManager.java
Show resolved
Hide resolved
plugins/org.eclipse.glsp.server.emf/src/org/eclipse/glsp/server/emf/EMFModelStateImpl.java
Show resolved
Hide resolved
plugins/org.eclipse.glsp.server.emf/src/org/eclipse/glsp/server/emf/EMFModelState.java
Show resolved
Hide resolved
@@ -88,7 +88,7 @@ public List<Action> submitInitialModel(final RequestModelAction requestAction) { | |||
* Therefore we temporarily store the action later retrival | |||
*/ | |||
this.requestModelAction = Optional.of(requestAction); | |||
return submitModel(); | |||
return submitModel(requestAction.getSubclientId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like an accidental change to me. The subClientId should not be used as reason here
What it does
How to test
Follow-ups
Changelog