@eclipse-glsp/protocol
Advanced tools
Changelog
GLSPProjectionView
#196EditLabelUIExtension
where the diagram becomes dirty without an actual change. #766ComputedBoundsAction
definition with routing information. This enables proper forwarding of client-side computed routes to the server #201createClientContainer
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 #236Disposable
type #222deselectAll
flag for SelectAction
s #257registerListener
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 #267statusModule
that binds UI extension to handle & render GLSPStatusMessages
. #272EditorContextService
#272DiagramLoader
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
#275IButtonHandler
constructor is now deprecated. Please use configureButtonHandler()
instead. #195 - Contributed on behalf of STMicroelectronicsUndoOperation
and RedoOperation
to UndoAction
and RedoAction
to match operation specification #216vscode-ws-jsonrpc
. The protocol package now directly offers functions to create a websocket rpc connections #215elementIds
property of LayoutOperation
is now optional. If undefined
the entire model will be layouted #232TYPES.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
#265glsp
prefix from all modules (e.g. glspSelectModule
-> selectModule
)defaultGLSPModule
-> baseModule
modelHintsModule
-> typeHintsModule
enableDefaultToolsOnFocusLossModule
-> toolFocusLossModule
glspEditLabelModule
-> labelEditModule
GLSPWebSocketProvider
class that supports reconnect on connection loss #269GLSPModelSource
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.