Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.dltk.sh.core/src/org/eclipse/dltk/sh/core/ShellScriptLanguageToolkit.java')
-rw-r--r--plugins/org.eclipse.dltk.sh.core/src/org/eclipse/dltk/sh/core/ShellScriptLanguageToolkit.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/org.eclipse.dltk.sh.core/src/org/eclipse/dltk/sh/core/ShellScriptLanguageToolkit.java b/plugins/org.eclipse.dltk.sh.core/src/org/eclipse/dltk/sh/core/ShellScriptLanguageToolkit.java
new file mode 100644
index 0000000..907b539
--- /dev/null
+++ b/plugins/org.eclipse.dltk.sh.core/src/org/eclipse/dltk/sh/core/ShellScriptLanguageToolkit.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat Inc. and others.
+ * 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:
+ * Alexander Kurtakov - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.dltk.sh.core;
+
+import org.eclipse.dltk.core.AbstractLanguageToolkit;
+import org.eclipse.dltk.core.IDLTKLanguageToolkit;
+
+public class ShellScriptLanguageToolkit extends AbstractLanguageToolkit {
+ private static ShellScriptLanguageToolkit toolkit;
+
+ public static IDLTKLanguageToolkit getDefault() {
+ if (toolkit == null) {
+ toolkit = new ShellScriptLanguageToolkit();
+ }
+ return toolkit;
+ }
+
+ @Override
+ public String getLanguageName() {
+ return "Shell Script";
+ }
+
+ @Override
+ public String getNatureId() {
+ return ShelledNature.SHELLED_NATURE;
+ }
+
+ @Override
+ public String getLanguageContentType() {
+ return "org.eclipse.dltk.sh.content-type";
+ }
+
+}

Back to the top