Newer
Older
MagnetRON / src / org / ntlab / actions / ExtractAction.java
package org.ntlab.actions;

import java.awt.event.ActionEvent;

import org.ntlab.deltaViewer.IMagnetRON;
import org.ntlab.featureExtractor.Feature;

public class ExtractAction extends AbstractMagnetRONAction {

	private Feature feature = null;
	
	public ExtractAction(Feature feature, IMagnetRON magnetRON) {
		super(feature.getName(), magnetRON);
		this.feature = feature;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		magnetRON.doExtract(feature);
	}
}