[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Nested Rectangles and Layout

hello Artem

My GMF is version 2.0 (all plugins are M4).

The error is on Generate Diagram Editor:

Exception occurred while generating code
Unknown viewmap: org.eclipse.gmf.codegen.gmfgen.impl.ParentAssignedViewmapImpl@18501fd (requiredPluginIDs: null, layoutType: UNKNOWN) (getterName: getFigureRect2, setterName: null, figureQualifiedClassName: org.eclipse.draw2d.RectangleFigure)



I had another idea to try to use FigureRef and nest that into Rect1 and set GridLayoutData on that FigureRef. Like in this screenshot:


http://img145.imageshack.us/img145/6734/scr2qc7.gif

This generates diagram code without errors, but on runtime when I try to add Box2 inside Box1 (with GridLayout) I get this error:

Unhandled event loop exception.

in Error Log.

What are FigureRefs useful for (am I using them wrong here)?