ApplicationWorkbenchAdvisor.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.framework;
00002 
00003 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
00004 import org.eclipse.ui.application.WorkbenchAdvisor;
00005 import org.eclipse.ui.application.WorkbenchWindowAdvisor;
00006 
00007 import edu.rice.cs.hpc.traceviewer.data.util.Debugger;
00008 
00009 public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
00010 
00011     private static final String PERSPECTIVE_ID = "hpctraceview.perspective";
00012 
00013     final private String []args;
00014     
00015     public ApplicationWorkbenchAdvisor(String []_args) {
00016         super();
00017         args = _args;
00018         Debugger.checkArgDebug(args);
00019     }
00020     public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
00021             IWorkbenchWindowConfigurer configurer) {
00022         return new ApplicationWorkbenchWindowAdvisor(configurer, this.args);
00023     }
00024 
00025     public String getInitialWindowPerspectiveId() {
00026         return PERSPECTIVE_ID;
00027     }
00028 
00029 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1