/* * 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: * Dmitry Stadnik (Borland) - initial API and implementation */ package org.eclipse.gmf.examples.taipan.gmf.editor.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.taipan.gmf.editor.TaiPanPerspective"; //$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); } }