Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.core/plugin.xml')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.core/plugin.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.core/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.core/plugin.xml
new file mode 100644
index 000000000..4162ecfe9
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.core/plugin.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+<!-- Extension point contributions -->
+ <extension-point id="connectionTypes" name="Connection Type Contributions" schema="schema/connectionTypes.exsd"/>
+ <extension-point id="connectionTypeBindings" name="Connection Type Bindings Contributions" schema="schema/connectionTypeBindings.exsd"/>
+
+<!-- Adapter factory contributions -->
+ <extension point="org.eclipse.core.runtime.adapters">
+ <factory
+ adaptableType="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode"
+ class="org.eclipse.tcf.te.core.adapters.AdapterFactory">
+ <adapter type="org.eclipse.tcf.te.runtime.persistence.interfaces.IPersistable"/>
+ </factory>
+ </extension>
+
+<!-- Reusable core expression fragments -->
+ <extension point="org.eclipse.core.expressions.definitions">
+
+ <!-- Expression to test if the selection contains only one element which
+ is an connectable model node -->
+ <definition id="te.core.expression.isConnectable">
+ <with variable="selection">
+ <count value="1"/>
+ <iterate operator="and" ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.core.model.interfaces.IConnectable"/>
+ </iterate>
+ </with>
+ </definition>
+ </extension>
+
+</plugin>

Back to the top