mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 08:30:35 +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:
parent
5f179d871e
commit
b1be88945f
@ -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;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user