Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Marker Resolutions

Identifier:
org.eclipse.ui.ide.markerResolution

Since:
3.0 (originally added in release 2.0 as org.eclipse.ui.markerResolution)

Description:
This extension point is used to associate a marker resolution generator with a specific "kind" of marker. (a marker of a certain type or having certain attribute values).

Configuration Markup:

<!ELEMENT extension ( markerResolutionGenerator*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

<!ELEMENT markerResolutionGenerator ( attribute*)>

<!ATTLIST markerResolutionGenerator

class      CDATA #REQUIRED

markerType IDREF #IMPLIED

>

  • class - the name of the class implementing IMarkerResolutionGenerator. For better performance it should also implement IMarkerResolutionGenerator2.
  • markerType - the marker type for which this marker resolution generator applies. It does not apply to marker subtypes.

<!ELEMENT attribute EMPTY>

<!ATTLIST attribute

name  CDATA #REQUIRED

value CDATA #REQUIRED

>

  • name - the name of the attribute whose value is being specified.
  • value - the specified value of the attribute.

Examples:
The following is an example of a marker resolution generator extension (note the sub-element and the way attributes are used):


 <extension point=
"org.eclipse.ui.ide.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>

In the example above, a marker resolution generator is associated with markers of type org.eclipse.ui.examples.readmetool.readmemarker whose org.eclipse.ui.examples.redmetool.id attribute has a value of 1234.


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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire