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

schema.cheatSheetContent.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         This extension point is used to register cheat sheet content contributions. Cheat sheets appear as choices from the "Help" menu or from within the cheat sheet view, and are typically used to aid a user through a series of complex tasks to accomplish an overall goal.
<p>
The cheat sheets are organized into categories which usually reflect a particular problem domain.  For instance, a Java oriented plug-in may define a category called "Java" which is appropriate for cheat sheets that would aid a user with any of the Java tools.  The categories defined by one plug-in can be referenced by other plug-ins using the category attribute of a cheatsheet element. Uncategorized cheat sheets, as well as cheat sheets with invalid category paths, will end up in an "Other" category. 
<p>
Cheat sheets may optionally specify a description subelement whose body should contain short text about the cheat sheet.
      
   

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

   
      
         
            
         
         
            A category element in the cheatsheetContent extension point creates a new category in the cheat sheet menu.
The cheat sheet menu is available from the help menu in the workbench.
If a new category is specified, cheat sheets may be targeted to that category and will appear under it in the 
cheat sheet selection dialog.
         
      
      
         
            
               
                  a unique name that can be used to identify this category
               
            
         
         
            
               
                  a translatable name of the category that will be used in the dialog box
               
            
         
         
            
               
                  a path to another category if this category should be added as a child
               
            
         
      
   

   
      
         
            
         
         
            A cheatsheet element is put into the cheatsheetContent extension point if there is a cheat sheet to be contributed to the 
workbench.  A cheat sheet element must specify an id, a translatable name to appear in the selection options, a category id
to specify which category this cheat sheet will be included in, and a content file.
The cheat sheet content file is an XML file that describes the steps and actions that the cheat sheet has.
         
      
      
         
            
         
         
            
               
                  a unique name that can be used to identify this cheat sheet
               
            
         
         
            
               
                  a translatable name of the cheat sheet that will be used in the help menu and the selection dialog box
               
            
         
         
            
               
                  a slash-delimited path ('/') of category IDs. Each token in the
path must represent a valid category ID previously defined
by this or some other plug-in. If omitted, the wizard will be
added to the "Other" category.
               
               
                  
               
            
         
         
            
               
                  the path of a cheat sheet content file. The content file is an XML file that contains the specifics of the cheat sheet (<a href="cheatSheetContentFileSpec.html">cheat sheet content file format specification)</a>.
The content file is parsed at run time by the cheat sheet framework. Based on the settings in this file, a certain number of steps, actions, descriptions, and help links are shown to the user when the cheat sheet is opened. The path is interpreted as relative to the plug-in that declares the extension; the path may include special variables. In particular, use "$nl$" as the first segment of the path to indicate that there are locale-specific translations of the content file in subdirectories below "nl/". For more detail about the special variables, you can read the Java API document for <a href="../api/org/eclipse/core/runtime/Platform.html#find">Platform.find</a>.
               
               
                  
               
            
         
         
            
               
                  listener is a fully qualified name of a Java class which must subclass <code>org.eclipse.ui.cheatsheets.CheatSheetListener</code>.
               
            
         
         
            
               
                  Since Eclipse 3.2 a new kind of cheatsheet, a composite cheatsheet was introduced. A composite cheatsheet manages a set of tasks, each task can be a simple cheatsheet or other kind of task.
               
            
         
      
   

   
      
         
            a short description of the cheat sheet
         
      
   

   
      
         
            
         
         
            This extension point is provisional, being based on the provisional API class TaskEditor. 

The taskEditor extension point allows for custom UI to appear in the editor pane of a composite cheatsheet. Any task in a compostite cheatsheet whose kind matches the id of this extension will use the class defined in this extension point to create the editor area.
         
      
      
         
            
               
                  An id which must be unique among task editors.
               
            
         
         
            
               
                  A class which implements a task editor
               
               
                  
               
            
         
         
            
               
                  The icon which will be displayed in the task explorer for a task which uses this kind of editor.
               
               
                  
               
            
         
      
   

   
      
         
            
         
         
            This extension point is provisional, being based on the provisional API class TaskExplorer. 

This extension point allows for the contribution of a task explorer which will be used when opening a composite cheatsheet.
         
      
      
         
            
               
                  The id of this explorer which must be unique among task explorer ids. If a composite cheatsheet has the explorerId set to this id, this explorer will be displayed in the task explorer area of a composite cheatsheet.
               
            
         
         
            
               
                  A class which implements ITaskExplorer. The class must display the tasks in the composite cheatsheet and allow the user to select the tasks to be displayed in the editor.
               
               
                  
               
            
         
         
            
               
                  An icon to be used in the dropdown menu which allows for switching between explorers.
               
               
                  
               
            
         
         
            
               
                  
               
               
                  
               
            
         
      
   

   
      
         
      
      
         3.0
      
   

   
      
         
      
      
         Here is a sample usage of the cheatSheetContent extension point:
<p>
<pre>
<extension point="org.eclipse.ui.cheatsheets.cheatSheetContent">
  <category
     name="Example category"
     id="com.example.category">
  </category>
  <cheatsheet
     name="Example cheat sheet"
     category="com.example.category"
     id="com.example.cheatSheet"
     contentFile="ExampleCheatSheet.xml">
         <description>
           This is a descriptive bit of text for my cheat sheet description.
         </description>
  </cheatsheet>
</extension>
</pre>
</p>
      
   

   
      
         
      
      
         For further details see the spec for the org.eclipse.ui.cheatsheets API package.
      
   

   
      
         
      
      
         There are no built-in cheat sheets.
      
   

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