public void init(IWorkbench workbench, JarPackageData jarPackage) { Assert.isNotNull(workbench); Assert.isNotNull(jarPackage); fJarPackage= jarPackage; setInitializeFromJarPackage(true); fSelection= new StructuredSelection(fJarPackage.getElements());
public void init(IWorkbench workbench, IStructuredSelection selection) {  fSelection= getValidSelection(); fJarPackage= new JarPackageData(); setInitializeFromJarPackage(false);
	public void init(IWorkbench workbench, JarPackageData jarPackage) {		Assert.isNotNull(workbench);		Assert.isNotNull(jarPackage);				fJarPackage= jarPackage;		setInitializeFromJarPackage(true);		fSelection= new StructuredSelection(fJarPackage.getElements());		setWindowTitle(JarPackagerMessages.getString("JarPackageWizard.windowTitle")); //$NON-NLS-1$		setDefaultPageImageDescriptor(JavaPluginImages.DESC_WIZBAN_JAR_PACKAGER);		setNeedsProgressMonitor(true);	}