list[i] = (PathMatcherTerm) pathMatchers.getElementAt(i);
}
// pop up a dialog box so that user can select a filename and location
SaveAsDialog saveas = new SaveAsDialog(control.getShell());
if (saveas.open() == SaveAsDialog.OK) {
IPath filePath = saveas.getResult();
String fullPath = FILE_PREFIX
+ Platform.getLocation().append(filePath).toOSString();
XmlPersistentPathExpression persist = new XmlPersistentPathExpression();