Community
Participate
Working Groups
From bug 234351. Using the new plug-in project wizard, generate a new project using the 'with property page' template. The plugin.xml will contain something similar to the following <extension point="org.eclipse.ui.propertyPages"> <page objectClass="org.eclipse.core.resources.IFile" name="Sample Page" nameFilter="*.*" class="test3.properties.SamplePropertyPage" id="test3.properties.samplePropertyPage"> </page> </extension> The objectClass element is deprecated. We shouldn't have a template that uses deprecated code as an example for new users.
Marking as bug day as it should be a simple fix. Also marking as 3.4 RC3, as this would be a good polish item for 3.4.
Not a stop ship issue. We will look at 3.5 This is a bit tricky because this was deprecated in 3.3... so we need special logic in our template to accommodate this. The fix would be to do something like this instead of objectClass... <enabledWhen> <instanceof value="org.eclipse.core.resources.IFile"> </instanceof> </enabledWhen>
Right up your alley Benjamin ;)?
okidokie ;)
Created attachment 116874 [details] patch
Thanks Benjamin, you rock!
Created attachment 117009 [details] mylyn/context/zip