실행 위임

org.eclipse.debug.core.launchDelegates

3.0

이 확장점은 하나 이상의 실행 모드에 대한 기존 실행 구성 유형에 실행 위임을 제공하는 메커니즘을 제공합니다. 실행 모드는 확장 가능하므로 기존 실행 구성 유형에 추가 실행 위임을 제공해야 할 수도 있습니다. 각 실행 위임은 특정 실행 구성 유형에 대해 제공됩니다. 실행 위임은 하나 이상의 실행 모드를 지원하고 실행 구현을 담당하는 위임자를 지정합니다.

<!ELEMENT extension (launchDelegate*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT launchDelegate EMPTY>

<!ATTLIST launchDelegate

id                   CDATA #REQUIRED

delegate             CDATA #REQUIRED

modes                CDATA #REQUIRED

type                 CDATA #REQUIRED

sourcePathComputerId CDATA #IMPLIED

sourceLocatorId      CDATA #IMPLIED>


다음은 실행 위임 확장점의 예제입니다.

 

<extension point=

"org.eclipse.debug.core.launchDelegates"

>

<launchDelegate id=

"com.example.ExampleProfileDelegate"

delegate=

"com.example.ExampleProfileDelegate"

type=

"org.eclipse.jdt.launching.localJavaApplication"

modes=

"profile"

>

</launchDelegate>

</extension>

위의 예제에서 지정된 실행 위임은 프로파일 모드의 Java 응용프로그램을 실행하는 데 제공됩니다.

delegate 속성 값은 org.eclipse.debug.core.model.ILaunchConfigurationDelegate 인터페이스를 구현하는 Java 클래스의 완전한 이름이어야 합니다.