Can GMF do this? [message #169503] |
Wed, 23 January 2008 13:48 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: gmf.klmusic.no
I'm planning to rewrite an old C++ program from scratch in Eclipse, and I
need some advice on the road map. A main part of the front end will be a
drawing editor, and behind the scenes the progam will generate midi
information from the drawing. While the basic tutorials on both Visual C
and Borland's OWL were based on the development of a drawing program, this
is a non-trivial thing to do in Eclipse. And I should start learning GEF,
or maybe GMF (correct me if I'm wrong).
So my question is: Can I do the following with GMF?
1.Draw a line with the mouse (the regular lineTo() in the onMouseMove()).
Is there an example/tutorial on this somewhere?
2.Set up my canvas to be 128 units on the y-axis and some large number on
the x-axis?
3.Stretch and shrink the drawing on the x-axis only? (This may be a
zooming question)
I basically want to build a simple but full paint program where I can use
the model data to generate other stuff. I also want to include other views
to show the generated data. To my newbie eyes the GMF-generated code
differs a lot from what I see in the RCP tutorials. The drawing editor
will only be a small part of the application in the end. So another
question pops up: If GMF can do what I ask for, will I regret later? Will
a GMF-generated editor be a good starting point for a bigger RCP
application or should I go the GEF route?
Sorry I'm a newbie. Any help is welcome,
Knut
|
|
|
Powered by
FUDForum. Page generated in 0.03970 seconds