summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 16:33:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 16:33:19 +0000
commit52a6839cf1893c00c95443e8cde212eb19efd75d (patch)
tree19e54818433de355c21ad1aa2e9b0b748a021131 /org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
downloadrtems-eclipse-plug-in-52a6839cf1893c00c95443e8cde212eb19efd75d.tar.bz2
Initial import.baseinitial-import
Diffstat (limited to 'org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java')
-rw-r--r--org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java b/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
new file mode 100644
index 0000000..dda639d
--- /dev/null
+++ b/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
@@ -0,0 +1,21 @@
+/**********************************************************************
+ * Copyright (c) 2008 RobertF.
+ * All rights reserved.
+ **********************************************************************/
+
+package org.rtems.cdt.toolchain;
+
+import org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported;
+import org.eclipse.cdt.managedbuilder.core.IToolChain;
+import org.eclipse.core.runtime.PluginVersionIdentifier;
+
+public class IsRtemsToolChainSupported implements IManagedIsToolChainSupported {
+ public IsRtemsToolChainSupported() {
+ }
+
+ public boolean isSupported(IToolChain toolChain,
+ PluginVersionIdentifier version, String instance) {
+ return RtemsEnvironmentVariableSupplier.toolChainSupported;
+ }
+
+}