Skip to content

Commit

Permalink
lsp: remove temporary trace region provider fix.
Browse files Browse the repository at this point in the history
The NPE issue fixed by this own implementation has been fixed directly
in Sprotty already since its release v0.4.1, see
theia-ide/sprotty@f547be1
  • Loading branch information
NiklasRentzCAU committed Jul 23, 2024
1 parent 3d6b596 commit 358f19b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://rtsys.informatik.uni-kiel.de/kieler
*
* Copyright 2018-2021 by
* Copyright 2018-2024 by
* + Kiel University
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
Expand All @@ -19,12 +19,10 @@ package de.cau.cs.kieler.klighd.lsp
import com.google.inject.Module
import de.cau.cs.kieler.klighd.lsp.utils.KeithDiagramSelectionListener
import de.cau.cs.kieler.klighd.lsp.utils.LazyTraceProvider
import de.cau.cs.kieler.klighd.lsp.utils.SimpleTraceRegionProvider
import org.eclipse.sprotty.IDiagramSelectionListener
import org.eclipse.sprotty.xtext.DefaultDiagramModule
import org.eclipse.sprotty.xtext.IDiagramGenerator
import org.eclipse.sprotty.xtext.ls.DiagramUpdater
import org.eclipse.sprotty.xtext.tracing.TextRegionProvider
import org.eclipse.xtext.ide.server.WorkspaceManager
import org.eclipse.xtext.naming.IQualifiedNameProvider
import org.eclipse.xtext.naming.SimpleNameProvider
Expand Down Expand Up @@ -53,10 +51,6 @@ class KGraphDiagramModule extends DefaultDiagramModule {
KGraphDiagramServer
}

def Class<? extends TextRegionProvider> bindTraceRegionProvider() {
SimpleTraceRegionProvider
}

override bindTraceProvider() {
LazyTraceProvider
}
Expand Down

This file was deleted.

0 comments on commit 358f19b

Please sign in to comment.