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

schema.codeMiningProviders.exsd Maven / Gradle / Ivy

There is a newer version: 3.18.0
Show newest version




      
         
      
      
         This extension point is used to register codemining providers. Associating providers via this extension doesn't automatically enable code-mining, and that clients are also supposed to use a reconcilier or whatever event mechanism to invoke ISourceViewerExtension5.updateCodeMinings().
      
   

   

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

   
      
         
            A CodeMining provider.
         
      
      
         
            
         
         
            
               
                  a string uniquely identifying this codemining provider
               
            
         
         
            
               
                  the fully qualified class name implementing the interface <code>org.eclipse.jface.text.codemining.ICodeMiningProvider</code>.
               
               
                  
               
            
         
         
            
               
                  the display label for the codemining provider, which will show in the CodeMining UI preferences
               
               
                  
               
            
         
      
   

   
      
         
            A core Expression that controls the enabled of the given codemining provider
         
      
      
         
            
            
            
            
            
            
            
            
            
            
            
            
            
         
      
   

   
      
         
      
      
         3.10
      
   

   
      
         
      
      
         The following is an example of a codemining provider definition:

<pre>
   <extension
         point="org.eclipse.ui.workbench.texteditor.codeMiningProviders">
      <codeMiningProvider
         class="org.eclipse.jdt.internal.ui.codemining.JavaReferencesCodeMiningProvider"
         id="org.eclipse.jdt.ui.codemining.references"
         label="Java References">
         <enabledWhen>
            <with variable="editor">
               <instanceof value="org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor"/>
            </with>
         </enabledWhen>
      </codeMiningProvider>
   </extension>
</pre>
      
   

   
      
         
      
      
         See the org.eclipse.jface.text.codemining.ICodeMiningProvider class and the org.eclipse.ui.workbench.texteditor.codeMiningProviders extension point.
      
   


   
      
         
      
      
         Copyright (c) 2017 Angelo ZERR.<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>
      
   






© 2015 - 2024 Weber Informatics LLC | Privacy Policy