Community
Participate
Working Groups
See PortFigure in TaiPan; Orange is specified for Roof figures to fill themselves but not used - these polygons are not filled on diagram.
Created attachment 37840 [details] Fixes the subj There are no simple ways to test this feature because fill/outline/etc propertis of erg.eclipse.draw2d.Shape class are private. Alsough, it may be tested by using tweaked RuntimeFQNSwitch() version that points to the mock implementation of the Shape class which allows to check these properties in runtime. Do we want to go this way?
There is no need to test this feature in runtime or write tricky eIsSet() checks. We just need a custom template for polygon (there is no sense in enabling filling for polylines) that will add explicit setFill(true) for the default fill=true value in the model for polygon figure.
Comment on attachment 37840 [details] Fixes the subj Patch includes fixes for TaiPan sample that won't be committed as part of this bugzilla.
The actual committed line is %><%if (figureInstance instanceof Polyline ^ figureInstance.eIsSet(GMFGraphPackage.eINSTANCE.getShape_Fill())) {%> Note 'xor', which seems better reflect the intention.
[target cleanup] 1.0 M6 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug