mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-08-15 14:27:39 +00:00
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:
@@ -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.
|
||||
|
@@ -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;
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user