Community
Participate
Working Groups
Build Identifier: I20110310-1119 The details for this bug are documented here, http://www.eclipse.org/forums/index.php?t=msg&th=206329&start=0&S=0b20acfd3ad69703f0e32e050fa508dd However to recap, when following the tutorial and completing the addition of a custom feature to rename a class, the ability to resize the EClass in the tutorial is not possible. Reproducible: Always Steps to Reproduce: 1. Complete the graphiti tutorial up to adding the custom feature to rename a class. 2. Create a new EClass with name "A". 3. Rename the class to "AA". 4. Now try and resize it, this will fail but moving it will succeed.
Resizing the EClass after the described steps in the early stage of the tutorial is not possible, because the edit policy GFNonResizableEditPolicy is instantiated in this particular situation: at this time "canResize" delivered "false". GFNonResizableEditPolicy erroneously does *never* consider the resize feature itself. As opposed to this GFResizableEditPolicy inspects "canResize" and works fine. Maybe most shapes are created "resizable", before they become "un-resizable", so that might be the reason the wrong behaviour was never reported before. Now the edit policy GFResizableEditPolicy works alone, since it can handle "canResize" changes.
Bookkeeping
Part of 0.8.0
Part of Graphiti Indigo 0.8.0