Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Plug-in not visible in all perspectives

Title: Plug-in not visible in all perspectives

Hi,

   I have developed my first plug-in which adds a menu item on the toolbar just like sample 'Hello Eclipse World' plugin..  When I test the plug-in using runtime-workbench, I can see the plugin in all perspectives.  But after I install the plug-in the c:\eclipse\plugins directory,   I don't see the menu item in all perspectives. It is only displayed in Debug perspective.  After reinstalling the plugin, I see the menu in only plug-in development perspective.  I am using Eclipse 2.1.3 version.  I have pasted the plugin.xml

Can anyone please tell me what could be wrong?  I don't see any error in error log or on the console. 

Thanks in advance,
pj

<?xml version="1.0" encoding="UTF-8"?>
<plugin
   id="com.oocl.csc.frm.soa.psg.plugin"
   name="SOA PSG Plug-in"
   version="1.0.0"
   provider-name="OOCL"
   class="com.oocl.csc.frm.soa.psg.plugin.PSGPlugin">

   <runtime>
      <library name="psgplugin.jar"/>
      <library name="jar/ART-frmwk.jar"/>
      <library name="jar/CSC_Common-frmwk.jar"/>  
      <library name="jar/OOCL_FIL_ART-frmwk.jar"/>
      <library name="jar/OOCL_FIL_Authentication-frmwk.jar"/>
      <library name="jar/OOCL_FIL_CC-frmwk.jar"/>          
      <library name="jar/OOCL_FIL_Dynamic_Config-frmwk.jar"/>
      <library name="jar/OOCL_FIL_EL-frmwk.jar"/>
      <library name="jar/OOCL_FIL_Email-frmwk.jar"/>           
      <library name="jar/OOCLSimpleLog-frmwk.jar"/>
      <library name="jar/OOCLUtils-frmwk.jar"/>    
      <library name="jar/OOCL_FIL_Core-frmwk.jar"/>
      <library name="jar/OOCL_FIL_DL-frmwk.jar"/>
      <library name="jar/OOCL_FIL_ML-frmwk.jar"/>
      <library name="jar/Logging-frmwk.jar"/>
      <library name="jar/OOCL_FIL_AE-frmwk.jar"/>
      <library name="jar/OOCL_FIL_Config_Loader-frmwk.jar"/>
      <library name="jar/OOCL_FIL_Config-frmwk.jar"/>
      <library name="jar/Simple_Config_Management-frmwk.jar"/>
      <library name="jar/soabsf-frmwk.jar"/>
      <library name="jar/soapsg-frmwk.jar"/>
      <library name="jar/soaio-frmwk.jar"/>
   </runtime>
   <requires>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.ui"/>
   </requires>


   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="Sample Action Set"
            visible="true"
            id="com.oocl.csc.frm.soa.psg.plugin.actionSet">
         <menu
               label="SOA"
               id="soaMenu">
            <separator
                  name="soaGroup">
            </separator>
         </menu>
         <action
               label="&amp;Public Service Generator"
               icon="icons/sample.gif"
               class="com.oocl.csc.frm.soa.psg.plugin.actions.ServiceGeneratorAction"
               tooltip="SOA Public Service Generator"
               menubarPath="soaMenu/soaGroup"
               toolbarPath="soaGroup"
               id="com.oocl.csc.frm.soa.psg.plugin.actions.ServiceGeneratorAction">
         </action>
      </actionSet>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <actionSet
               id="com.oocl.csc.frm.soa.psg.plugin.actionSet">
         </actionSet>
      </perspectiveExtension>
   </extension>

</plugin>


IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email. Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com.

Back to the top