Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xpand: Share generator workflows as IDE plug-ins
Xpand: Share generator workflows as IDE plug-ins [message #489229] Thu, 01 October 2009 18:51 Go to next message
Ralf Ebert is currently offline Ralf Ebert
Messages: 72
Registered: July 2009
Member
Hi,

is it possible to share a generator workflow as an IDE plug-in to be
used out of the box by developers?

In the tutorials the generator workflow is to be created by the
application developer (possibly using templates).

I'd like to separate DSL/tooling development strictly from using these
tools. A developer should only see & edit the models without
seeing/editing generator workflows or templates (like clicking on a
Xtext model file and run generator tasks using a context menu item or
using a builder/project nature).

Is such a workflow possible / are there examples/documentation about
writing such plug-ins?

Greetings,

Ralf



--
Ralf Ebert: Developer, consultant and trainer
http://www.ralfebert.de/
Re: Xpand: Share generator workflows as IDE plug-ins [message #489398 is a reply to message #489229] Fri, 02 October 2009 15:12 Go to previous message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2807
Registered: July 2009
Senior Member
Hi Ralf,

it is definitly possible to provide an Eclipse UI Action that invokes a
generator workflow which does not reside in your own eclipse workspace
but in a plugin. The builder approach will work, too.

Please refer to the WorkflowRunner and its friends to learn about how to
invoke a workflow programmatically.

Hope that helps,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Ralf Ebert schrieb:
> Hi,
>
> is it possible to share a generator workflow as an IDE plug-in to be
> used out of the box by developers?
>
> In the tutorials the generator workflow is to be created by the
> application developer (possibly using templates).
>
> I'd like to separate DSL/tooling development strictly from using these
> tools. A developer should only see & edit the models without
> seeing/editing generator workflows or templates (like clicking on a
> Xtext model file and run generator tasks using a context menu item or
> using a builder/project nature).
>
> Is such a workflow possible / are there examples/documentation about
> writing such plug-ins?
>
> Greetings,
>
> Ralf
>
>
>
Previous Topic:[xPand] No protected region resolver configured
Next Topic:I need help
Goto Forum:
  


Current Time: Sat Apr 19 16:13:39 EDT 2014

Powered by FUDForum. Page generated in 0.05323 seconds