ResetViews.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.traceviewer.actions;
00002
00003 import org.eclipse.core.commands.ExecutionEvent;
00004 import org.eclipse.core.commands.ExecutionException;
00005 import org.eclipse.core.commands.AbstractHandler;
00006 import org.eclipse.ui.PlatformUI;
00007
00008
00009 public class ResetViews extends AbstractHandler
00010 {
00011
00012 public Object execute(ExecutionEvent event) throws ExecutionException
00013 {
00014 PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().resetPerspective();
00015 return null;
00016 }
00017 }