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

schema.samples.exsd Maven / Gradle / Ivy

There is a newer version: 3.15.100
Show newest version




      
         
      
      
         <p>
This extension point should be used to register Eclipse code samples. A sample is one or more Eclipse projects that are packaged in a way suitable for subsequent import into the workspace. 
<p>
Each sample has a name, one or more project elements and a final perspective. The sample wizard will create a project for each <code>project</code> element, import the content from the archive, and open the final perspective if specified. Projects must be complete i.e. have correct nature and classpath (if Java or plug-in projects).
<p>If target view is specified and contains resource elements, it will be used to select and reveal those resources in the view after the sample has been created.
</p>
<p><b>This extension point is currently provided for internal Eclipse SDK usage only. It should not be used for anything else except Eclipse SDK examples.</b>
</p>
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  extension point attribute - in this case <code>org.eclipse.pde.ui.samples</code>.
               
            
         
         
            
               
                  not used.
               
            
         
         
            
               
                  not used.
               
               
                  
               
            
         
      
   

   
      
         
            an element that represents a single sample to be imported into the workspace.
         
      
      
         
            
            
            
         
         
            
               
                  a unique identifier of the sample
               
               
                  
               
            
         
         
            
               
                  a translatable name of the sample
               
               
                  
               
            
         
         
            
               
                  if specified, the sample wizard will switch to the perspective with the provided id at the end of the operation.
               
               
                  
               
            
         
         
            
               
                  an optional launch shortcut to be used to run the sample. If not specified, it will be assumed that a new Eclipse instance needs to be launched in order to see the sample. If specified, it needs to be the fully qualified name of the Java class that implements <code>org.eclipse.debug.ui.ILaunchShortcut</code> interface.
               
               
                  
               
            
         
         
            
               
                  an optional attribute that indicates that target view in the workbench that contains resources to select and reveal after the sample has been created. The view must implement <code>org.eclipse.ui.part.ISetSelectionTarget</code> interface. Resources listed in <code>project</code> elements will be selected and revealed in the target view.
               
               
                  
               
            
         
      
   

   
      
         
            each project element will result in a workspace project being created with the content imported from the associated archive.
         
      
      
         
            
               
                  name of the project to be created in the workspace for this sample
               
            
         
         
            
               
                  relative path to the ZIP file containing the content of the project to import
               
               
                  
               
            
         
         
            
               
                  shared projects may be listed in more than one sample. When this attribute is <code>true</code>, and the project with the same name already exists in the workspace, it will be silently skipped. Otherwise, users will be prompted for overwrite permission.
               
            
         
         
            
               
                  a project-relative path of the resource to select and reveal in the target view after creation.
               
            
         
      
   

   
      
         
            body text of this element should contain description of the sample.
         
      
      
         
            
               
                  an optional reference to the topic in Help that provides more information about the sample.
               
            
         
      
   

   
      
         
            specifies an activity that needs to be enabled for this sample
         
      
      
         
            
               
                  activity identifier to be used to enable the activity for this sample
               
            
         
      
   

   
      
         
      
      
         <p>
If specified, the value of the attribute <code>launcher</code> must represent a fully qualified name of the Java class that implements <code>org.eclipse.debug.ui.ILaunchShortcut</code> interface.
      
   

   
      
         
      
      
         3.0
      
   

   
      
         
      
      
         <p>
The following is an example of the extension point:
<pre>
   <extension point="org.eclipse.pde.ui.samples">
      <sample
           id="com.example.xyz.sample"
           name="My Sample">
         <description helpHref="/com.example.xyz.doc/samples/com.example.xyz.sample1/doc-html/doc.html">
             A short description of the sample.
         </description>
         <project name="com.example.xyz.sample1"
                  archive="samples/sample1.zip"/>
      </sample>
   </extension>
</pre>
      
   

   
      
         
      
      
         <p>
PDE UI supplies Runtime Workbench launcher for launching another instance of Eclipse.
      
   

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