|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
| Marc Dutoo
Registered: July 2009
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 :
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?
Powered by FUDForum
. Page generated in 0.06726 seconds