import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
public class SetBoundsCommand extends Command private Shape shape; private Rectangle newBounds, oldBounds; public void execute() shape.setLocation(newBounds.x, newBounds.y); public void undo() shape.setLocation(oldBounds.x, oldBounds.y); eclipse gef tutorial
architecture and how to bridge an application's data (model) with its visual representation (view) through controllers called Eclipsepedia Key Features Covered in GEF Tutorials MVC Architecture Implementation import org
org.eclipse.draw2d org.eclipse.gef org.eclipse.jface org.eclipse.swt org.eclipse.ui org.eclipse.core.runtime private Rectangle newBounds
To build a GEF application, you must manage three distinct layers: