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
   id="org.eclipse.ui.forms.examples"
   name="%pluginName"
   version="3.1.0"
   provider-name="Eclipse.org"
   class="org.eclipse.ui.forms.examples.internal.ExamplesPlugin">

   <runtime>
      <library name="examples.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.ui.forms"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.ui.ide"/>
   </requires>
   <extension
         point="org.eclipse.ui.commands">
      <category
            id="org.eclipse.ui.forms.examples.category"
            name="Eclipse Forms Examples">
      </category>
      <command
            categoryId="org.eclipse.ui.forms.examples.category"
            defaultHandler="org.eclipse.ui.forms.examples.internal.rcp.OpenSimpleFormEditorAction"
            id="org.eclipse.ui.forms.examples.simple"
            name="Simple Form Editor">
      </command>
      <command
            categoryId="org.eclipse.ui.forms.examples.category"
            defaultHandler="org.eclipse.ui.forms.examples.internal.rcp.OpenSingleHeaderEditorAction"
            id="org.eclipse.ui.forms.examples.singleHeader"
            name="Single Header Editor">
      </command>
      <command
            categoryId="org.eclipse.ui.forms.examples.category"
            defaultHandler="org.eclipse.ui.forms.examples.internal.dialogs.OpenFormDialog"
            id="org.eclipse.ui.forms.examples.openDialog"
            name="Open Form Dialog...">
      </command>
   </extension>


   <extension
         point="org.eclipse.ui.editors">
      <editor
            name="%baseEditor"
            default="true"
            icon="icons/file_obj.gif"
            class="org.eclipse.ui.forms.examples.internal.rcp.SimpleFormEditor"
            id="org.eclipse.ui.forms.examples.base-editor">
      </editor>
      <editor
            name="%singleHeaderEditor"
            default="true"
            icon="icons/file_obj.gif"
            class="org.eclipse.ui.forms.examples.internal.rcp.SingleHeaderEditor"
            id="org.eclipse.ui.forms.examples.single-header-editor">
      </editor>      
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="menu:org.eclipse.ui.main.menu">
         <menu
               label="Form Editors">
            <command
                  commandId="org.eclipse.ui.forms.examples.simple"
                  style="push">
            </command>
            <command
                  commandId="org.eclipse.ui.forms.examples.singleHeader"
                  style="push">
            </command>
            <command
                  commandId="org.eclipse.ui.forms.examples.openDialog"
                  style="push">
            </command>
         </menu>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <view
               ratio="0.5"
               relative="org.eclipse.ui.views.TaskList"
               relationship="right"
               id="org.eclipse.ui.forms.examples.views.FormView">
         </view>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <category
            name="Eclipse Forms Examples"
            id="org.eclipse.ui.forms.examples">
      </category>
      <view
            name="Eclipse Form"
            icon="icons/sample.gif"
            category="org.eclipse.ui.forms.examples"
            class="org.eclipse.ui.forms.examples.views.FormView"
            id="org.eclipse.ui.forms.examples.views.FormView">
      </view>
   </extension>
</plugin>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.