updateTextualModuleSource(element);
if(currentSource == null)
throw new CoreException(
- new Status(Status.ERROR, "org.simantics.scl.ui", "Source for the SCL module could not be found.")
+ new Status(Status.ERROR, "org.simantics.scl.ui", Messages.SCLModuleEditor2DocumentProvider_Status_SCLSourceNotFound) //$NON-NLS-1$
);
Document document;
try {
document = new Document(currentSource.getSourceText(null));
} catch (IOException e) {
throw new CoreException(
- new Status(Status.ERROR, "org.simantics.scl.ui", "Reading SCL module failed.", e)
+ new Status(Status.ERROR, "org.simantics.scl.ui", "Reading SCL module failed.", e) //$NON-NLS-1$ //$NON-NLS-2$
);
}
IDocumentPartitioner partitioner = new FastPartitioner(new SCLPartitionScanner(), SCLPartitionScanner.PARTITION_TYPES);