diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java')
-rw-r--r-- | plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java b/plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java index 82cdf8231..26a36300d 100644 --- a/plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java +++ b/plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java @@ -1,39 +1,39 @@ -/******************************************************************************* - * Copyright (c) 2012 Juergen Haug - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * CONTRIBUTORS: - * Juergen Haug - * - *******************************************************************************/ - -package org.eclipse.etrice.core.ui; - -import org.eclipse.etrice.core.ui.linking.ConfigHyperlinkHelper; -import org.eclipse.etrice.core.ui.linking.GlobalNonPlatformURIEditorOpener; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper; - -/** - * Use this class to register components to be used within the IDE. - */ -public class ConfigUiModule extends - org.eclipse.etrice.core.ui.AbstractConfigUiModule { - public ConfigUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - // HOWTO: use URI imports - need special editor opener - public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { - return GlobalNonPlatformURIEditorOpener.class; - } - - // HOWTO: use URI imports - need special class for creating hyper links for - // imports - public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { - return ConfigHyperlinkHelper.class; - } -} +/*******************************************************************************
+ * Copyright (c) 2012 Juergen Haug
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.ui;
+
+import org.eclipse.etrice.core.ui.linking.ConfigHyperlinkHelper;
+import org.eclipse.etrice.core.ui.linking.GlobalNonPlatformURIEditorOpener;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper;
+
+/**
+ * Use this class to register components to be used within the IDE.
+ */
+public class ConfigUiModule extends
+ org.eclipse.etrice.core.ui.AbstractConfigUiModule {
+ public ConfigUiModule(AbstractUIPlugin plugin) {
+ super(plugin);
+ }
+
+ // HOWTO: use URI imports - need special editor opener
+ public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() {
+ return GlobalNonPlatformURIEditorOpener.class;
+ }
+
+ // HOWTO: use URI imports - need special class for creating hyper links for
+ // imports
+ public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() {
+ return ConfigHyperlinkHelper.class;
+ }
+}
|