× 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.



Hello David!

Thanks for your help. I have stripped down my code to a useless example
but there you can see the problem:

import com.ibm.etools.iseries.core.api.ISeriesProgram;
import com.ibm.etools.systems.core.ISystemRemoteCommand;
import com.ibm.etools.systems.core.messages.SystemMessageException;
import
com.ibm.etools.systems.core.ui.actions.SystemAbstractPopupMenuExtensionAction;


public class ShowModules extends SystemAbstractPopupMenuExtensionAction {

@Override
public void run() {
ISeriesProgram program = null;
ISystemRemoteCommand cmd = null;
try {
program.getModuleList(); // Code Completion does
not work
cmd.getCommand(); // Code Completion does work
} catch (SystemMessageException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

}

As said above this code does nothing, but compiles without a problem. When
i ask for Code completion after program. i get an box with two static
members but without any methods. after cmd. everything works fine.

Ralf







David Gibbs <david@xxxxxxxxxxxx>
Gesendet von: wdsci-l-bounces@xxxxxxxxxxxx
10.07.2007 16:52
Bitte antworten an
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


An
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
Kopie

Thema
Re: [WDSCI-L] Develop plug ins for WDSC






ralf.petter@xxxxxxxxxxx wrote:
Yes i have added plug-in dependecies to the build path and i have added
the plug in com.ibm.etools.iseries.core to the required plugins. And i
can
see all packages in the package explorer. I can write my plugin and the
plug in works, but it as i said before if you have used code completion
all the time it is really hard to program with objects without it.

The com.ibm.etools.systems.core which i have added to the required
plugins
too, works without a problem. Although it would be nice to add Java doc
to
the .jar somehow to have the java doc in the editor.

What class are you trying to use?

I've found that, as long as the jar is in the build path, the editor
will do code completion.

Odd thing though ... and I can't explain this myself without further
digging ... I tried to instantiate a class in that jar in my plug-in
(just for testing) and it couldn't find it at all.

david


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-2024 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.