I tried to apply this solution to my problem, but it doesn't work. I've got a class which extends Wizard
and implements INewWizard
. It's called by an Activator
-class. I don't have wizardDialog
anywhere so I unsuccessfully tried it like this:
public SeeTableScreenWizard()
{
super();
WizardDialog wizardDialog = new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), this);
wizardDialog.setPageSize(800, 400);
setNeedsProgressMonitor(true);
}
The reason why i need it is the following: one of the pages has a org.eclipse.swt.widgets.List
which has many entries. Its doesn't have any consequences until i run the wizard for the second time. Its height is being set to the screen height, i suppose because it tries to set the size to that big page created at the first run.
Give me some clues please.