I want to develop a GUI plugin inside Eclipse such that I can expose a set of tasks and the user can drag-drop the tasks in the editor canvas and create connections between them like a workflow. A -> B -> C. In the background this would generate a set of Java classes with custom code. Any pointers to what resources do I have for such a plugin ?
+1
A:
These books are a good place to start:
- Eclipse Plug-ins (3rd Edition) by Eric Clayberg and Dan Rubel
- SWT/JFace in Action: GUI Design with Eclipse 3.0 (In Action series) by Matthew Scarpino, Stephen Holder, Stanford Ng, and Laurent Mihalkovic
And of course, there's the Eclipse documentation.
Stephen C
2010-08-28 12:01:15
+4
A:
Besides the basic SWT/Eclipse references given by Stephen, you could look into GEF for the graphical part, perhaps in its combination with EMF in GMP. For generating the target code, you could look into Jet or Xpand.
Fabian Steeg
2010-08-28 14:07:13
In case of GEF, I can show a graphical representation of a model. I want the other way around. I should be able to generate model based on what we drag and drop on the IDE.
Ved
2010-09-01 08:21:40
@Ved That is exactly what GEF is about. The terminology might be a little confusing, since you do need a model of what you want to edit, but you create and edit instances of that model with a GEF editor. Check out the resources at http://www.eclipse.org/gef/reference/articles.html
Fabian Steeg
2010-09-01 11:22:45