OptionRecordsDisplay.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.actions;
00002 
00003 import org.eclipse.core.commands.AbstractHandler;
00004 import org.eclipse.core.commands.Command;
00005 import org.eclipse.core.commands.ExecutionEvent;
00006 import org.eclipse.core.commands.ExecutionException;
00007 import org.eclipse.ui.handlers.HandlerUtil;
00008 
00009 
00010 /***************
00011  * 
00012  * handler for menu advanced
00013  *
00014  */
00015 public class OptionRecordsDisplay extends AbstractHandler {
00016 
00017     final static public String commandId = "edu.rice.cs.hpc.traceviewer.showRecords";
00018     
00019     public Object execute(ExecutionEvent event) throws ExecutionException 
00020     {
00021          Command command = event.getCommand();
00022          HandlerUtil.toggleCommandState(command);
00023          // use the old value and perform the operation 
00024          return null;
00025     }
00026 
00027 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1