blob: 7f6848b79c3df971944017696b9c3ad7fef2444c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.tests.api;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IWorkingSet;
import org.eclipse.ui.dialogs.IWorkingSetPage;
/**
* Tests the org.eclipse.ui.workingSets extension point.
*/
public class MockWorkingSetPage extends WizardPage implements IWorkingSetPage {
private IWorkingSet workingSet;
/**
* Creates a new instance of the receiver.
*/
public MockWorkingSetPage() {
super(
"MockWorkingSetPage", "Test Working Set", ImageDescriptor.getMissingImageDescriptor()); //$NON-NLS-1$ $NON-NLS-2$
}
/**
* Overrides method in WizardPage.
*
* @see org.eclipse.jface.wizard.WizardPage#createControl(Composite)
*/
public void createControl(Composite parent) {
}
/**
* Implements IWorkingSetPage.
*
* @see org.eclipse.ui.dialogs.IWorkingSetPage#getSelection()
*/
public IWorkingSet getSelection() {
return workingSet;
}
/**
* Implements IWorkingSetPage.
*
* @see org.eclipse.ui.dialogs.IWorkingSetPage#setSelection(IWorkingSet)
*/
public void setSelection(IWorkingSet workingSet) {
}
/**
* @see org.eclipse.ui.dialogs.IWorkingSetPage#finish()
*/
public void finish() {
}
}