/******************************************************************************* * Copyright (c) 2006-2009, G. Weirich and Elexis * 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: * G. Weirich - initial implementation * ******************************************************************************* */ package ch.elexis.core.application.perspectives; import org.eclipse.swt.SWT; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; import ch.elexis.core.ui.views.ReminderView; public class ReminderPerspektive implements IPerspectiveFactory { public static final String ID = "ch.elexis.ReminderPerspektive"; //$NON-NLS-1$ public void createInitialLayout(IPageLayout layout){ String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(false); layout.addView(ReminderView.ID, SWT.RIGHT, 0.8f, editorArea); } }