マーカー・レゾリューション

ID: org.eclipse.ui.markerResolution

このリリース以降: 2.0

説明: この拡張ポイントは、マーカー・レゾリューション生成プログラムを特定の種類のマーカー (特定の型のマーカーまたは特定の属性値を持つマーカー) に関連付けるために使用します。

構成マークアップ:

   <!ELEMENT extension (markerResolutionGenerator*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT markerResolutionGenerator (attribute*)>

   <!ATTLIST markerResolutionGenerator
     class      CDATA #REQUIRED
     markerType CDATA #IMPLIED
   >

   <!ELEMENT attribute EMPTY>

   <!ATTLIST attribute
     name  CDATA #REQUIRED
     value CDATA #REQUIRED
   >

例: 以下は、マーカー・レゾリューション生成プログラム拡張の例です (サブエレメントと way 属性が使用されています)。

 <extension point="org.eclipse.ui.markerResolution">
  <markerResolutionGenerator
   class="org.eclipse.ui.examples.readmetool.ReadmeMarkerResolutionGenerator"
   markerType="org.eclipse.ui.examples.readmetool.readmemarker">
   <attribute name="org.eclipse.ui.examples.readmetool.id" value="1234"/>
  </markerResolutionGenerator>
</extension>

上の例で、マーカー・レゾリューション生成プログラムは、org.eclipse.ui.examples.redmetool.id 属性の値が 1234 であるタイプ org.eclipse.ui.examples.readmetool.readmemarker のマーカーに関連付けられています。

API 情報: 所定のマーカーのために複数のヘルプ生成プログラムを提供することが可能です。

Copyright (c) 2002, 2003 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html