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

import java.awt.event.ActionEvent;
import java.io.File;

import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.filechooser.FileFilter;
import javax.swing.filechooser.FileNameExtensionFilter;

import application.ApplicationWindow;
import application.editor.Editor;
import application.simulator.SimulatorWindow;
import models.dataFlowModel.DataTransferChannel;

public class SimulateAction extends AbstractSystemAction {
	
	private SimulatorWindow simulatorWindow = null;

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

	public SimulateAction(ApplicationWindow frame) {
		super("Simulate", frame);
		//this.simulatorWindow = new SimulatorWindow(frame.getEditor());	
	}
		

	@Override
	public void actionPerformed(ActionEvent e) {
		this.simulatorWindow = new SimulatorWindow(frame.getEditor());
	}

}