Ignore:
Timestamp:
01/21/14 14:39:12 (10 years ago)
Author:
jts21
Message:

Fix deletion tutorial to use data instead of ID values (since ID values apparently change when an item is picked up and placed back down). Also modified Frame.addRectangle() so it correctly returns the components in the rectangle, so we can now also check that the rectangle in the deletion tutorial was deleted as well as the text items

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Frame.java

    r729 r731  
    17211721                new Constraint(corners[3], corners[0], this.getNextItemID(), Constraint.VERTICAL);
    17221722
     1723                List<Item> rect = new ArrayList<Item>(rectComponents);
    17231724                this.addAllItems(rectComponents);
    17241725                FrameMouseActions.anchor(rectComponents);
    1725                 return rectComponents;
     1726                return rect;
    17261727                // rectComponents.clear();
    17271728        }
Note: See TracChangeset for help on using the changeset viewer.