Eclipse Gef — Tutorial

public abstract class Shape public static final String LOCATION_PROP = "location"; public static final String SIZE_PROP = "size";

@Override protected void createEditPolicies() // For now, no edit policies – just static content eclipse gef tutorial

– Base class for all shapes:

editor/ShapeEditor.java :