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>

     <extension
         point="org.eclipse.ui.views">
   
         <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.context.DefaultContextView"
            category="org.eclipse.ui.examples.components.context"
            name="DefaultContextView"
            id="org.eclipse.ui.examples.components.views.context.DefaultContextView">
         </view>
            
         <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.context.OverrideInstanceView"
            category="org.eclipse.ui.examples.components.context"
            name="OverrideInstanceView"
            id="org.eclipse.ui.examples.components.views.context.OverrideInstanceView"/>
            
         <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.context.RedirectAllView"
            category="org.eclipse.ui.examples.components.context"
            name="RedirectAllView"
            id="org.eclipse.ui.examples.components.views.context.RedirectAllView"/>
            
         <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.context.RedirectContextView"
            category="org.eclipse.ui.examples.components.context"
            name="RedirectContextView"
            id="org.eclipse.ui.examples.components.views.context.RedirectContextView"/>
            
      <category
            name="Component context examples"
            id="org.eclipse.ui.examples.components.context"/>

   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.NewStyleView"
            category="org.eclipse.ui.examples.components.componentExamples"
            name="Sample new-style view"
            id="org.eclipse.ui.examples.components.views.NewStyleView"/>
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.TestCompositeView"
            category="org.eclipse.ui.examples.components.componentExamples"
            name="Test composite view"
            id="org.eclipse.ui.examples.components.views.TestCompositeView"/>      
      <view
            icon="icons/anything.gif"
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.NameTestView"
            category="org.eclipse.ui.examples.components.componentExamples"
            name="Name test"
            id="org.eclipse.ui.examples.components.views.NameTestView"/>
      <category
            name="Component Examples"
            id="org.eclipse.ui.examples.components.componentExamples"/>
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.ViewContainingEmbeddedEditor"
            category="org.eclipse.ui.examples.components.componentExamples"
            name="View containing nested editor"
            id="org.eclipse.ui.examples.components.editorView"/>    
      <!--  
      <view
            class="org.eclipse.ui.examples.components.views.OldStyleViewThatUsesNewDependencies"
            category="org.eclipse.ui.examples.components.componentExamples"
            name="Old-style view using new dependencies"
            id="org.eclipse.ui.examples.components.views.OldStyleViewThatUsesNewDependencies"/>  
            -->
   </extension>
   <extension
         point="org.eclipse.ui.views">

      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.comparisons.HelloWorldViewNew"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Hello World View (NEW)"
            id="org.eclipse.ui.examples.components.views.comparisons.HelloWorldViewNew"/>
      <view
            class="org.eclipse.ui.examples.components.views.comparisons.HelloWorldViewOld"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Hello World View (OLD)"
            id="org.eclipse.ui.examples.components.views.comparisons.HelloWorldViewOld"/>
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.comparisons.ErrorViewNew"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Error View (NEW)"
            id="org.eclipse.ui.examples.components.views.comparisons.ErrorViewNew"/>
      <view
            class="org.eclipse.ui.examples.components.views.comparisons.ErrorViewOld"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Error View (OLD)"
            id="org.eclipse.ui.examples.components.views.comparisons.ErrorViewOld"/>
            
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.comparisons.NameViewNew"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Name View (NEW)"
            id="org.eclipse.ui.examples.components.views.comparisons.NameViewNew"/>
      <view
            class="org.eclipse.ui.examples.components.views.comparisons.NameViewOld"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Name View (OLD)"
            id="org.eclipse.ui.examples.components.views.comparisons.NameViewOld"/>

      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.comparisons.PersistenceViewNew"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Persistence View (NEW)"
            id="org.eclipse.ui.examples.components.views.comparisons.PersistenceViewNew"/>
      <view
            class="org.eclipse.ui.examples.components.views.comparisons.PersistenceViewOld"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Persistence View (OLD)"
            id="org.eclipse.ui.examples.components.views.comparisons.PersistenceViewOld"/>

      <!--
      <view
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.comparisons.DependenciesViewNew"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Dependencies View (NEW)"
            id="org.eclipse.ui.examples.components.views.comparisons.DependenciesViewNew"/>
      <view
            class="org.eclipse.ui.examples.components.views.comparisons.DependenciesViewOld"
            category="org.eclipse.ui.examples.components.componentComparisons"
            name="Dependencies View (OLD)"
            id="org.eclipse.ui.examples.components.views.comparisons.DependenciesViewOld"/>
          -->  
      <category
            name="Component API Comparisons"
            id="org.eclipse.ui.examples.components.componentComparisons"/>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            icon="icons/anything.gif"
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.NameTestView"
            default="false"
            name="Name Test"
            id="org.eclipse.ui.examples.components.testEditor"
            extensions="test"/>
      <editor
            icon="icons/anything.gif"
            class="org.eclipse.ui.internal.components.framework.ReflectionFactory:org.eclipse.ui.examples.components.views.TestCompositeView"
            default="false"
            name="Composite View Test"
            id="org.eclipse.ui.examples.components.compositeViewTest"
            extensions="test"/>
      <editor
            class="org.eclipse.ui.views.contentoutline.ContentOutline"
            icon="icons/anything.gif"
            default="false"
            name="Outline View"
            id="org.eclipse.ui.examples.components.contentOutlineView"
            extensions="test"/>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="Component Examples"
            visible="true"
            id="org.eclipse.ui.examples.components.actionSet">
         <menu
               label="Component Exa&mple"
               id="componentExampleMenu">
            <separator name="componentExampleGroup"/>
         </menu>
         <action
               label="&Open Problem View by ID"
               class="org.eclipse.ui.examples.components.actions.CreateViewByIdAction"
               icon="icons/sample.gif"
               menubarPath="componentExampleMenu/componentExampleGroup"
               id="org.eclipse.ui.examples.components.actions.CreateViewByIdAction"/>
         <action
               label="&Pass arguments to a view"
               class="org.eclipse.ui.examples.components.actions.CreateViewByIdAction2"
               icon="icons/sample.gif"
               menubarPath="componentExampleMenu/componentExampleGroup"
               id="org.eclipse.ui.examples.components.actions.CreateViewByIdAction2"/>
         <action
               label="&Open view directly from its class"
               class="org.eclipse.ui.examples.components.actions.ProgrammaticViewCreationExampleAction"
               icon="icons/sample.gif"
               menubarPath="componentExampleMenu/componentExampleGroup"
               id="org.eclipse.ui.examples.components.actions.ProgrammaticViewCreationExampleAction"/>
      </actionSet>
   </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.