org.eclipse.jface.wizard.IWizardContainer2 Java Examples

The following examples show how to use org.eclipse.jface.wizard.IWizardContainer2. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BirtWebProjectWizardConfigurationPage.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Called whenever the wizard page has changed and forces its container
 * to resize its content.
 * 
 * @see org.eclipse.jface.dialogs.IPageChangedListener#pageChanged(org.eclipse.jface.dialogs.PageChangedEvent)
 */
public void pageChanged( PageChangedEvent event )
{
	if ( this.wizardPage == event.getSelectedPage( ) )
	{
		// force size update
		IWizardContainer container = getContainer( );
		if ( container instanceof IWizardContainer2 )
		{
			( (IWizardContainer2) container ).updateSize( );
		}
	}
}