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

schema.rap.resources.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         The <code>resources</code> extension point is used to register static resources such as images or JavaScript files in order to make them available at for the client. The resource can be accessed by a URL that can be obtained by <code>RWT.getResourceManager().getLocation( String )</code>.
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               

               
            
         
         
            
               

               
            
         
         
            
               

               
               
                  
               
            
         
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  An optional identifier of the resource instance.
               
            
         
         
            
               
                  An implementation of <code>org.eclipse.rap.ui.resources.IResource</code> to define location, options and other aspects for this resource.
               
               
                  
               
            
         
      
   

   
      
         
            
               
                  The resourceId is used to identify the resource on which this resource depends on.
               
               
                  
               
            
         
      
   

   
      
         
      
      
         RAP 1.0
      
   

   
      
         
      
      
<pre>
<extension
    id="example.customwidget.customjs"
    point="org.eclipse.rap.ui.resources">
  <resource class="example.customwidget.CustomJavaScriptResource"/>
</extension>
</pre>
      
   

   
      
         
      
      
         Besides registering static resources with an extension you can also dynamically register new resources with the resource manager. Use <code>RWT.getResourceManager()</code> to obtain the current resource manager instance.
      
   


   
      
         
      
      
         Copyright (c) 2007, 2015 EclipseSource 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 - 2025 Weber Informatics LLC | Privacy Policy