package org.objectweb.proactive.ic2d;

import org.eclipse.ui.IWorkbenchPreferenceConstants;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.IWorkbenchConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;

public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {

	public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
		return new ApplicationWorkbenchWindowAdvisor(configurer);
	}

	public void initialize(IWorkbenchConfigurer configurer) {
		/*// To restore window preferences
		super.initialize(configurer);
        configurer.setSaveAndRestore(true);
        */
		// Sets the look of the tabs like Eclipse 3.x
		PlatformUI.getPreferenceStore().setValue(
				IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS,
				false);
	}

	public String getInitialWindowPerspectiveId() {
		return "org.objectweb.proactive.ic2d.monitoring.perspectives.MonitoringPerspective";//MonitoringPerspective.ID /*DefaultPerspective.ID*/;
	}
}

@@ -643,18 +643,16 @@
 er) %7B%0A%09%09
-/*
 // To re
@@ -678,16 +678,18 @@
 ences%0A%09%09
+//
 super.in
@@ -762,18 +762,16 @@
         
-*/
 %0A%09%09// Se

Save and restore workbench state.