]> git.argeo.org Git - gpl/argeo-slc.git/blob - ApplicationWorkbenchAdvisor.java
a97fb5706f9888162c3b870d12a4ebbdc6de83a3
[gpl/argeo-slc.git] / ApplicationWorkbenchAdvisor.java
1 package org.argeo.slc.client.rcp;
2
3 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
4 import org.eclipse.ui.application.WorkbenchAdvisor;
5 import org.eclipse.ui.application.WorkbenchWindowAdvisor;
6
7 public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
8
9 private static final String PERSPECTIVE_ID = "org.argeo.slc.client.rcp.perspective";
10
11 public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
12 IWorkbenchWindowConfigurer configurer) {
13 return new ApplicationWorkbenchWindowAdvisor(configurer);
14 }
15
16 public String getInitialWindowPerspectiveId() {
17 return PERSPECTIVE_ID;
18 }
19
20 }