@eclipse-glsp/protocol
Advanced tools
Changelog
LazyInjector
that can be used for deferred retrial of services from the container. #330
preLoadDiagram
hook for IDiagramStartup
s. This hook is invoked right before the DiagramLoader
starts the model loading processGLSPWebWorkerProvider
to simply setting up a worker connection to a in-browser GLSP-server #322UIExtension
to allow more fine-grained definition of container and parent #333 - Contributed on behalf of Axon Ivy AGBound
,Dimension
and Point
. Introduce Vector
and Movement
types #341 - Contributed on behalf of Axon Ivy AGgridModule
for managing and rendering grids and debugModule
that allows do display additional graphical debug information during development #343 #359ContainerConfiguration
API and add additional checks to ensure that all ids of FeatureModules
are unique #355AutocompleteWidget
that prevented proper application of valid suggestions #362ToolManager
to avoid unnecessary deactivation and reactivation of default tools #367onFocusChanged
event to FocusTracker
and EditorContextService
#380MarqueeUtil
class which is now a singleton, injectable and needs the DOMHelper
. This will cause a break if you manually created the class without injecting it. To construct it manually, you need to provide the DomHelper
as a second argument #373.chai
introduce by accidentally exporting testing modules #321
@eclipse-glsp/protocol
no longer exports test-util.ts
via main index. If needed the module can still be imported via the full path @eclipse-glsp/protocol/lib/utils/test-util.ts
SetModelCommand
and unify rank
and priority
property #323.
FeedbackAwareUpdateModelCommand.getFeedbackCommands
moved to IFeedbackEmitter
for re-use, resulting in two new methods: getFeedbackCommands
and applyFeedbackCommands
.FeedbackAwareUpdateModelCommand.getPriority
is replaced by a generic rank
property and the Ranked
namespace.priority
property (higher priority equals earlier execution) in FeedbackCommand
is superseeded by a rank
property (lower rank equals earlier execution).GLSPCommandStack
IGModelRootListeners
has moved to the EditorContextService
.onModelRootChanged
is no deprecated. Use EditorContextService.onModelRootChanged
insteadEditorContextService
: The postRequestModel
method has been removed. It was previously unused and effectively a no-op.SelectionService
: Injected commandStack
property has been removed.FeedbackEmitter
base implementation that is stable across model updates and allows composing feedback before dispatching it #342 </br>
Refactored tool implementations and related services to make use of the new FeedbackEmitter
API. This can cause potential breaks for adopters that have customized the default tool implementations.
Affected tools and services: MouseTrackingElementPositionListener
, HelperLineManager
, FeedbackMoveMouseListener
, NodeCreationToolMouseListener
, EdgeEditListener
,ChangeBounds
API by introducing a centralized ChangeBoundsManage
and ChangeBoundsTracker
#344 #348 #352 - Contributed on behalf of Axon Ivy AG
This can cause potential breaks for adopters that have customized the default tool implementations </br>
Affected tools and services: MouseTrackingElementPositionListener
, FeedbackMoveMouseListener
, ChangeBoundsTool
, ChangeBoundsListener
,FeedbackEdgeRouteMovingMouseListener
, NodeCreationTool
,