[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [bpel-dev] Parsing BPEL
|
Hi,
I've search in code of BPELEditor class (in plugin
org.eclipse.bpel.ui), as you write, but I doesn't find any method called load().
:(
2007/7/22, Simon D Moser <
SMOSER@xxxxxxxxxx>:
Hi Simone,
yes, you could do that - given that your software will run in Eclipse.
You'd need the org.eclipse.bpel plugin, which is the BPEL model. It's
EMF-based code, you the only thing you need to do is to create a EMF
Resource that points to the file that you want to load, and then load the
resource.
Take a look at the code in BPELEditor class (in plugin
org.eclipse.bpel.ui), you'll find a method called load() that probably
illustrates what you want.
Once loaded, you have to get the root object of the Resource (a class
called "Process"), and then you can write the code specific to your needs
to parse it (e.g. process.getName
() would return you the name of the
process)
I think you get the idea.
Cheers
Simon
Simon Moser, M.Eng.
Websphere Integration Mail: IBM Deutschland Entwicklung
Developer Development
smoser@xxxxxx. GmbH
Team Lead BPEL Editor com Vorsitzender des
Dept. 4722, Bldg. Phone: Aufsichtsrats: Martin Jetter
71032-01, Room 086 +49-7031-16-43 Geschäftsführung: Herbert
Websphere Solutions and 04 Kircher
Services Fax: Sitz der Gesellschaft:
IBM Deutschland +49-7031-16-48 Böblingen
Entwicklung GmbH 90 Registergericht: Amtsgericht
Schönaicherstr. 220, D – Stuttgart, HRB 243294
71032 Boeblingen
Simone
<earnsimo@gmail.c
om> To
Sent by: bpel-dev@xxxxxxxxxxx
bpel-dev-bounces@ cc
eclipse.org
Subject
[bpel-dev] Parsing BPEL
07/22/2007 04:08
PM
Please respond to
"BPEL Designer
project developer
discussions."
<bpel-dev@eclipse
.org>
Hi to all.
I need an API for parsing BPEL file, because i need to implement a software
like wsmo-studio for semantic annotation of bpel.
I would like to know if I can use the Bpel project libraries, and how, for
doing my project.
Thanks._______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev
_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev