Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Oriented Architecture Tools Platform (STP) » Re: BPMN Diagram orientation
Re: BPMN Diagram orientation [message #374503] Mon, 21 January 2008 03:47 Go to next message
Eclipse UserFriend
Originally posted by: ymo.noemail.com

Hi Antoine.

i tried to check out the stp projects and open them all in eclipse. I am
wondering :

1) after checking out the latest org.eclipse.stp.bpmn* projects from svn
and opening them all in eclipse PoolPoolXYLayoutEditPolicy is still MIA
(missing In Action). I cant get a hold of it. Where is it ?

2) How do i build the jar files and drop them in eclipse ? BAsically how
does the build system is supposed to work

3)How do you test/debug it ?

4) i know the model can be annotated. You already told me that. But i cant
for the life of me figure where i can add annotations. I want the
annotations to be hard coded (static) for now. No need for on the fly
fancy generation .

I tried to read http://wiki.eclipse.org/index.php/Reusing_the_modeler but
it does not cover it adequately.
Re: BPMN Diagram orientation [message #374504 is a reply to message #374503] Mon, 21 January 2008 09:48 Go to previous message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

ymo wrote:
> Hi Antoine.
>
> i tried to check out the stp projects and open them all in eclipse. I am
> wondering :
>
> 1) after checking out the latest org.eclipse.stp.bpmn* projects from svn
> and opening them all in eclipse PoolPoolXYLayoutEditPolicy is still MIA
> (missing In Action). I cant get a hold of it. Where is it ?

It's here:
http://dev.eclipse.org/svnroot/stp/trunk/org.eclipse.stp.bpm n/org.eclipse.stp.bpmn.diagram/customsrc/org/eclipse/stp/bpm n/policies/PoolPoolCompartmentXYLayoutEditPolicy.java
>
> 2) How do i build the jar files and drop them in eclipse ? BAsically how
> does the build system is supposed to work
There is no build system. You do not need to build and jarify the bpmn
plugins to run them. I would rather advise you to setup a classic
Eclipse installation, install GMF, GEF and EMF using the update site.

Then add them to your workspace as Java projects.
You can then run a new Eclipse instance.
>
> 3)How do you test/debug it ?

See 2)
>
> 4) i know the model can be annotated. You already told me that. But i
> cant for the life of me figure where i can add annotations. I want the
> annotations to be hard coded (static) for now. No need for on the fly
> fancy generation .

You can annotate any EModelElement with EcoreUtil.setAnnotation.

I don't understand what you mean by hard coded here, I guess you want to
have annotations added on creation. In that case just go and override
the PoolPoolCompartmentItemSemanticEditPolicy.

It's located here:
org.eclipse.stp.bpmn.diagram/src/org/eclipse/stp/bpmn/diagra m/edit/policies/PoolPoolCompartmentItemSemanticEditPolicy.ja va

You will need to do the same thing for the sub process compartment edit
policy.
>
> I tried to read http://wiki.eclipse.org/index.php/Reusing_the_modeler
> but it does not cover it adequately.
If you'd like to modify those wiki pages so that they cover more things,
please feel free to do so.
>
>
>
>
>
>

Thanks,

Antoine

--
Intalio, the Open Source BPMS Company

<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website</a>
Re: BPMN Diagram orientation [message #610554 is a reply to message #374503] Mon, 21 January 2008 09:48 Go to previous message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

ymo wrote:
> Hi Antoine.
>
> i tried to check out the stp projects and open them all in eclipse. I am
> wondering :
>
> 1) after checking out the latest org.eclipse.stp.bpmn* projects from svn
> and opening them all in eclipse PoolPoolXYLayoutEditPolicy is still MIA
> (missing In Action). I cant get a hold of it. Where is it ?

It's here:
http://dev.eclipse.org/svnroot/stp/trunk/org.eclipse.stp.bpm n/org.eclipse.stp.bpmn.diagram/customsrc/org/eclipse/stp/bpm n/policies/PoolPoolCompartmentXYLayoutEditPolicy.java
>
> 2) How do i build the jar files and drop them in eclipse ? BAsically how
> does the build system is supposed to work
There is no build system. You do not need to build and jarify the bpmn
plugins to run them. I would rather advise you to setup a classic
Eclipse installation, install GMF, GEF and EMF using the update site.

Then add them to your workspace as Java projects.
You can then run a new Eclipse instance.
>
> 3)How do you test/debug it ?

See 2)
>
> 4) i know the model can be annotated. You already told me that. But i
> cant for the life of me figure where i can add annotations. I want the
> annotations to be hard coded (static) for now. No need for on the fly
> fancy generation .

You can annotate any EModelElement with EcoreUtil.setAnnotation.

I don't understand what you mean by hard coded here, I guess you want to
have annotations added on creation. In that case just go and override
the PoolPoolCompartmentItemSemanticEditPolicy.

It's located here:
org.eclipse.stp.bpmn.diagram/src/org/eclipse/stp/bpmn/diagra m/edit/policies/PoolPoolCompartmentItemSemanticEditPolicy.ja va

You will need to do the same thing for the sub process compartment edit
policy.
>
> I tried to read http://wiki.eclipse.org/index.php/Reusing_the_modeler
> but it does not cover it adequately.
If you'd like to modify those wiki pages so that they cover more things,
please feel free to do so.
>
>
>
>
>
>

Thanks,

Antoine

--
Intalio, the Open Source BPMS Company

<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website</a>
Previous Topic:BPMN Diagram orientation
Next Topic:What do these errors mean?
Goto Forum:
  


Current Time: Thu Mar 28 11:30:15 GMT 2024

Powered by FUDForum. Page generated in 0.02717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top