blob: 1d1cbbb761abef533326b8ea8f65c1de1656e579 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 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.wst.command.internal.env.ui.widgets;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommand;
/**
* This Command can be used to get the current page.
* Use of this class is not recommended.
*
*/
public class CurrentPageCommand extends SimpleCommand
{
private WizardPageManager pageManager_;
public CurrentPageCommand( WizardPageManager pageManager )
{
pageManager_ = pageManager;
}
public IWizardPage getCurrentPage()
{
return pageManager_.getCurrentPage();
}
}