Skip to content

Commit

Permalink
Replace JavaSourceViewer with ISourceViewer
Browse files Browse the repository at this point in the history
This is a change in the extension point semanticHighlightingParticipants.
  • Loading branch information
kiritsuku committed Sep 2, 2014
1 parent 86c4e22 commit adc6f9a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package org.scalaide.core.extensions

import org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer
import org.eclipse.jface.text.source.ISourceViewer
import org.scalaide.ui.internal.editor.decorators.SemanticAction

/**
* Marker interface that needs to be subclasses by extensions that need to be
* hooked into the samantic highlighting process.
* Marker interface that needs to be subclassed by extensions that need to be
* hooked into the semantic highlighting process.
*
* Subclasses of this interface can be instantiated by the IDE an unlimited
* amount of times, therefore subclasses should not contain any state.
Expand All @@ -20,4 +20,4 @@ import org.scalaide.ui.internal.editor.decorators.SemanticAction
* reconciliation phase of the editor. Note, that the IDE is free to disable a
* participant if its implementation throws errors.
*/
abstract class SemanticHighlightingParticipant(val participant: JavaSourceViewer => SemanticAction)
abstract class SemanticHighlightingParticipant(val participant: ISourceViewer => SemanticAction)

0 comments on commit adc6f9a

Please sign in to comment.