tools/JavaCompilerProblemService.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 24 May 2013 11:28:33 +0100
branchbuiltin-class-support
changeset 2625 a91a1db9718e
parent 2515 bcfe9f4dca6b
child 2644 e61250315ca8
permissions -rw-r--r--
Make JavaMirror to access classes through pool vars.

"{ Package: 'stx:libjava/tools' }"

Tools::CodeViewService subclass:#JavaCompilerProblemService
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-Java-Tools-Editor'
!


!JavaCompilerProblemService methodsFor:'accessing'!

syntaxHighlighter

    "Returns a syntax highligter class or nil. The highlighting
     process gather all syntaxHighlighterClasses from all services
     and then use them one by one to highlight the text. Individual
     services may override this method to provide additional 
     highliging of the source code"

    JavaCompiler isNil ifTrue:[ ^ nil ].
    ^JavaCompilerProblemHighlighter new

    "Created: / 15-04-2013 / 23:35:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!JavaCompilerProblemService class methodsFor:'documentation'!

version_HG

    ^ '$Changeset: <not expanded> $'
! !