
org.integratedmodelling.kim.ui.KimUiModule.xtend Maven / Gradle / Ivy
/*
* generated by Xtext 2.9.1
*/
package org.integratedmodelling.kim.ui
import org.eclipse.jface.text.hyperlink.IHyperlinkDetector
import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor
import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator
import org.eclipse.xtext.ui.editor.IXtextEditorCallback
import org.eclipse.xtext.ui.editor.XtextEditor
import org.integratedmodelling.kim.ui.contentassist.KimHighlightingCalculator
import org.integratedmodelling.kim.ui.contentassist.KimLinkDetector
/**
* Use this class to register components to be used within the Eclipse IDE.
*/
@FinalFieldsConstructor
class KimUiModule extends AbstractKimUiModule {
static class NatureAddingEditorCallback extends IXtextEditorCallback.NullImpl {
override afterCreatePartControl(XtextEditor editor) {
super.afterCreatePartControl(editor);
}
}
override Class extends IXtextEditorCallback> bindIXtextEditorCallback() {
return typeof(NatureAddingEditorCallback);
}
override Class extends IHyperlinkDetector> bindIHyperlinkDetector() {
return typeof(KimLinkDetector);
}
def Class extends ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator() {
return typeof(KimHighlightingCalculator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy