-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a property view that allows the underlying models of a diagram node to be edited. --------- Co-authored-by: Martin Fleck <[email protected]>
- Loading branch information
1 parent
e447c9a
commit 54b189e
Showing
44 changed files
with
4,651 additions
and
2,801 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ lib | |
tsconfig.tsbuildinfo | ||
src-gen | ||
gen-webpack.config.js | ||
gen-webpack.node.config.js | ||
out | ||
plugins | ||
bin | ||
|
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
21 changes: 21 additions & 0 deletions
21
extensions/crossmodel-lang/src/glsp-server/handler/update-glsp-client-handler.ts
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,21 @@ | ||
/******************************************************************************** | ||
* Copyright (c) 2023 CrossBreeze. | ||
********************************************************************************/ | ||
import { UpdateClientOperation } from '@crossbreeze/protocol'; | ||
import { Command, OperationHandler } from '@eclipse-glsp/server'; | ||
import { inject, injectable } from 'inversify'; | ||
import { CrossModelState } from '../model/cross-model-state'; | ||
import { CrossModelCommand } from './cross-model-command'; | ||
|
||
@injectable() | ||
export class CrossModelUpdateClientOperationHandler extends OperationHandler { | ||
override operationType = UpdateClientOperation.KIND; | ||
|
||
@inject(CrossModelState) protected state: CrossModelState; | ||
|
||
createCommand(_operation: UpdateClientOperation): Command { | ||
return new CrossModelCommand(this.state, () => { | ||
/* do nothing, just trigger update*/ | ||
}); | ||
} | ||
} |
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
5 changes: 3 additions & 2 deletions
5
extensions/crossmodel-lang/src/language-server/generated/grammar.ts
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
4 changes: 2 additions & 2 deletions
4
extensions/crossmodel-lang/src/language-server/generated/module.ts
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.