× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You could make use of the nameFilter

nameFilter="*pgm.clle"
When you expand an object filter, you'll see
objectName.objectType.objectAttribute


On Mon, Mar 16, 2009 at 10:50 AM, Dale Monti <dmonti@xxxxxxxxxx> wrote:

Thanks for you help the Plug-in spy is very helpful.

I found the doc for the popup menus here:

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.systems.doc.isv/reference/api/com_ibm_etools_systems_core_popupMenus.html

What I cannot figure out is how to get the object attribute which was
formerly 'subtypefilter='. So let's say I wanted a different popup menu
for CL programs and RPG programs. Both have an object class of
QSYSRemoteProgram. How can I distinguish between them?

Thanks

Dale Monti wrote:
Hi,
In my current plug-in I have a popup-menu item that appears when you
right click on a physical file. I am uncertain of how to accomplish
equivalent in 7.5 or where to find the documentation. Below is my
objectContribution XML tag, I would like to do the same in 7.5.


<objectContribution
subsystemfactoryid="ibm.files400"
subtypefilter="PF-SRC"
typecategoryfilter="OBJECT*"
typefilter="*FILE"
namefilter="*"


I see now in 'org.eclipse.ui.popupMenus' there is 'objectClass= 'and
'nameFilter=' but I can't find where I would relate that to iSeries
objects specifically. So I am look a good example or where to find the
documentation.

Thanks


--
This is the WDSC Plugin Developers (Wdsc-Plugin-Dev) mailing list
To post a message email: Wdsc-Plugin-Dev@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsc-plugin-dev
or email: Wdsc-Plugin-Dev-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsc-plugin-dev.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.