org.eclipse.jface.wizard.IWizardContainer2 Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2004, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jface.wizard;
/**
* IWizardContainer2
is a supplement to
* IWizardContainer
that adds a method for updating the size of
* the wizard shell based on the contents of the current page.
*
* The class WizardDialog
provides a fully functional
* implementation of this interface which will meet the needs of
* most clients. However, clients are also free to implement this
* interface if WizardDialog
does not suit their needs.
*
*
* @see org.eclipse.jface.wizard.IWizardContainer
* @since 3.0
*/
public interface IWizardContainer2 extends IWizardContainer {
/**
* Updates the window size to reflect the state of the current wizard.
*
* This method is called by the container itself
* when its wizard changes and may be called
* by the wizard at other times to force a window
* size change.
*
*/
public void updateSize();
}