Von: jwt-dev-bounces@xxxxxxxxxxx
[mailto:jwt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Florian Lautenbacher
Gesendet: Montag, 2. November 2009 12:59
An: 'Java Workflow Toolbox'
Betreff: AW: [jwt-dev] Plugin mode check
Hi Ravi,
I also stumbled about
that a few weeks ago. Actually, this is in my opinion a bug. I have it on my to
do list to open a new bug for that in the Eclipse bugzilla. In my solution
(where I also built an RCP application on top of JWT), I changed the JWT
locally and said that if the name contains “RCP” then it should be in another
mode than if only in plugin-mode.
But I didn’t commit
that patch yet and are not completely sure that it is the best way to work with
that. Maybe there is a better idea? Something which is always present when
having an application? Maybe we could create an extension point for that?
As Chris implemented
this, I guess, he might have further ideas...
Best regards,
Florian
Von:
jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx] Im Auftrag
von RAVI K. THAPLIYAL
Gesendet: Montag, 2. November 2009 12:08
An: jwt-dev@xxxxxxxxxxx
Betreff: [jwt-dev] Plugin mode check
Hi,
The plugin mode check done by GeneralHelper has been hard
coded for “agilpro” as below:
if
(Platform.getProduct().getName() != null
&&
Platform.getProduct().getName().toLowerCase().contains("agilpro"))
//$NON-NLS-1$
{
return false;
}
else
{
return true;
}
I’m trying to integrate JWT with my RCP app
and unless I have “agilpro” in my product name the “workflow editor”
perspective opens up the “Package Explorer” view which fails. In JWT 0.5 the
code checked for “eclipse” in the product name which seems to be the right
approach.
So, how do I get around this in JWT 0.6?
Regards,
Ravi
MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|