eclipse plugin: Use 'enabledWhen' instead of the deprecated 'objectClass'...

...attribute for the wesnoth project page
This commit is contained in:
Timotei Dolean 2011-06-21 07:39:11 +00:00
parent 58e0c3e79c
commit 55c57b5244

View File

@ -807,8 +807,11 @@
class="org.wesnoth.propertypages.WesnothProjectPage"
icon="icons/wesnoth-icon_16.png"
id="org.wesnoth.propertyPages.wesnothProject"
name="Wesnoth Project"
objectClass="org.eclipse.core.resources.IProject">
name="Wesnoth Project">
<enabledWhen>
<instanceof
value="org.eclipse.core.resources.IProject">
</instanceof></enabledWhen>
</page>
</extension>
</plugin>