diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java')
-rw-r--r-- | plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java b/plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java index 900f4a851..c8d9b1a1f 100644 --- a/plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java +++ b/plugins/org.eclipse.etrice.core.etphys.ui/src/org/eclipse/etrice/core/etphys/ui/ETPhysUiModule.java @@ -14,15 +14,20 @@ package org.eclipse.etrice.core.etphys.ui; +import org.eclipse.etrice.core.common.ui.editor.folding.FoldingRegionProvider; +import org.eclipse.etrice.core.common.ui.hover.BaseHoverDocumentationProvider; import org.eclipse.etrice.core.common.ui.linking.GlobalNonPlatformURIEditorOpener; import org.eclipse.etrice.core.common.ui.linking.ImportAwareHyperlinkHelper; import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.editor.folding.IFoldingRegionProvider; +import org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider; import org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper; /** * Use this class to register components to be used within the IDE. */ public class ETPhysUiModule extends org.eclipse.etrice.core.etphys.ui.AbstractETPhysUiModule { + public ETPhysUiModule(AbstractUIPlugin plugin) { super(plugin); } @@ -30,8 +35,17 @@ public class ETPhysUiModule extends org.eclipse.etrice.core.etphys.ui.AbstractET public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { return GlobalNonPlatformURIEditorOpener.class; } + public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { return ImportAwareHyperlinkHelper.class; } + public Class<? extends IFoldingRegionProvider> bindIFoldingRegionProvider() { + return FoldingRegionProvider.class; + } + + public Class<? extends IEObjectHoverDocumentationProvider> bindIEObjectHoverDocumentationProvider() { + return BaseHoverDocumentationProvider.class; + } + } |