org.eclipse.ui.texteditor.IMarkerUpdater
. The update strategies can be registered either for a particular marker type or all marker types. The latter by omitting any marker type in the extension.
<!ELEMENT extension (updater+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT updater (required-updater*)>
<!ATTLIST updater
id CDATA #REQUIRED
markerType IDREF #IMPLIED
class CDATA #REQUIRED>
<!ELEMENT required-updater EMPTY>
<!ATTLIST required-updater
id IDREF #REQUIRED>
<extension point= "org.eclipse.ui.editors.markerUpdaters"> <updater id="org.eclipse.jdt.ui.markerUpdaters.JavaSearchMarkerUpdater" class="org.eclipse.jdt.internal.ui.search.JavaSearchMarkerUpdater" markerType="org.eclipse.search.searchmarker"> <required-updater id="org.eclipse.ui.texteditor.BasicMarkerUpdater"/> </updater> </extension>
This example registers org.eclipse.jdt.internal.ui.search.JavaSearchMarkerUpdater as a marker updater for all markers of the type org.eclipse.search.searchmarker including all its derived types. This marker updater requires BasicMarkerUpdater to execute first.
<extension point= "org.eclipse.ui.editors.markerUpdaters"> <updater id="org.eclipse.ui.texteditor.BasicMarkerUpdater" class="org.eclipse.ui.texteditor.BasicMarkerUpdater"> </updater> </extension>
This example registers org.eclipse.ui.texteditor.BasicMarkerUpdater as a marker updater independent from the type of the marker. This marker updater does not require any other updater to run first.
Copyright (c) 2001, 2014 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0