package org.simantics.tests.modelled.ui;
import java.io.IOException;
-import java.io.Reader;
-import java.io.StringReader;
import org.eclipse.ui.IPersistableElement;
import org.simantics.Simantics;
}
@Override
- protected Reader getSourceReader(UpdateListener listener) throws IOException {
- return new StringReader(moduleText);
+ public String getSourceText(UpdateListener listener) throws IOException {
+ return moduleText;
}
}