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