- Timestamp:
- 10/06/15 14:28:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/MagneticConstraint/Actions/LastItemAction.java
r961 r967 1 1 package org.expeditee.items.MagneticConstraint.Actions; 2 2 3 import java.awt.Point;4 5 3 import org.expeditee.gui.DisplayIO; 6 import org.expeditee.gui.Frame Graphics;4 import org.expeditee.gui.FrameUtils; 7 5 import org.expeditee.items.Item; 8 6 import org.expeditee.items.Text; … … 15 13 @Override 16 14 public boolean exec(final Item item) { 15 if(item.getParent() == null || !this.isSpIDERCodePage(item.getParent())) return false; 17 16 final int idLeft = item.getMagnetizedItemLeft(); 18 17 final int idTop = item.getMagnetizedItemTop(); 19 18 if(idLeft != -1) { 20 19 moveCursor(item.getParent().getItemWithID(idLeft)); 20 // 21 // System.err.println("#Current item " + FrameUtils.getCurrentItem()); 22 // System.err.println("#Current items" + FrameUtils.getCurrentItems()); 23 21 24 MagneticConstraints.Log(this.getClass(), new Item[]{item, item.getParent().getItemWithID(idLeft)}, 22 25 Line.getLineContainingToken(item).toArray(new Item[]{}),
Note:
See TracChangeset
for help on using the changeset viewer.