import org.simantics.scl.compiler.errors.CompilationError;\r
import org.simantics.scl.compiler.errors.Locations;\r
import org.simantics.structural.stubs.StructuralResource2;\r
import org.simantics.scl.compiler.errors.CompilationError;\r
import org.simantics.scl.compiler.errors.Locations;\r
import org.simantics.structural.stubs.StructuralResource2;\r
import org.simantics.ui.workbench.ResourceEditorInput;\r
import org.simantics.utils.logging.TimeLogger;\r
\r
import org.simantics.ui.workbench.ResourceEditorInput;\r
import org.simantics.utils.logging.TimeLogger;\r
\r
protected boolean errorHappened;\r
\r
protected AnnotationModel annotationModel = new AnnotationModel();\r
protected boolean errorHappened;\r
\r
protected AnnotationModel annotationModel = new AnnotationModel();\r
public Document perform(ReadGraph graph) throws DatabaseException {\r
StructuralResource2 STR = StructuralResource2.getInstance(graph);\r
currentText = graph.getRelatedValue(resource, STR.ComponentTypeScript_code, Bindings.STRING);\r
public Document perform(ReadGraph graph) throws DatabaseException {\r
StructuralResource2 STR = StructuralResource2.getInstance(graph);\r
currentText = graph.getRelatedValue(resource, STR.ComponentTypeScript_code, Bindings.STRING);\r