Web-based client framework of the graphical language server platform
Changes:
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v2.1.0...v2.1.1
GLSPProjectionView
#298
configureDiagramOptions
function to also allow partial configuration of ViewerOptions
#296
ISModelRootListener
API in favor of IGModelRootListener
#303
AutoCompleteWidget
is rendered correctly #304
ToolPalette
/CreateOperation
API to support rendering of preview/ghost elements when creating new nodes #301
BaseJsonRpcClient
to ensure that it can handle multiple open diagram sessions #307
SelectionService
that caused issues with inversify when injecting certain services (e.g. ActionDispatcher
) in SelectionChangeListener
implementations #305
SelectionService
does not trigger a change event if the selection did not change on model update #313
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.0.0...v2.1.0
GLSPProjectionView
#196
EditLabelUIExtension
where the diagram becomes dirty without an actual change. #766
ComputedBoundsAction
definition with routing information. This enables proper forwarding of client-side computed routes to the server #201
createClientContainer
function is now deprecated. Please use initializeDiagramContainer
instead. This new function can also be used with ModuleConfigurations
which allow a more fine granular configuration by adding new modules and/or removing default modules. #218 #231 #236
Disposable
type #222
deselectAll
flag for SelectAction
s #257
registerListener
method on GLSP mouse and key tool to return a disposable for de-registrationregisterFeedback
method from feedback dispatcher to return a disposable for de-registrationBaseGLSPCreationTool
for tools based on trigger actionstoDisposeOnDisable
collection in BaseGLSPTool
to register disable handling during enablementFeatureModule
s instead of plain inversify ContainerModule
s #267
statusModule
that binds UI extension to handle & render GLSPStatusMessages
. #272
EditorContextService
#272
DiagramLoader
component + life cycle management #274 #282
IDiagramOptions
and then the diagram loader
is invoked and initializes the diagram.onServerInitialized
event to the GLSPClientAPI
.IDiagramStartup
service. Adopters can multi bind this service to hook into the diagram loading lifecycle and provide additional logic. i.e. dispatching of initial actions.GLSPProjectionView
#275
IButtonHandler
constructor is now deprecated. Please use configureButtonHandler()
instead. #195 - Contributed on behalf of STMicroelectronicsUndoOperation
and RedoOperation
to UndoAction
and RedoAction
to match operation specification #216
vscode-ws-jsonrpc
. The protocol package now directly offers functions to create a websocket rpc connections #215
elementIds
property of LayoutOperation
is now optional. If undefined
the entire model will be layouted #232
TYPES.SelectionService
service identifier. Please directly use the SelectionService
class as service identifier insteadSelectionService
binding is now part of the defaultGLSPModule
. This means the SelectionService
remains available even if the selectModule
is not configuredRootModelChangeListener
s are no longer tied to the FeedbackawareUpdateModelCommand
instead they are managed by the GLSPCommandStack
IMouseTool
and TYPES.IMouseTool
are no longer available. Directly inject and use MouseTool
insteadisRanked()
-> Ranked.is()
getRank()
-> Ranked.getRank()
DEFAULT_RANK
-> Ranked.DEFAULT_RANK
SelectionService
, GlspCommandStack
& EditorContextService
to make use of this new APISelectionService.onSelectionChanged
) insteadI
prefixtoolsModule
and toolFeedbackModule
in favor of individual tool modulesdispatchFeedback
in BaseGLSPTool
to registerFeedback
to align with feedback dispatcherderegisterFeedback
in BaseGLSPTool
for easier de-registration and clean up actionsServerMessageAction
#265
glsp
prefix from all modules (e.g. glspSelectModule
-> selectModule
)defaultGLSPModule
-> baseModule
modelHintsModule
-> typeHintsModule
enableDefaultToolsOnFocusLossModule
-> toolFocusLossModule
glspEditLabelModule
-> labelEditModule
GLSPWebSocketProvider
class that supports reconnect on connection loss #269
GLSPModelSource
as default implementation for sprotty's ModelSource
API #272 #287
GLSPDiagramServer
has been deprecated and is no longer availableSelectionServiceAwareContextMenuMouseListener
renamed to GLSPContextMenuMouseListener
SourceURIAware
interface has been removed. No longe required since we only have one GLSPModelSource
binding now.EdgeTypeHint
sourceElementTypeIds
and targetElementTypeIds
are now optional. If not provided all connection targets are alloweddynamic
flag. If a hint has this flag enabled connection tools know that the have to query there server in addition
to checking the default Connectable.canConnect
method.RequestCheckEdgeAction
& CheckEdgeResultAction
used to query the server wether the provide edge information is valid.
Used in combination with dynamic type hints.ServerStatusAction
-> StatusAction
ServerMessageAction
-> MessageAction
InitializeClientSessionParams
with a clientActions
property. This is used by the server to now which action kinds are (also) handled by the client.GModel
naming scheme on client side [#291(https://github.com/eclipse-glsp/glsp-client/pull/291)]@eclipse-glsp/sprotty
SModel
classes haven been renamed by adding an Impl suffix (SModelElement
->SModelElementImpl
). We took this opportunity and aliased all sprotty model elements to consistently use GModel
SModelElement
-> GModelElement
SNode
-> GNode
SShapeElement
->GShapeElement
etc.Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.0.0...v2.0.0
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC09...v1.1.0-RC10
NodeGLSPClient
by @tortmayr in https://github.com/eclipse-glsp/glsp-client/pull/249
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC08...v1.1.0-RC09
reason
to SetMarkersAction
by @planger in https://github.com/eclipse-glsp/glsp-client/pull/244
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC07...v1.1.0-RC08
LayoutOperation
by @tortmayr in https://github.com/eclipse-glsp/glsp-client/pull/232
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC06...v1.1.0-RC07
createDiagramContainer
function by @tortmayr in https://github.com/eclipse-glsp/glsp-client/pull/231
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC05...v1.1.0-RC06
AnyObject
type by @tortmayr in https://github.com/eclipse-glsp/glsp-client/pull/225
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC04...v1.1.0-RC05
Full Changelog: https://github.com/eclipse-glsp/glsp-client/compare/v1.1.0-RC03...v1.1.0-RC04