Community
Participate
Working Groups
The org.eclipse.core.expressions.propertyTesters extension point provides a way to contribute your own property testers for enablement on object contributions or other extensions. You just define your own property tester, and add an enablement clause which uses a test of some sort like for nature: <and> <instanceof value="org.eclipse.core.resources.IProject"/> <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature"/> </and> This is what we need for facets because nature is no longer specific enough. This would allow us to hang options based on facets defined on the project.
Implemented. The name of the property is "org.eclipse.wst.common.project.facet.core.projectFacet". The value consists of a facet id followed by an optional version expression (separated by a colon). Here are some examples: "jst.web" "jst.web:2.2,2.3" "jst.web:<=2.3"
forgot to resolve
Verified. This, to me, is a major improvement in the ease of extending usage with facets. Thanks Kosta.