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

schema.adapters.exsd Maven / Gradle / Ivy

There is a newer version: 3.6.100.v20160223-2218
Show newest version




      
         
      
      
         The adapters extension point allows plug-ins to declaratively register adapter factories.  This information is used to by the 
         runtime XML expression language to determine existence of adapters without causing plug-ins to be loaded.
         Registration of adapter factories via extension point eliminates the need to manually register adapter factories when a plug-in starts up.
      
   

   
      
         
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
               
                  
               
            
         
      
   

   
      
         
            
         
         
            
               
                  The fully qualified name of a class (typically implementing IAdaptable) that this factory provides adapters for.
               
               
                  
               
            
         
         
            
               
                  The fully qualified name of the adapter factory class.  Must implement <tt>org.eclipse.core.runtime.IAdapterFactory</tt>.
               
               
                  
               
            
         
      
   

   
      
         
            
               
                  The fully qualified name of a Java class or interface that this factory can adapt to.
               
               
                  
               
            
         
      
   

   
      
         
      
      
         3.0
      
   

   
      
         
      
      
         Following is an example of an adapter declaration.  This example declares that this plug-in will provide an adapter factory that will adapt objects of type IFile to objects of type MyFile.
<p>
   <pre>
      <extension point="org.eclipse.core.runtime.adapters">
         <factory 
            class="com.xyz.MyFileAdapterFactory" 
            adaptableType="org.eclipse.core.resources.IFile">
            <adapter type="com.xyz.MyFile"/>
         </factory>
      </extension>
   </pre>
</p>
      
   

   
      
         
      
      
         Adapter factories registered using this extension point can be queried using the method 
<code>IAdapterManager.hasAdapter</code>, or retrieved using one of the <tt>getAdapter</tt> methods on <tt>IAdapterFactory</tt>.
An adapter factory registered with this extension point does not need to be registered at runtime using <tt>IAdapterFactory.registerAdapters</tt>.
      
   

   
      
         
      
      
         Several plug-ins in the platform provide adapters for a number of different IAdaptable objects.
      
   

   
      
         
      
      
         Copyright (c) 2004, 2007 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>
      
   






© 2015 - 2024 Weber Informatics LLC | Privacy Policy