Skip to main content

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

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  WokflowFetch.java) are in the same package. I get the exception "Workbench has not been created yet" from a line in  "WorkflowFetch.java".

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

Back to the top