blob: 8c7024aa7424a29722ef8913449eb34b084ebdd8 [file] [log] [blame]
/*
* Copyright (c) 2006, 2007 Borland Software Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Richard Gronback (Borland) - initial API and implementation
*/
package org.eclipse.gmf.examples.mindmap.rcp.application;
import org.eclipse.ui.application.IWorkbenchConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
/**
* @generated
*/
public class DiagramEditorWorkbenchAdvisor extends WorkbenchAdvisor {
/**
* @generated
*/
public static final String PERSPECTIVE_ID = "org.eclipse.gmf.examples.mindmap.rcp.MindmapPerspective"; //$NON-NLS-1$
/**
* @generated
*/
public String getInitialWindowPerspectiveId() {
return PERSPECTIVE_ID;
}
/**
* @generated
*/
public void initialize(IWorkbenchConfigurer configurer) {
super.initialize(configurer);
configurer.setSaveAndRestore(true);
}
/**
* @generated
*/
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
IWorkbenchWindowConfigurer configurer) {
return new DiagramEditorWorkbenchWindowAdvisor(configurer);
}
}