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



This was it. Now it works.

Thanks

-----Ursprungliche Nachricht-----
Von: wdsc-plugin-dev-bounces@xxxxxxxxxxxx
[mailto:wdsc-plugin-dev-bounces@xxxxxxxxxxxx]Im Auftrag von Adrian
Storisteanu
Gesendet: Montag, 26. November 2007 16:40
An: WDSC Plugin Developers
Betreff: Re: [Wdsc-Plugin-Dev] Extending the LPEX editor in WDSC 7.0


Make sure you provide a class for the "preload" extension point. This was
not required before, but it is in Eclipse R3.2. For example:

com\mycompany\lpexExtensions\Preload.java:
package com.mycompany.lpexExtensions;
import com.ibm.lpex.alef.LpexPreload;
public class Preload implements LpexPreload
{
public void preload()
{
// nothing needed to do here...
}
}

plugin.xml:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="com.ibm.lpex.preload">
<preload
class="com.mycompany.lpexExtensions.Preload"
id="preload"/>
</extension>
</plugin>

wdsc-plugin-dev-bounces@xxxxxxxxxxxx wrote on 26/11/2007 03:25:00 AM:
Hi,

i have a problem with a plug-in in WDSC 7.0, witch extends the LPEX
editor.
In WDSC 6.0 i have no problems. Here it works fine. I have created a
class
witch has implemented the interface "LpexAction". In eclipse at
"Window/Preferences/LPEX editor/User Actions" i have registered the new
action and i have assigned my new class to the action. In
"Window/Preferences/LPEX editor/User Key Actions" i have assigned
the key "CTRL-1" to the new action.

The problem is, when i open the LPEX editor a message
"class xyz not found" appears in the LPEX editor status line, where "xyz"
is the class i have registered at
"Window/Preferences/LPEX editor/User Actions". As i said, in WDSC 6.0
it works, but not in WDSC 7.0. When i install the plug-in via an
update-site in WDSC 7.0 it will be automaticly installed in the directory
"..\IBM\SDP70\plugins" and not in the directory
""..IBM\SDP70Shared\plugins",
where all other plugins - eclipse, ibm ... - are located. I suppose, that
this is a classpath problem, but i havn`t found a solution to make it
work.

Thanks


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