schema.propertyTesters.exsd Maven / Gradle / Ivy
This extension point allows to add properties to an already existing type. Those
properties can then be used inside the expression language's test expression
element.
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
unique identifier for the property tester
the type to be extended by this property tester
a unique id determining the name space the properties are added to
a comma separated list of properties provided by this property tester
the name of the class that implements the testing methods. The class must be public and extend
<samp>org.eclipse.core.expressions.PropertyTester</samp> with a public 0-argument constructor.
3.0
The following is an example of a property tester contribution:
<p>
<pre>
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
id="org.eclipse.jdt.ui.IResourceTester"
type="org.eclipse.core.resources.IResource"
namespace="org.eclipse.jdt.ui"
properties="canDelete"
class="org.eclipse.jdt.ui.internal.ResourceTester">
</propertyTester>
</extension>
</pre>
</p>
The contributed class must extend <code>org.eclipse.core.expressions.PropertyTester</code>
Copyright (c) 2001, 2004 IBM Corporation and others.<br>
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
SPDX-License-Identifier: EPL-2.0