Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Java WorkFlow Tooling (JWT) » Possible to use the JWT editor but for a different model?
Possible to use the JWT editor but for a different model? [message #494812] Mon, 02 November 2009 17:55 Go to next message
Josh M is currently offline Josh M
Messages: 22
Registered: July 2009
Junior Member
I am currently developing a custom workflow and that effort has led me to discover this project. All the functionality that the JWT editor has seems to be exactly what I would like to use for my development efforts, except that I need to back it with a custom model, essentially replacing most to the model components with ones specific to our needs.

For example, the activity component is analogous to our "Flow" component, but we also have many more "Action" types that would need to be part of the flow. Perhaps I could get away with renaming Activity to our Flow component name, but then I also need to modify the model to incorporate the additional Action types, eventually removing the generic Action altogether.

Any ideas on the best way to achieve this?
Re: Possible to use the JWT editor but for a different model? [message #494988 is a reply to message #494812] Tue, 03 November 2009 13:32 Go to previous messageGo to next message
Marc Dutoo is currently offline Marc Dutoo
Messages: 71
Registered: July 2009
Member
Hi Josh

Have a look at the EPC plugin (by the University of Augsburg) :
in the CVS, at org.eclipse.jwt/we/jwt-we-plugins/jwt-we-view-epc

In addition to providing a customized view with custom figures and icons
that have a completely different outlook from the default one, it
provides an additional "EPCEvent" workflow model element that should
show you how to add your own.

I wouldn't advise you to change the existing model for fear of breaking
things, but you can change the text that is displayed for a given model
element in the plugin.properties (ex. Action -> Flow). As shown in the
EPC View sample, you can also change and extend a lot of other things
(1), including adding new model elements by subclassing or using EMF
Aspect-like extensions that we provide :

(1) http://wiki.eclipse.org/JWT_Extensions
(2) http://wiki.eclipse.org/JWT_Metamodel_Extension

Regards,
Marc Dutoo
Open Wide
Eclipse JWT co-lead

Josh a écrit :
> I am currently developing a custom workflow and that effort has led me
> to discover this project. All the functionality that the JWT editor has
> seems to be exactly what I would like to use for my development efforts,
> except that I need to back it with a custom model, essentially replacing
> most to the model components with ones specific to our needs.
>
> For example, the activity component is analogous to our "Flow"
> component, but we also have many more "Action" types that would need to
> be part of the flow. Perhaps I could get away with renaming Activity to
> our Flow component name, but then I also need to modify the model to
> incorporate the additional Action types, eventually removing the generic
> Action altogether.
> Any ideas on the best way to achieve this?
Re: Possible to use the JWT editor but for a different model? [message #495150 is a reply to message #494988] Tue, 03 November 2009 22:25 Go to previous messageGo to next message
Josh M is currently offline Josh M
Messages: 22
Registered: July 2009
Junior Member
Thanks for the reply! I will take a look!
Re: Possible to use the JWT editor but for a different model? [message #495277 is a reply to message #495150] Wed, 04 November 2009 13:22 Go to previous message
Marc Dutoo is currently offline Marc Dutoo
Messages: 71
Registered: July 2009
Member
BTW I urge you to rather or also ask your questions on the mailing list,
that core developers are more likely to monitor and be ready to answer
questions on : jwt-dev@eclipse.org

Regards,
Marc

Josh a écrit :
> Thanks for the reply! I will take a look!
Previous Topic:Eclipse Summit Europe 2009 - Aspect Oriented Modeling presentation
Next Topic:Restricting nodes as children of the main Activity
Goto Forum:
  


Current Time: Tue Sep 23 20:36:39 GMT 2014

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

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