package de.tudarmstadt.stg.monto.sink;

import org.eclipse.ui.texteditor.AbstractTextEditor;

public class SinkViewer extends AbstractTextEditor {
	public SinkViewer() {
		setDocumentProvider(new SinkDocumentProvider());
	}

}

@@ -218,10 +218,287 @@
 ));%0A%09%7D%0A%0A
+%09@Override%0A%09public boolean isEditable() %7B%0A%09%09return false;%0A%09%7D%0A%09%0A%0A%09@Override%0A%09public boolean isEditorInputModifiable() %7B%0A%09    return false;%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean isEditorInputReadOnly() %7B%0A%09%09return true;%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean isDirty() %7B%0A%09    return false;%0A%09%7D%0A
 %7D%0A

make sink editor read only