Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4162ecfe94622c6fa30c9e251d0e1324f4393205 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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