×
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.
Short answer: If you use objectcontribution you can directly use the new
object class. If you select a physical file and popup the plug-in spy
(ALT+SHIFT+F1) you see that the object actually has a class (used to be
all dataelements). This is QSYSRemoteDataFile. If you put that in the
object class then your action should work again.
Long answer:
The really new and cool way is to use commands instead of actions. It
requires a little more declaration but much less java code. Let me know if
you want the long answer.
http://wiki.eclipse.org/index.php/Platform_Command_Framework
Best regards,
Wim
From:
Dale Monti <dmonti@xxxxxxxxxx>
To:
wdsc-plugin-dev@xxxxxxxxxxxx
Date:
12-03-2009 21:23
Subject:
[Wdsc-Plugin-Dev] RDI 7.5 Pop-up menu example or documentation
Sent by:
wdsc-plugin-dev-bounces@xxxxxxxxxxxx
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
As an Amazon Associate we earn from qualifying purchases.