/** * This method is called when the wizard should finish. This may be * overridden to change the default behavior (jumpting to next page until * the wizard finished). */ public void doFinish() { doNext(); }
/** * Jump to next page. */ public void doNext() { final WizardPage page = getActivePage(); if ( page != null ) { page.doNext(); } }
@Override public void doNext() { final VirtualFile selectedFile = getSelectedFile(); if ( selectedFile != null ) { if ( selectedFile.isDirectory() ) { final Explorer explorer = getExplorer(); explorer.setCurrentFolder( selectedFile.getPath() ); } else { super.doNext(); } } } }