Newer
Older
AlgebraicDataflowArchitectureModel / AlgebraicDataflowArchitectureModel / src / application / actions / DeleteAction.java
package application.actions;

import java.awt.event.ActionEvent;

import application.ApplicationLanguage;
import application.editor.Editor;

public class DeleteAction extends AbstractEditorAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4410145389391154784L;

	public DeleteAction(Editor editor) {
		super(/*propName*/ "delete", editor);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		super.actionPerformed(e);
		editor.delete();
	}

}