[x] add default type in SModelElements classes, e.g. node in SNode
[x] add a constant for empty model
[x] allow to add style classes
[x] ITraceProvider.trace() should retrun the SModelElement
[x] add a template method to handle additional actions in LanguageAwareDiagramServer#accept
[ ] allow to configure ActionTypeAdapter using DI (don't use static methods) to add more actions
[x] IDiagramGenerator should take the Context as an argument
[x] IDiagramGenerator should take the Issues as an argument
[x] add a ServerStatus.Severity FATAL that means avoid diagram generation. ERROR could mean we can generate the diagram anyway, e.g. when there are only validation errors
From theia-ide/sprotty#234:
type
inSModelElement
s classes, e.g.node
inSNode
ITraceProvider.trace()
should retrun theSModelElement
LanguageAwareDiagramServer#accept
ActionTypeAdapter
using DI (don't use static methods) to add more actionsIDiagramGenerator
should take theContext
as an argumentIDiagramGenerator
should take theIssues
as an argumentFATAL
that means avoid diagram generation. ERROR could mean we can generate the diagram anyway, e.g. when there are only validation errorsSIssueMarker
to model