<!ELEMENT extension (consolePatternMatchListener*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT consolePatternMatchListener (enablement)>
<!ATTLIST consolePatternMatchListener
id CDATA #REQUIRED
class CDATA #REQUIRED
regex CDATA #REQUIRED
flags CDATA #IMPLIED
qualifier CDATA #IMPLIED>
IPatternMatchListenerDelegate
를 구현하는
Java 클래스의 완전한 이름을 지정합니다. java.util.regex.Pattern
에 정의되어 있으며
문자열로 지정해야 합니다(예: "Pattern.MULTILINE" 또는 "MULTILINE"). regex
가 들어 있을 수 있는 행을 식별할 때 사용하는 단순한
정규 표현식. 이 표현식이 있는 행을 찾으면 이 패턴 일치기의 전체
regex
가 있는 행의 처음부터 검색을 수행합니다. 속성
사용은 선택적이지만 이 표현식이 없는 행이 검색에서 제외되면
성능이 크게 향상됩니다. 위 예제에서 제공된 콘솔 패턴 일치기는 "exampleConsole" 유형의 콘솔에서 사용됩니다.<extension point=
"org.eclipse.ui.console.consolePatternMatchListener"
>
<consolePatternMatchListener class=
"com.example.ExampleConsolePatternMatcher"
id=
"com.example.ExampleConsolePatternMatcher"
regex=
".*foo.*"
>
<enablement>
<test property=
"org.eclipse.ui.console.consoleTypeTest"
value=
"exampleConsole"
/>
</enablement>
</consolePatternMatchListener>
</extension>
IConsole.getType()
값을 테스트하는 enablement 표현식의 콘솔 유형 특성 테스터를 제공합니다. 특성 테스터 ID는
org.eclipse.ui.console.consoleTypeTest
입니다.
Copyright (c) 2000, 2005 IBM Corporation and others.
All rights reserved. 본 프로그램 및 본 프로그램에 동봉되는 자료는 본 배포물에 동봉되는 Eclipse Public License v1.0의 조항에 따라 사용해야 하며
웹 사이트(http://www.eclipse.org/legal/epl-v10.html)에서도 관련 사항을 참조할 수 있습니다.