Property Testers

Identifier:
org.eclipse.core.expressions.propertyTesters

Since:
3.0

Description:
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.

Configuration Markup:

<!ELEMENT extension (propertyTester*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT propertyTester EMPTY>

<!ATTLIST propertyTester

id         CDATA #REQUIRED

type       CDATA #REQUIRED

namespace  CDATA #REQUIRED

properties CDATA #REQUIRED

class      CDATA #REQUIRED>


Examples:
The following is an example of a property tester contribution:


  <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>

API Information:
The contributed class must extend org.eclipse.core.expressions.PropertyTester


Copyright (c) 2001, 2004 IBM Corporation and others.
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 https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0