2012-11-09 3 views
4

scala 플러그인 프로젝트에서 외부 도구를 실행 중입니다. 이 도구는 특정 조건에서 오류/경고를 생성 할 수 있습니다.이 조건은 발생 가능한 지점으로 점프 할 수 있도록 클릭 가능하게하고 싶습니다. 내가 검색하고 consolePatternMatchListener 확장 점을 추가 할 필요가 있음을 이해하고 다음과 같은 예를 가지고consolePatternMatchListener 확장 점을 작성하는 방법은 무엇입니까?

<absolute_file_path>:<line_no>:ERROR: <message> 

:

<extension 
     point="org.eclipse.ui.console.consolePatternMatchListeners"> 
     <consolePatternMatchListener 
      class="com.example.ExampleConsolePatternMatcher" 
      id="com.example.ExampleConsolePatternMatcher" 
      regex=".*foo.*"> 
     <enablement> 
      <test property="org.eclipse.ui.console.consoleTypeTest" value="exampleConsole"/> 
     </enablement> 
     </consolePatternMatchListener> 
    </extension> 

내가 플러그인 일식 매우 새로운 오전 때문에이 오류 메시지는 다음과 같은 구문입니다 개발, 나는 위의 확장을 plugin.xml에 작성하는 방법을 알고 싶었다. -> Extension Point

답변

관련 문제