alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

   <!-- 
      Cheat sheet test content
   -->
   <extension
         point="org.eclipse.ui.cheatsheets.cheatSheetContent">
      <category
            name="Cheat sheet examples - part 1"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat">
      </category>
      <category
            name="Cheat sheet examples - part 2"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat2">
      </category>
      <category
            name="Tests"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat">
      </category>
      <cheatsheet
            name="Hello World"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorld.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorld">
         <description>
            This cheat sheet will guide you through building a hello world Java application and testing it.
            Uses only the basic cheat sheet features.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Hello World With Extensions Icons"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorldWithExtensions.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorldWithExtensions">
         <description>
            This cheat sheet has extra icons next to the help icon using the cheatSheetItemExtension extension point.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Hello World With Subitems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorldWithSubitems.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorldWithSubitem">
         <description>
            This cheat sheet uses subitems.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Cheat Sheets actions"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestCSActions.xml"
            id="org.eclipse.ua.tests.cheatsheet.cheatsheetsActions">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Parameters"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestParameters.xml"
            id="org.eclipse.ua.tests.cheatsheet.parameters">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Context Help and Help Links"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestContext_Help.xml"
            id="org.eclipse.ua.tests.cheatsheet.infopop.help">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing SubItems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestSubItems.xml"
            id="org.eclipse.ua.tests.cheatsheet.subitems">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Dynamic SubItems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestDynamicSubItems.xml"
            id="org.eclipse.ua.tests.cheatsheet.dynamic.subitems">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Item Description Formatting"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestDescriptionFormatting.xml"
            id="org.eclipse.ua.tests.cheatsheet.description">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Actions"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestActions.xml"
            id="org.eclipse.ua.tests.cheatsheet.actions">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <taskEditor
            class="org.eclipse.ua.tests.cheatsheet.util.TestTaskEditor"
            icon="$nl$/icons/sample.gif"
            id="ua.junit"/>
      <cheatsheet
            composite="false"
            contentFile="data/cheatsheet/search/CSSearchTest.xml"
            id="org.eclipse.ua.tests.cheatsheet.searchTest"
            name="Test cheat sheet search"/>
      <cheatsheet
            composite="true"
            contentFile="data/cheatsheet/search/CompositeSearchTest.xml"
            id="org.eclipse.ua.tests.composite.searchTest"
            name="Composite cheat sheet search test"/>
      <cheatsheet
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            composite="false"
            contentFile="data/cheatsheet/performance/simple.xml"
            id="org.eclipse.ua.tests.cheatsheet.performance.simple"
            name="Performance test simple cheat sheet">
         <description>
            This cheat sheet is used to measure simple cheat sheet view performance.
         </description>
      </cheatsheet>
      <cheatsheet
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            composite="true"
            contentFile="data/cheatsheet/performance/composite.xml"
            id="org.eclipse.ua.tests.cheatsheet.performance.composite"
            name="Performance test composite cheat sheet">
         <description>
            This cheat sheet is used to measure composite cheat sheet view performance.
         </description>
      </cheatsheet>
      <category
            id="org.eclipse.ua.tests.category979978139"
            name="User Assistance Tests">
      </category>
      <cheatsheet
            category="org.eclipse.ua.tests.category979978139"
            composite="true"
            contentFile="non_junit/cheatsheets/uaTests.xml"
            id="org.eclipse.ua.tests.cheatsheet1052183668"
            name="User Assistance Test Suite">
         <description>
            User Assistance Test Suite
         </description>
      </cheatsheet>
   </extension>

   <!-- 
      Cheat sheet context help test
   -->
   <extension point="org.eclipse.help.contexts"> 
       <contexts file="data/cheatsheet/contexts.xml"/>
   </extension>

   <!-- 
      Command used in tests
   -->
   <extension
         point="org.eclipse.ui.commands">
      <category
            id="org.eclipse.ui.cheatsheets.tests.category1"
            name="org.eclipse.ui.cheatsheets.tests.category1"/>
      <command
            categoryId="org.eclipse.ui.category.file"
            defaultHandler="org.eclipse.ua.tests.cheatsheet.execution.CommandHandler"
            id="org.eclipse.ui.cheatsheets.tests.command1"
            name="Cheatsheet test command">
         <commandParameter
               id="param1_id"
               name="Parameter1"
               optional="true"
               />
         <commandParameter
               id="param2_id"
               name="Parameter2"
               optional="true"
               />
      </command>
      <command
            defaultHandler="org.eclipse.ua.tests.cheatsheet.execution.NegateIntegerHandler"
            id="org.eclipse.ui.cheatsheets.tests.NegateIntegerCommand"
            name="Test Command with Integer Values"
            returnTypeId="org.eclipse.ui.dialogs.Integer">
         <commandParameter
               id="number"
               name="Number"
               optional="false"
               typeId="org.eclipse.ui.dialogs.Integer"/>
      </command>
   </extension>

   <!--
      Intro test content
   -->
   <extension
         point="org.eclipse.ui.intro">
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.dynamicXHTML">
      </intro>
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.dynamicXML">
      </intro>
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.anchors">
      </intro>
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.mixed">
      </intro>
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.static">
      </intro>
   </extension>   
   <extension
         point="org.eclipse.ui.intro.config">
      <config
            introId="org.eclipse.ua.tests.intro.dynamicXHTML"
            content="data/intro/dynamicXHTML/introContent.xml"
            id="org.eclipse.ua.tests.intro.config.dynamicXHTML">
         <presentation
               home-page-id="root">
            <implementation
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
         </presentation>
      </config>
      <config
            introId="org.eclipse.ua.tests.intro.dynamicXML"
            id="org.eclipse.ua.tests.intro.config.dynamicXML"
            content="data/intro/dynamicXML/introContent.xml">
         <presentation
               home-page-id="root" standby-page-id="standby">
            <implementation
                  style="data/intro/dynamicXML/css/shared.css"
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
            <implementation
                  kind="swt">
            </implementation>
         </presentation>
      </config>
      <config
            introId="org.eclipse.ua.tests.intro.anchors"
            id="org.eclipse.ua.tests.intro.config.anchors"
            content="data/intro/anchors/introContent.xml">
         <presentation
               home-page-id="root" standby-page-id="standby">
            <implementation
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
            <implementation
                  kind="swt">
            </implementation>
         </presentation>
      </config>
      <config
            introId="org.eclipse.ua.tests.intro.mixed"
            id="org.eclipse.ua.tests.intro.config.mixed"
            content="data/intro/mixed/introContent.xml">
         <presentation
               home-page-id="dynamic1" standby-page-id="dynamic3">
            <implementation
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
            <implementation
                  kind="swt">
            </implementation>
         </presentation>
      </config>
      
      <config
            introId="org.eclipse.ua.tests.intro.static"
            id="org.eclipse.ua.tests.intro.config.static"
            content="data/intro/staticroot/introContent.xml">
         <presentation
               home-page-id="static1" standby-page-id="static3">
            <implementation
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
            <implementation
                  kind="swt">
            </implementation>
         </presentation>
      </config>
   </extension>
   <extension
         point="org.eclipse.ui.intro.configExtension">
      <configExtension
            content="data/intro/dynamicXHTML/ext.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXHTML">
      </configExtension>
      <configExtension
            content="data/intro/dynamicXHTML/ext2.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXHTML">
      </configExtension>
      <configExtension
            content="data/intro/dynamicXML/ext.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXML">
      </configExtension>
      
      <configExtension
            content="data/intro/anchors/extn1.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      <configExtension
            content="data/intro/anchors/extn2.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      <configExtension
            content="data/intro/anchors/extn3.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      <configExtension
            content="data/intro/anchors/extn4.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      <configExtension
            content="data/intro/anchors/extn5.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      <configExtension
            content="data/intro/anchors/extn6.xml"
            configId="org.eclipse.ua.tests.intro.config.anchors">
      </configExtension>
      
      <!-- 3.2 welcome content used for open welcome performance test -->
      <!-- filtered unless running test -->
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.jdt/overviewExtensionContent.xml"/>  
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.jdt/tutorialsExtensionContent.xml"/>  
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.jdt/samplesExtensionContent.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.jdt/newsExtensionContent.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig" 
            content="data/intro/performance/org.eclipse.pde/overviewExtensionContent.xml"/>  
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.pde/tutorialsExtensionContent.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.pde/samplesExtensionContent.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.pde/samplesExtensionContent2.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.pde/newsExtensionContent.xml"/> 
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.platform/overviewEx.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.platform/tutorialsEx.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.platform/whatsnewEx1.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.platform/whatsnewEx2.xml"/>
      <configExtension
            configId="org.eclipse.ui.intro.universalConfig"
            content="data/intro/performance/org.eclipse.platform/whatsnewEx3.xml"/>
   </extension>

   <!--
      TOC test content
   -->
   <extension point="org.eclipse.help.toc">
       <toc file="data/help/toc/root.xml" primary="true"/>
       <toc file="data/help/manual/manual.xml"/>
       <toc file="data/help/toc/filteredToc/toc.xml"/>
       <toc file="data/help/toc/filteredToc/filter.xml"/>
       <toc file="data/help/toc/filteredToc/simple_toc.xml"/>
       <toc file="data/help/toc/extraContent/toc.xml"/>
       <toc file="data/help/toc/extraContent/toc2.xml"/>
       <toc file="data/help/toc/extraContent/simple_toc.xml"/>
       <toc file="data/help/search/toc.xml"/>
       <toc file="data/help/search/toc2.xml" extradir="data/help/search/extraDir"/>
       <toc file="data/help/search/toc3.xml" extradir="data/help/search/extraDir2"/>
       <toc file="data/help/search/toc4.xml" extradir="data/help/search/extraDir3"/>
       <toc file="data/help/index/toc.xml"/>
       <toc file="non_junit/toc.xml"/>
   </extension>

   <extension point= "org.eclipse.help.contentExtension"> 
      <contentExtension file="data/help/dynamic/include/extension.xml"/>
      <contentExtension file="data/help/dynamic/extension/extension.xml"/>
      <contentExtension file="data/help/dynamic/shared/extension.xml"/>
      <contentExtension file="data/help/search/extension.xml"/>
      <contentExtension file="data/help/search/extension2.xml"/>
   </extension>
   <extension
         point="org.eclipse.help.index">
      <index
            file="data/help/index/index.xml">
      </index>
   </extension>



   <!--
      A dummy product used to arrange the welcome contributions for the performance test.
   -->
   <extension id="dummy" point="org.eclipse.core.runtime.products"> 
      <product name="dummyProductName" application="org.eclipse.ui.ide.workbench" description="dummyProductName"> 
         <property name="preferenceCustomization" value="data/intro/performance/plugin_customization.ini"/>
      </product> 
   </extension> 

</plugin>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.