Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] Implementing visual editor for J2ME.

Hello All.

I am thinking about creating a visual editor for J2ME. It seems that there are already a few J2ME editors available for Eclipse, like:

http://www.wirelexsoft.com/j2me2.html

So it should be possible.

After reading the article about how to extend an existing Visual Editor ( http://eclipse.org/articles/Article-VE-Custom-Widget/customwidget.html ) it became clear to me how:

- add a specific widget can be added to the pallette.
- Set the classpath of the virtual machine used to take snapshots of the widgets which are edited.
- How to use beaninfo classes to change the behaviour of the property editor.
- The use of decorator classes to add to the behaviour of the property editor.
- Retrieving and setting values of widgets on the target VM.
- Changing the displayed widget using GEF.
- Generating  custom codes and events.

The article on extending the Visual Editor for UCL widgets (tp://www.eclipse.org/vep/WebContent/docs/VEpapers/ulc.pdf ) gives some more detail / examples on how to implement new widgets on top of an existing widget. (In this case, building the widgets on top of Swing.)

The problem I'm facing is the fact that both documents are building widgets on top of an existing architecture of the Target JVM. I can find little to no documentation about the code running on the target VM itself.

Is this part of VE documented or do I have to backwards engineer the given implementations for AST/SWT and Swing ?

Other pointers to a detailed description of extension point for VE are also welcome.

Any help is welcome.

Thanx.

Johan Uiterwijk Winkel.



Back to the top