public SourceContainerWorkbookPage(IWorkspaceRoot root, ListDialogField classPathList, StringDialogField outputLocationField) { fWorkspaceRoot= root;
public SourceContainerWorkbookPage(ListDialogField classPathList, StringDialogField outputLocationField) { fWorkspaceRoot= ResourcesPlugin.getWorkspace().getRoot();
	public SourceContainerWorkbookPage(IWorkspaceRoot root, ListDialogField classPathList, StringDialogField outputLocationField) {		fWorkspaceRoot= root;		fClassPathList= classPathList;			fOutputLocationField= outputLocationField;				fSWTControl= null;						SourceContainerAdapter adapter= new SourceContainerAdapter();							String[] buttonLabels;		buttonLabels= new String[] { 			/* 0 = IDX_ADDEXIST */ NewWizardMessages.getString("SourceContainerWorkbookPage.folders.add.button"), //$NON-NLS-1$			/* 1 */ null,			/* 2 = IDX_EDIT */ NewWizardMessages.getString("SourceContainerWorkbookPage.folders.edit.button"), //$NON-NLS-1$			/* 3 = IDX_REMOVE */ NewWizardMessages.getString("SourceContainerWorkbookPage.folders.remove.button") //$NON-NLS-1$		};				fFoldersList= new TreeListDialogField(adapter, buttonLabels, new CPListLabelProvider());		fFoldersList.setDialogFieldListener(adapter);		fFoldersList.setLabelText(NewWizardMessages.getString("SourceContainerWorkbookPage.folders.label")); //$NON-NLS-1$				fFoldersList.setViewerSorter(new CPListElementSorter());		fFoldersList.enableButton(IDX_EDIT, false);				fUseFolderOutputs= new SelectionButtonDialogField(SWT.CHECK);		fUseFolderOutputs.setSelection(false);		fUseFolderOutputs.setLabelText(NewWizardMessages.getString("SourceContainerWorkbookPage.folders.check")); //$NON-NLS-1$		fUseFolderOutputs.setDialogFieldListener(adapter);	}