tools/JavaCompilerProblemService.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 01 May 2013 16:49:03 +0100
branchdevelopment
changeset 2574 6f285ee83f22
parent 2515 bcfe9f4dca6b
child 2644 e61250315ca8
permissions -rw-r--r--
Updates stx:libjava/libs definition. To use new javaBundle method to define java code doe this package.

"{ 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> $'
! !