Log in

View Full Version : Eclipse Visual Editor


Mike
25-09-2006, 13:29
I'm using the Visual Editor plugin for Eclipse and am trying to put in an image that the user will be able to plot points on. What component would I use to do this?



Yes, its FIRST related :)

chris31
25-09-2006, 13:39
Sounds like you are working on code for a waypoint plotting system for autonomous code.

seanwitte
25-09-2006, 13:40
I'm using the Visual Editor plugin for Eclipse and am trying to put in an image that the user will be able to plot points on. What component would I use to do this?



Yes, its FIRST related :)

Do you want the source for this? Language is C#. Right-click on the field to add/modify waypoints.
http://members.cox.net/seanwitte/pathplanning.zip

prograid
25-09-2006, 22:04
I'm using the Visual Editor plugin for Eclipse and am trying to put in an image that the user will be able to plot points on. What component would I use to do this?



Yes, its FIRST related :)


Are you using SWT/JFace or Swing? In SWT I believe a Canvas can have an image as a background (check the API) , (and VE is not a very good SWT designer yet, I haven't tried 1.2 though). In Swing, I am not so sure.

Mike
26-09-2006, 18:03
I am using SWING.

Sean, thanks for the offer however the school will only let me develop in Java.

fowlerm
27-09-2006, 10:09
the school will only let me develop in Java
Why would they force you to use one language?

Tom Bottiglieri
27-09-2006, 10:30
Why would they force you to use one language?
I'm guessing he is working on it in a AP Computer Science class.

chris31
27-09-2006, 12:35
Why would they force you to use one language?

AP Computer Science uses Java.

Mike
27-09-2006, 13:03
Well originally I was only using Java because that is all the school's computer had on them and didn't feel like going through the red tape to get something else. Our school doesn't allow us to use Firefox, thats how bad it is.

After a few days of attempting to get work done in Java... I think the trouble of getting permission for C# is worth it.

prograid
27-09-2006, 14:05
I am using SWING.


You can paint onto any Swing component, at least that's what the documentation says. Check this page (http://java.sun.com/docs/books/tutorial/uiswing/14painting/index.html) out for more information. There is also a tutorial (http://java.sun.com/docs/books/tutorial/2d/index.html) specifically on Java2D which will give you more information.