All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.quickDiffReferenceProvider.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         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>

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 <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/

SPDX-License-Identifier: EPL-2.0
      
   






© 2015 - 2024 Weber Informatics LLC | Privacy Policy