public class AddToLeftHandler extends AbstractHandler implements IHandler {
public Object execute(ExecutionEvent event) throws ExecutionException {
// get current model
RuleEditor editor = (RuleEditor) HandlerUtil.getActiveEditor(event);
RuleModel rule = (RuleModel) editor.getModel();
// TODO: notify user that shape could be replaced
if (rule.getLeftShape() != null) {
}