Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jwt-dev] "Workbench has not been created yet" exception

A button didn't work either. It gave the same exception "workbench has not been created yet". I'll try loading the whole ".workflow" file and see how it goes. I hope this does the job.

best regards,

From: Marc Dutoo [marc.dutoo@xxxxxxxxxxx]
Sent: Friday, May 27, 2011 12:19 PM
To: Java Workflow Tooling
Cc: Ahmed Samir Saleh Wafa
Subject: Re: [jwt-dev] "Workbench has not been created yet" exception

Hi Samir

The workbench is actually Eclipse. If you want to use Chris' way to
access your data, you indeed need to execute your code within Eclipse,
for example in a button.


Le 26/05/2011 18:12, Ahmed Samir Saleh Wafa a écrit :
> Dear all,
> I am trying to access the elements I modeled in my ".workflow" file like actions or nodes using java code. All files (Process.wokflow, Process.wokflow_conf, Process.wokflow_view and are in the same package. I get the exception "Workbench has not been created yet" from a line in  "".
> This is the line causing the exception:
> IWorkbench workbench =PlatformUI.getWorkbench();
> It makes sense that the workflow should be activated or pointed out somehow but I still can't do that. Any ideas ??
> Thank you very much,
> Samir
> _______________________________________________
> jwt-dev mailing list
> jwt-dev@xxxxxxxxxxx

Back to the top