public GrammarEnvironment(GrammarInputPane input) {
		super(null);
		this.input = input;
		input.getTable().getModel().addTableModelListener(
				new TableModelListener() {
					public void tableChanged(TableModelEvent event) {
						setDirty();
					}
				});
	}