<
From version < 12.1 >
edited by Soeren Domroes
on 2019/04/01 10:58
To version < 11.1 >
edited by Soeren Domroes
on 2019/04/01 10:44
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -276,26 +276,12 @@
276 276  const snapshotsDescriptions: CodeContainer = await lclient.sendRequest("keith/kicool/compile", [uri, KeithDiagramManager.DIAGRAM_TYPE + '_sprotty', command,
277 277   this.compilerWidget.compileInplace]) as CodeContainer
278 278  // or via a thenable
279 -client.languageClient.then(lClient => {
280 -lClient.sendRequest("keith/kicool/compile").then((languages: LanguageDescription[]) => {
281 - // very important stuff
282 -}
283 -// await is preferred, since it is shorter.
284 -{{/code}}
285 285  
286 -In this example client is an instance of a language client. It is usally injected like this:
287 287  
288 -{{code}}
289 -constructor(
290 - @inject(KeithLanguageClientContribution) public readonly client: KeithLanguageClientContribution
291 - // other injected classes
292 - ) {
293 - // constructor stuff
294 -}
295 295  {{/code}}
296 296  
297 297  \\
298 298  
299 -== How to make a new ==
285 +== How to send messages ==
300 300  
301 301  == How to write a widget ==
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -56852530
1 +56852527
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/56852530/Running KEITH
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/56852527/Running KEITH