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

schema.launchShortcuts.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         <p>
This extension point is used to register a launching shortcut in a PDE editor. Launch shortcuts appear in the Testing section on the Overview page of the plug-in manifest editor.  This allows clients to display in the editor shortcuts for their custom launch configurations or provide a shorcut to a profile mode for the existing <code>Eclipse Application</code> and <code>OSGi Framework</code> launch configurations.
</p>
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
               
                  
               
            
         
      
   

   
      
         
            
               
                  the id of the corresponding <code>org.eclipse.debug.ui.launchShortcuts</code> extension which should be launched when the link is clicked.
               
               
                  
               
            
         
         
            
               
                  human-readable label to be displayed in the editor.
               
               
                  
               
            
         
         
            
               
                  the mode in which to launch the shortcut.  Permitted values are <code>run</code>, <code>debug</code> and <code>profile</code>.
               
            
            
               
                  
                  
                  
                  
                  
                  
               
            
         
         
            
               
                  If set to <samp>true</samp>, the link is displayed only if the plug-in manifest editor's presentation is set to show OSGi-related sections only, ie. when the Extensions and Extension Points pages are absent.  If not specified, the value is assumed to be <samp>false</samp>.
               
            
         
         
            
               
                  When <code>true</code>, this launch shortcut is only displayed in projects it has been associated with via <code>IBundleProjectDescription</code>. When unspecified, this value is assumed to be <code>false</code>. This attribute was added in the 3.6 release to support custom launch shortcuts in Manifest editors.
               
            
         
      
   

   
      
         
      
      
         <p>
The value of the attribute <code>id</code> must be the id of a defined <code>org.eclipse.debug.ui.launchShortcuts</code> extension.  The class specified in the matching <code>org.eclipse.debug.ui.launchShortcuts</code> extension will be instantiated and its <code>launch(IEditorPart, String)</code> will be called to launch.
</p>
<p>
The value of the attribute <code>mode</code> must <code>run</code>, <code>debug</code>, or <code>profile</code>.
</p>
      
   

   
      
         
      
      
         3.3
      
   

   
      
         
      
      
         <p>
The following is an example of the extension point:
<pre>
   <extension
         point="org.eclipse.pde.ui.launchShortcuts">
      <shortcut
            id="org.eclipse.pde.ui.runtimeWorkbenchShortcut"
            label="Launch an Eclipse Runtime" 
            mode="run"
            osgi="false"/>
   </extension>
</pre>
      
   

   
      
         
      
      
         <p>
PDE supplies shortcut extensions to launch Eclipse applications and OSGi frameworks.
</p>
      
   

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