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



Try:

c:\program files\ibm\sdp70\plugins

and invoke WDSC with the -clean option.

adrian wrote:
See this article about creating an Eclipse plug-in for an LPEX user profile:

http://www.ibm.com/developerworks/websphere/library/techarticles/0607_casey/0607_casey.html

Your plug-in must define the "preload" extension, in order for the LPEX Editor plug-in to be able to run a class from yours.

Peter.Colpaert@xxxxxxxxx wrote:

Adrian,

I reduced the source to:

package com.mycompany.lpexExtensions;

import com.ibm.lpex.core.LpexView;
import com.ibm.lpex.samples.CursorHairline;

public class UserProfile1 {
public static void userProfile(LpexView lpexView) {
// assign keys "Ctrl+5" to run insertSemicolon2Action
CursorHairline.install(lpexView, true /*trackCursor*/);
}
}

Then I the plugin exported into c:\program files\ibm\sdp70

I also registered com.mycompany.lpexExtensions.UserProfile1 in the preferences for the LPEX editor.

But when I now open an RPGLE source, I get an error saying:

Class "com.mycompany.lpexExtensions.UserProfile1" not found.

I understood from the developerworks site that I need to export as a directory structure.

Maybe it needs to be exported to some other location?

Thanks,

Peter Colpaert
Application Developer
PLI - IT - Kontich, Belgium
-----
Yoda of Borg are we. Futile is resistance, assimilated will you be.
-----



adrian <stori@xxxxxxxxxx> Sent by: wdsci-l-bounces@xxxxxxxxxxxx
19/11/2007 15:35
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


To
wdsci-l@xxxxxxxxxxxx
cc

Subject
Re: [WDSCI-L] Vertical line in editor - is it possible?






1.- You invoke "hairline", which will not work unless you also regisater this command (e.g., from the preference page).

I suggest you add this line:

import com.ibm.lpex.samples.CursorHairline;

and replace:

lpexView.doCommand("hairline cursor");

with the straight:

CursorHairline.install(lpexView, true /*trackCursor*/);

2.- Please note that calling:

lpexView.doDefaultCommand("updateProfile");

is without effect, as the user profile is actually called during the execution of this command (when a view is initialized).

Peter.Colpaert@xxxxxxxxx wrote:





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.