| /******************************************************************************* |
| * Copyright (c) 2008 IBM 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: |
| * IBM Corporation - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.ptp.rm.mpi.mpich2.ui.preferences; |
| |
| import org.eclipse.jface.preference.PreferencePage; |
| import org.eclipse.swt.widgets.Composite; |
| import org.eclipse.swt.widgets.Control; |
| import org.eclipse.ui.IWorkbench; |
| import org.eclipse.ui.IWorkbenchPreferencePage; |
| |
| /** |
| * |
| * @author Daniel Felix Ferber |
| * |
| */ |
| public class EmptyPage extends PreferencePage implements IWorkbenchPreferencePage { |
| |
| public EmptyPage() { |
| super(); |
| noDefaultAndApplyButton(); |
| } |
| |
| @Override |
| protected Control createContents(Composite parent) { |
| return parent; |
| } |
| |
| public void init(IWorkbench workbench) { |
| // Empty |
| } |
| |
| } |