@@ -0,0 +1,1446 @@
+package org.mwc.debrief.dis.action;%0A%0Aimport org.eclipse.core.commands.AbstractHandler;%0Aimport org.eclipse.core.commands.ExecutionEvent;%0Aimport org.eclipse.core.commands.ExecutionException;%0Aimport org.eclipse.core.resources.IResource;%0Aimport org.eclipse.jface.viewers.IStructuredSelection;%0Aimport org.eclipse.ui.IWorkbenchWindow;%0Aimport org.eclipse.ui.PartInitException;%0Aimport org.eclipse.ui.PlatformUI;%0Aimport org.mwc.cmap.core.CorePlugin;%0Aimport org.mwc.debrief.dis.DisActivator;%0Aimport org.mwc.debrief.dis.ui.views.DisListenerView;%0A%0Apublic class DISRunInSimulatorHandler extends AbstractHandler %7B%0A%0A  @Override%0A  public Object execute(ExecutionEvent event) throws ExecutionException %7B%0A    IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();%0A    DisListenerView view = null;%0A    try %7B%0A      IStructuredSelection selection = (IStructuredSelection) window.getSelectionService().getSelection();%0A      Object firstElement = selection.getFirstElement();%0A      if (firstElement instanceof IResource) %7B%0A        IResource resource = (IResource) firstElement;%0A        if (resource.getFileExtension().equals(%22inp%22)) %7B%0A          String filePath = resource.getLocation().toOSString();%0A          view = (DisListenerView) window.getActivePage().showView(CorePlugin.DIS_LISTENER_VIEW);%0A          view.doLaunch(filePath);%0A        %7D%0A      %7D%0A    %7D catch (PartInitException e) %7B%0A      DisActivator.log(e);%0A    %7D%0A    return view;%0A  %7D%0A%0A%7D%0A

create action to run simulator for navigator file