IEditorPart[] editorsToSave= JavaPlugin.getDirtyEditors(fParentShell);
IEditorPart[] editorsToSave= getDirtyEditors(fParentShell);
			public void run(final IProgressMonitor pm) {				IEditorPart[] editorsToSave= JavaPlugin.getDirtyEditors(fParentShell);				pm.beginTask(JarPackagerMessages.getString("JarFileExportOperation.savingModifiedResources"), editorsToSave.length); //$NON-NLS-1$				try {					List dirtyFilesList= Arrays.asList(dirtyFiles);					for (int i= 0; i < editorsToSave.length; i++) {						if (editorsToSave[i].getEditorInput() instanceof IFileEditorInput) {							IFile dirtyFile= ((IFileEditorInput)editorsToSave[i].getEditorInput()).getFile();												if (dirtyFilesList.contains((dirtyFile)))								editorsToSave[i].doSave(new SubProgressMonitor(pm, 1));						}						pm.worked(1);					}				} finally {					pm.done();				}			}