// Path: plugins/eu.netide.deployment.topologyimport/src/eu/netide/deployment/topologyimport/TopologyImportFactory.java
// public class TopologyImportFactory {
// 	
// 	public static TopologyImportFactory instance = new TopologyImportFactory();
// 	
// 	public TopologyImport createTopologyImport() {
// 		return new TopologyImport();
// 	}
// 
// }


import org.eclipse.core.resources.IFile;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import eu.netide.deployment.topologyimport.TopologyImport;
import eu.netide.deployment.topologyimport.TopologyImportFactory;
package eu.netide.deployment.topologyimport.ui.popup.actions;



public class TopologyImportAction implements IObjectActionDelegate {

	private Shell shell;
	private IFile file;

	/**
	 * Constructor for Action1.
	 */
	public TopologyImportAction() {
		super();
	}

	/**
	 * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
	 */
	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
		shell = targetPart.getSite().getShell();
	}

	/**
	 * @see IActionDelegate#run(IAction)
	 */
	public void run(IAction action) {
// Path: plugins/eu.netide.deployment.topologyimport/src/eu/netide/deployment/topologyimport/TopologyImportFactory.java
// public class TopologyImportFactory {
// 	
// 	public static TopologyImportFactory instance = new TopologyImportFactory();
// 	
// 	public TopologyImport createTopologyImport() {
// 		return new TopologyImport();
// 	}
// 
// }


// Path: plugins/eu.netide.deployment.topologyimport.ui/src/eu/netide/deployment/topologyimport/ui/popup/actions/TopologyImportAction.java
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import eu.netide.deployment.topologyimport.TopologyImport;
import eu.netide.deployment.topologyimport.TopologyImportFactory;

package eu.netide.deployment.topologyimport.ui.popup.actions;



public class TopologyImportAction implements IObjectActionDelegate {

	private Shell shell;
	private IFile file;

	/**
	 * Constructor for Action1.
	 */
	public TopologyImportAction() {
		super();
	}

	/**
	 * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
	 */
	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
		shell = targetPart.getSite().getShell();
	}

	/**
	 * @see IActionDelegate#run(IAction)
	 */
	public void run(IAction action) {
		TopologyImport topologyimport = TopologyImportFactory.instance.createTopologyImport();