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="EclipseCon2005.KCH.AuthDemo"
   name="%pluginName"
   version="1.0.0"
   provider-name="%providerName"
   class="eclipseCon2005.KCH.AuthDemo.AuthDemoPlugin">

   <runtime>
      <library name="AuthDemo.jar">
         <export name="*"/>
      </library>
   </runtime>

   <requires>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.core.runtime"/>
   </requires>

   <extension
         id="app"
         point="org.eclipse.core.runtime.applications">
      <application>
         <run
               class="eclipseCon2005.KCH.AuthDemo.AuthDemoApplication">
         </run>
      </application>
   </extension>
   <extension
         id="product"
         point="org.eclipse.core.runtime.products">
      <product
            application="EclipseCon2005.KCH.AuthDemo.app"
            name="%pluginName">
         <property
               name="windowImages"
               value="icons/eclipse.gif,icons/eclipse32.gif"/>
         <property
               name="aboutImage"
               value="icons/eclipse_lg.gif"/>
         <property
               name="preferenceCustomization"
               value="plugin_customization.ini"/>
         <property
               name="appName"
               value="%pluginName"/>
         <property
               name="aboutText"
               value="%aboutText"/>
      </product>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="eclipseCon2005.KCH.AuthDemo.perspectives.NoAuthPerspective"
            fixed="true"
            icon="icons/unauth.gif"
            id="noAuthPerspective"
            name="%noAuthPerspective"/>
      <perspective
            class="eclipseCon2005.KCH.AuthDemo.perspectives.AuthPerspective"
            icon="icons/auth.gif"
            id="authPerspective"
            name="authPerspective"/>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            class="eclipseCon2005.KCH.AuthDemo.views.SalesView"
            icon="icons/sales.gif"
            id="emp.salesView"
            name="%sale"/>
      <view
            class="eclipseCon2005.KCH.AuthDemo.views.EmployeeMgmtView"
            icon="icons/mgmt.gif"
            id="man.salesView"
            name="%mgmt"/>
      <view
            class="eclipseCon2005.KCH.AuthDemo.views.HistoryView"
            icon="icons/history.gif"
            id="man.salesHistory"
            name="%history"/>
      <view
            class="eclipseCon2005.KCH.AuthDemo.views.LoginView"
            icon="icons/login.gif"
            id="loginView"
            name="%login"/>
      <view
            class="eclipseCon2005.KCH.AuthDemo.views.Timesheet"
            icon="icons/time.gif"
            id="emp.time"
            name="%timesheet"/>
   </extension>
   <extension
         point="org.eclipse.ui.activities">
      <activity
            id="employeeActivity"
            name="%empAct"/>
      <activity
            id="managerActivity"
            name="%mgmtAct"/>
      <activityPatternBinding
            activityId="employeeActivity"
            pattern=".*/emp\..*"/>
      <activityPatternBinding
            activityId="managerActivity"
            pattern=".*/man\..*"/>
      <activityRequirementBinding
            activityId="managerActivity"
            requiredActivityId="employeeActivity"/>
   </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.