Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] Debug option to see the XMI for the Visual Editor's object model


Folks,

For those of you who didn't know, you can see a view pane with the XMI for the Visual Editor's object mode.   For the Eclipse launcher that you're using to open the development environment open the configuration, select the Tracing tab and selected "Enable Tracing", scroll down "org.eclipse.ve.java.core" and change the tracing option "debug/xmltext" to true.  Then in the Eclipse workbench that gets opened opened Window->Preferences and select Java->Visual Editor.  A check box labeled "Show XML text" will be there.  If you select this when you open the visual editor you'll now get a new pane between the GUI canvas and the source.    This shows the serialized EMF object model for the Visual Editor and it's a great way to get to learn the object model.  It should refresh each time the model is changed, so if you drop JavaBeans, edit property values, etc... you'll ! see the result of the model being updated.

Best regards,

Joe

Back to the top