source: default/v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.standalone/src/de/ugoe/cs/swe/bnftools/ebnf/standalone/ApplicationWorkbenchAdvisor.java @ 74

Last change on this file since 74 was 74, checked in by phdmakk, 10 years ago

+ initial RCP example
+ EBNFEditedResourceProvider
+ Initial imports and declarations in View
+ corresponding dependencies

  • Property svn:mime-type set to text/plain
File size: 643 bytes
Line 
1package de.ugoe.cs.swe.bnftools.ebnf.standalone;
2
3import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
4import org.eclipse.ui.application.WorkbenchAdvisor;
5import org.eclipse.ui.application.WorkbenchWindowAdvisor;
6
7public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
8
9        private static final String PERSPECTIVE_ID = "de.ugoe.cs.swe.bnftools.ebnf.standalone.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}
Note: See TracBrowser for help on using the repository browser.