Updated constructor to get an ImageManager intead of the image

itself. It is more sensible that the wizard knows what logo it requires
instead of the caller!
This commit is contained in:
Robert Greene 2003-01-21 05:11:05 +00:00
parent 5f179d871e
commit b1be88945f
2 changed files with 4 additions and 4 deletions

View File

@ -55,8 +55,8 @@ public class DiskImageWizard extends Wizard {
/**
* Constructor for ExportWizard.
*/
public DiskImageWizard(Shell parent, Image logo) {
super(parent, logo, "Disk Image Wizard");
public DiskImageWizard(Shell parent, ImageManager imageManager) {
super(parent, imageManager.getDiskImageWizardLogo(), "Disk Image Wizard");
}
/**
* Create the initial display used in the wizard.

View File

@ -38,8 +38,8 @@ public class ExportWizard extends Wizard {
/**
* Constructor for ExportWizard.
*/
public ExportWizard(Shell parent, Image logo, FormattedDisk disk) {
super(parent, logo, "Export Wizard");
public ExportWizard(Shell parent, ImageManager imageManager, FormattedDisk disk) {
super(parent, imageManager.getExportWizardLogo(), "Export Wizard");
this.disk = disk;
}
/**