Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » bpmn files creation problem
bpmn files creation problem [message #613886] Fri, 21 March 2008 11:31 Go to previous message
Eclipse User
Originally posted by: s.balard.prometil.com

Hi,
for needs of my own RCP application, i use stp bpmn.
I developed a wizard which has to create its own project type. Under
project root, i want the wizard create automatically a .bpmn file and
its relative .bpmn_diagram file.
In wizard performFinish() method, i wrote this :

IRunnableWithProgress op1 = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor)
throws InvocationTargetException {
BpmnDiagramEditorUtil.createNewDiagramFile(
BpmnDiagramFileCreator.getInstance(), ((IProject)
ResourcesPlugin.getWorkspace().getRoot().getProject(
newProjectMainPage.getProjectName()))
.getFullPath(), newProjectMainPage
.getProjectName(), null, ViewType.DIAGRAM_LINK,
getShell(), monitor);
monitor.done();
}
};
and executed it a little further in the method code :

getContainer().run(false, true, op1);

The .bpmn_diagram is well created but it is empty and the .bpmn isn't
created.
Can anyone help me please ?
Regards,
Sebastien
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Question:Does this developing environment suitable?
Next Topic:Human Tasks
Goto Forum:
  


Current Time: Wed May 22 10:54:45 EDT 2013

Powered by FUDForum. Page generated in 0.02059 seconds