OpenDatabase.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.viewer.actions;
00002 
00003 
00004 import org.eclipse.core.commands.AbstractHandler;
00005 import org.eclipse.core.commands.ExecutionEvent;
00006 import org.eclipse.core.commands.ExecutionException;
00007 import org.eclipse.ui.IWorkbenchWindow;
00008 import org.eclipse.ui.handlers.HandlerUtil;
00009 import edu.rice.cs.hpc.viewer.experiment.ExperimentManager;
00010 
00011 public class OpenDatabase extends AbstractHandler {
00012 
00013     public Object execute(ExecutionEvent event) throws ExecutionException 
00014     {
00015         IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
00016         final ExperimentManager expFile = new ExperimentManager(window); 
00017                 //ExperimentData.getInstance(window).getExperimentManager();
00018         expFile.openFileExperiment(ExperimentManager.FLAG_DEFAULT);
00019 
00020         
00021         return null;
00022     }
00023 
00024 
00025 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1