1 package com.generalrobotix.ui.grxui;
3 import org.eclipse.ui.IWorkbench;
4 import org.eclipse.ui.PlatformUI;
5 import org.eclipse.ui.application.IWorkbenchConfigurer;
6 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
7 import org.eclipse.ui.application.WorkbenchAdvisor;
8 import org.eclipse.ui.application.WorkbenchWindowAdvisor;
12 private static final String
PERSPECTIVE_ID =
"com.generalrobotix.ui.grxui.GrxUIPerspectiveFactory";
15 IWorkbenchWindowConfigurer configurer) {
23 public void initialize(IWorkbenchConfigurer configurer) {
24 configurer.setSaveAndRestore(
true);
31 IWorkbench workbench = PlatformUI.getWorkbench();
32 workbench.addWorkbenchListener(activator);
36 }
catch (Exception ex) {
42 }
catch (Exception e) {
ColorRegistry getColorRegistry()
static final String PERSPECTIVE_ID
void breakStart(Exception eX, IPerspectiveDescriptor closeDesc)
#define null
our own NULL pointer
String getInitialWindowPerspectiveId()
ImageRegistry getImageRegistry()
FontRegistry getFontRegistry()
void loadInitialProject()
static Activator getDefault()
WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)
void initialize(IWorkbenchConfigurer configurer)