import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.text.BadLocationException;
-import org.eclipse.text.edits.MalformedTreeException;
-import org.eclipse.text.edits.TextEdit;
+//import org.eclipse.jface.text.BadLocationException;
+//import org.eclipse.text.edits.MalformedTreeException;
+//import org.eclipse.text.edits.TextEdit;
/**
* Provides convenient utility methods to other types in this package.
*
* @return the updated string
*/
- public final static String editedString(String original, TextEdit edit) {
- if (edit == null) {
- return original;
- }
- SimpleDocument document = new SimpleDocument(original);
- try {
- edit.apply(document, TextEdit.NONE);
- return document.get();
- } catch (MalformedTreeException e) {
- e.printStackTrace();
- } catch (BadLocationException e) {
- e.printStackTrace();
- }
- return original;
- }
+// public final static String editedString(String original, TextEdit edit) {
+// if (edit == null) {
+// return original;
+// }
+// SimpleDocument document = new SimpleDocument(original);
+// try {
+// edit.apply(document, TextEdit.NONE);
+// return document.get();
+// } catch (MalformedTreeException e) {
+// e.printStackTrace();
+// } catch (BadLocationException e) {
+// e.printStackTrace();
+// }
+// return original;
+// }
/**
* Returns true iff str.toLowerCase().endsWith(end.toLowerCase())