Sync git svn branch with SVN repository r33290.
[simantics/platform.git] / bundles / org.simantics.tests.modelled.ui / src / org / simantics / tests / modelled / ui / STSTestEditor.java
1 package org.simantics.tests.modelled.ui;\r
2 \r
3 import org.simantics.modeling.ui.componentTypeEditor.SCLModuleEditor;\r
4 import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew;\r
5 \r
6 public class STSTestEditor extends SCLModuleEditor {\r
7     \r
8     \r
9     \r
10     @Override\r
11     protected void preInitialize() {\r
12         SCLSourceViewerConfigurationNew sourceViewerConfiguration = new SCLSourceViewerConfigurationNew(resourceManager);\r
13         setDocumentProvider(new STSTestEditorDocumentProvider(sourceViewerConfiguration));\r
14         setSourceViewerConfiguration(sourceViewerConfiguration);\r
15     }\r
16 \r
17 }\r