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



It works if you do it just right. But I typed 'sync off', and the sources scroll independently, as expected, but now 'sync on' doesn't work.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----Doug Davie <dougdavie@xxxxxxxxx> wrote: -----
To: "Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
From: Doug Davie <dougdavie@xxxxxxxxx>
Date: 01/21/2015 02:49PM
Subject: Re: [WDSCI-L] Sync command

I'm still skeptical.

I brought up my preferences again, and went to user Commands.
The Class Name does have a pull down.
I pull it down and it does list com.ibm.lpex.samples.SyncCommand



On Wed, Jan 21, 2015 at 2:40 PM, <MichaelQuigley@xxxxxxxxxx> wrote:

Doug,

Thanks for not following my skepticism. In the past, I could click the
down-arrow and see the available classes. Type this one in and it *does*
still work. Coolness.

My apologies to the list.

Michael

"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 01/21/2015 01:00:03 PM:
----- Message from Doug Davie <dougdavie@xxxxxxxxx> on Wed, 21 Jan
2015 10:14:15 -0500 -----

To:

"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>

Subject:

Re: [WDSCI-L] Sync command

I just tried this in RDi 9.1.1, and it worked for me.

First I went to Window -> preferences, and expanded LPEX Editor and
selected User Commands.
Then in the 'Name' field i entered 'sync', and the class name I gave is
com.ibm.lpex.samples.SyncCommand.
I pressed the Set button.

Then I opened two source members, and dragged one next to the other.
In the command area I keyed 'sync on', and now when I scroll that
member,
the other scrolls with it.
I can re position the other member and the first (where I entered the
command) does not scroll (expected behavior)
Now I can scroll the first member again and the second scrolls with it.

On Wed, Jan 21, 2015 at 9:28 AM, <MichaelQuigley@xxxxxxxxxx> wrote:

Wow! That looks like a cool plug-in. The documentation still shows it
available. But the documentation also is for LPEX 4.2.3 and I believer
we're now at 4.2.5. It looks like IBM dropped it from their samples.
Anyway, there's good news and bad news.

The good news?
The documentation includes a link to the source code for the sync
command.

The bad news?
You would essentially have to set it up as a plug in. That's only bad
if
your Java skills are at or less than mine. I can read the source code
and
tell what it's doing, but I don't know that I could do everything
required
to make it work as a plug-in.

More bad news?
They may have dropped it for a reason--e.g., some feature of LPEX is
no
longer compatible. This I don't know.

"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 01/21/2015 07:50:21
AM:
----- Message from "Austin, Mark" <Mark.Austin@xxxxxxxxxx> on Wed,
21 Jan 2015 11:13:12 +0000 -----

To:

"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries (wdsci-l@xxxxxxxxxxxx)"
<wdsci-l@xxxxxxxxxxxx>

Subject:

[WDSCI-L] Sync command

Hi, a few releases of RDi ago I used a sync command in the LPEX
editor that allowed me to hold two sources at their current position
relative to each other. I tried using it today in RDi 9.1.1 and it
doesn&#8217;t seem to be working. I used the following commands before;

set commandClass.sync com.ibm.lpex.samples.SyncCommand
sync on

Anyone have any idea why it isn&#8217;t working now?

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.