schema.quickDiffReferenceProvider.exsd Maven / Gradle / Ivy
Allows contributors to add reference providers for the quick diff display.
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
The definition of a reference provider for the quick diff display.
the class of the reference provider, which must implement <code>org.eclipse.ui.texteditor.quickdiff.IQuickDiffReferenceProvider</code>
the display label for the provider, which will show up in the menu that allows the user to set the quick diff reference to this provider
A string uniquely identifying this reference provider.
if this flag is set to <code>true</code>, this reference provider will be installed per default the first time quick diff is enabled for a document. If multiple providers are installed with the flag set are encountered, the first one is taken.
3.0
The following is an example of a reference provider definition. It contributes a provider that uses the version of a document saved on disk as a reference.
<p>
<pre>
<extension point="quickdiff.referenceprovider">
<referenceprovider
id="default"
name="%LastSavedProvider.name"
label="%quickdiff.referenceprovider.label"
class="org.eclipse.ui.internal.editors.quickdiff.providers.LastSaveReferenceProvider">
</referenceprovider>
</extension>
</pre>
</p>
There is no additional API for managing reference providers.
The <code>org.eclipse.ui.editors</code> plugin contributes <code>LastSaveReferenceProvider</code>. See its implementation as an example.
Copyright (c) 2001, 2005 IBM Corporation and others.<br>
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>