Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd')
-rw-r--r--bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd18
1 files changed, 16 insertions, 2 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd b/bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd
index 714c2dc74..3e485d237 100644
--- a/bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd
+++ b/bundles/runtime/org.eclipse.fx.ecp.ui/schema/controls.exsd
@@ -55,6 +55,7 @@
</annotation>
<complexType>
<choice>
+ <element ref="dynamicTest"/>
<element ref="staticTest" minOccurs="1" maxOccurs="unbounded"/>
</choice>
<attribute name="id" type="string" use="required">
@@ -81,11 +82,24 @@
</documentation>
</annotation>
</attribute>
- <attribute name="multi" type="boolean" use="required">
+ </complexType>
+ </element>
+
+ <element name="dynamicTest">
+ <annotation>
+ <documentation>
+ A dynamic test simply provides an implementation of the org.eclipse.emf.ecp.edit.util.ECPApplicableTester interface.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="testClass" type="string" use="required">
<annotation>
<documentation>
- Whether the control can be embedded into a multi-control. The default is true.
+ The implementation of the tester. The Class must extend the org.eclipse.emf.ecp.edit.util.ECPApplicableTester.
</documentation>
+ <appinfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.emf.ecp.edit.util.ECPApplicableTester"/>
+ </appinfo>
</annotation>
</attribute>
</complexType>

Back to the top