blob: 258fb5b274e1e8050a5223d6b033437a371d5037 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2002, 2012 Innoopract Informationssysteme GmbH and others.
* 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:
* Innoopract Informationssysteme GmbH - initial API and implementation
* EclipseSource - ongoing development
******************************************************************************/
package org.eclipse.rap.demo;
import org.eclipse.ui.application.*;
public class DemoWorkbenchAdvisor extends WorkbenchAdvisor {
public void initialize( IWorkbenchConfigurer configurer ) {
getWorkbenchConfigurer().setSaveAndRestore( true );
super.initialize( configurer );
}
public String getInitialWindowPerspectiveId() {
return "org.eclipse.rap.demo.perspective";
}
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
final IWorkbenchWindowConfigurer windowConfigurer )
{
return new DemoWorkbenchWindowAdvisor( windowConfigurer );
}
}