blob: 7dac1f87c6af7126c9e9c0c884d29bcbfb0c60e4 [file] [log] [blame]
/*
* Created on Feb 20, 2004
*
*/
package groovy.jface.impl;
import groovy.lang.Closure;
import groovy.swt.ClosureSupport;
import org.eclipse.jface.wizard.Wizard;
/**
* Provides a Wizard implementation
*
* @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster </a>
* @version $Revision$
*/
public class WizardImpl extends Wizard implements ClosureSupport{
private Closure closure;
public WizardImpl() {
super();
setNeedsProgressMonitor(true);
}
/*
* TODO implements this
*
* @see org.eclipse.jface.wizard.IWizard#performCancel()
*/
public boolean performCancel() {
System.out.println("performCancel ...");
return true;
}
/*
* TODO implements this
*
* @see org.eclipse.jface.wizard.IWizard#performFinish()
*/
public boolean performFinish() {
System.out.println("performFinish ...");
return true;
}
/*
* @see groovy.swt.ClosureSupport#getClosure()
*/
public Closure getClosure() {
return closure;
}
/*
* @see groovy.swt.ClosureSupport#setClosure(groovy.lang.Closure)
*/
public void setClosure(Closure closure) {
this.closure = closure;
}
}