Community
Participate
Working Groups
(from the newsgroup post) <...> my custom figure in GmfGraph looked like that: FigDescr xxxControlFigure CustomFig xxxControlCustomFigure So I now added following FigureAccessor in xxxControlCustomFigure: Accessor getCustomFiguresLabel() Typed Figure Label DummyLabel I also created a corresponding ChildAccess at xxxControlFigure: Accessor getNameLabel Figure Label DummyLabel The result of my generated code doesn't contain the getCustomFiguresLabel. To make it working, I still have to add to the generated code of my xxxControlEditPart in the constructor following: public UIPrimitiveDataControlFigure() { fNameLabel=super.getCustomFiguresLabel(); <...> The generated code for the child access looks like this: public WrapLabel getNameLabel() { return fNameLabel; } and all I want to is specifying in my GmfGraph that instead of return fNameLabel the super.getCustomFiguresLabel() should be returned (very simple).
ChildAccess that points to FigureAccessor#typedFigure no longer gets a field, instead, generated method delegates to custom child using FigureAccessor#accessor (as is, so that you may write there e.g. "super.figureField" or "getCustomFigureLabel()")
CC'ing Alex in case he needs to refer to the bug
[GMF Restructure] Bug 319140 : product GMF and component Templates was the original product and component for this bug