Skip to content

Commit 6f66a85

Browse files
authored
GLSP-1505: Add missing discriminator to operations (#256)
Fixes eclipse-glsp/glsp/issues/1505
1 parent dca9db7 commit 6f66a85

File tree

1 file changed

+7
-0
lines changed
  • plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/operations

1 file changed

+7
-0
lines changed

plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/operations/Operation.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
*/
2727
public abstract class Operation extends Action {
2828

29+
/**
30+
* Read only discriminatory property needed to
31+
* distinguish between operations and other action types on the client side.
32+
*/
33+
@SuppressWarnings("checkstyle:visibilitymodifier")
34+
final boolean isOperation = true;
35+
2936
public Operation(final String operationKind) {
3037
super(operationKind);
3138
}

0 commit comments

Comments
 (0)