This commit is contained in:
peterdell 2018-12-30 23:07:28 +01:00
parent 13bbdbe70a
commit 3d1f54dff0

View File

@ -91,8 +91,7 @@ public final class Apple2DiskImageEditor extends EditorPart {
} }
@Override @Override
public void init(IEditorSite site, IEditorInput input) public void init(IEditorSite site, IEditorInput input) throws PartInitException {
throws PartInitException {
// Clear fields. // Clear fields.
File ioFile; File ioFile;
IFile iFile; IFile iFile;
@ -179,8 +178,7 @@ public final class Apple2DiskImageEditor extends EditorPart {
imageManager = new ImageManager(parent.getDisplay()); imageManager = new ImageManager(parent.getDisplay());
tabFolder = new CTabFolder(parent, SWT.BOTTOM); tabFolder = new CTabFolder(parent, SWT.BOTTOM);
diskExplorerTab = new DiskExplorerTab(tabFolder, formattedDisks, diskExplorerTab = new DiskExplorerTab(tabFolder, formattedDisks, imageManager, new DummyDiskWindow());
imageManager, new DummyDiskWindow());
diskMapTabs = new DiskMapTab[formattedDisks.length]; diskMapTabs = new DiskMapTab[formattedDisks.length];
for (int i = 0; i < formattedDisks.length; i++) { for (int i = 0; i < formattedDisks.length; i++) {
if (formattedDisks[i].supportsDiskMap()) { if (formattedDisks[i].supportsDiskMap()) {