public ShapeModel addShape() {
// create new shape
ShapeModel model = ShapeGrammarModel.ACTIVE_SHAPE_GRAMMAR.addShape();
// add new listener
model.addPropertyChangeListener(this);
return model;
}
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {