Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] unable to get popup menus working


Anil,

There appears to be a couple extra spaces in the xml values.  One is prefixed to the extension point value, i.e it has " org.eclipse.ui.popupMenus" instead of "org.eclipse.ui.popupMenus" and the other is a trailing space in the objectClass value i.e. it has "oracle.dbtools.connectivity.actions.IDBLevel2Object " instead of "oracle.dbtools.connectivity.actions.IDBLevel2Object".   This could be the cause of the problem.

Larry Dunnell
Internet address: ledunnel@xxxxxxxxxx




Anil Samuel <anil.samuel@xxxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx

01/26/2006 09:35 PM

Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>

To
DTP development mailing list <dtp-dev@xxxxxxxxxxx>
cc
Subject
[dtp-dev] unable to get popup menus working





Hi

The xml snippet below is not adding any popup menu to an View object that implements IDBLevel2Object. I followed the procedure from the built-in Help and followed the Readme example.

   <extension point = " org.eclipse.ui.popupMenus">
        <objectContribution
           id="oracle.dbtools.connectivity.actions"
           objectClass="oracle.dbtools.connectivity.actions.IDBLevel2Object ">
           <action id="oracle.dbtools.connectivity.actions.IDBLevel2Object"
              label="New"
              menubarPath="additions"
              helpContextId=" oracle.dbtools.connectivity.actions.level2object.new"
              class="oracle.dbtools.connectivity.actions.Level2NewAction">
           </action>
        </objectContribution>
   </extension>    

Linux GTK Eclipse Version: 3.2.0 Build id: I20051215-1506

Am I using the wrong method ?
Should i be posting in some other forum ?

Regards
Anthos
--
Anil Samuel <
anil.samuel@xxxxxxxxxx>
Senior Technical Member
Product Development
Oracle Corporation
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev


Back to the top