Community
Participate
Working Groups
We can provide a property page for the selected object(i.e. IFile ) through org.eclipse.ui.propertyPages extension ponint and we can set up 'filter' by its 'filter element'. i.e. we can filter it like : <filter name="nature" value="org.eclipse.jdt.core.javanature"> </filter> According to org.eclipse.ui.internal.dialogs.RegistryPageContributor#testCustom it checks the filter like : Map filterProperties = getFilterProperties(); if (filterProperties == null) return false; Iterator iter = filterProperties.keySet().iterator(); while (iter.hasNext()) { String key = (String) iter.next(); String value = (String) filterProperties.get(key); if (!filter.testAttribute(object, key, value)) return false; } } This looks like we can specify multiple 'filter's, but to 'pass' this test, all filters should return 'true'. But what I would like to see is 'either of filters are true, use this property page'. i.e. if I specify : <filter name="nature" value="org.eclipse.jdt.core.javanature"> </filter> <filter name="nature" value="org.eclipse.wst.common.modulecore.ModuleCoreNature"> </filter> my intention is that if the object has either a)org.eclipse.jdt.core.javanature or b) org.eclipse.wst.common.modulecore.ModuleCoreNature, use this property page for the selected IProject. .
There are no plans to work on this feature currently
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.