Binary file org.symbian.tools.wrttools/icons/import_aptana_project.gif has changed
--- a/org.symbian.tools.wrttools/plugin.xml Tue Feb 09 17:49:53 2010 -0800
+++ b/org.symbian.tools.wrttools/plugin.xml Tue Feb 09 18:33:04 2010 -0800
@@ -167,7 +167,7 @@
<wizard category="org.symbian.tools.wrttools.core.category"
class="org.symbian.tools.wrttools.wizards.AptanaProjectsImportWizard"
finalPerspective="org.symbian.tools.wrttools.mainPerspective"
- hasPages="true" icon="icons/main16.gif"
+ hasPages="true" icon="icons/import_aptana_project.gif"
id="org.symbian.tools.wrttools.newImportAptanaProject" name="Import Aptana IDE WRT Project"
project="true">
</wizard>
@@ -242,7 +242,7 @@
</category>
<wizard category="org.symbian.tools.wrttools.import"
class="org.symbian.tools.wrttools.wizards.AptanaProjectsImportWizard"
- icon="icons/main16.gif" id="org.symbian.tools.wrttools.import.aptanaImport"
+ icon="icons/import_aptana_project.gif" id="org.symbian.tools.wrttools.import.aptanaImport"
name="Aptana IDE WRT Project">
</wizard>
<wizard
@@ -399,6 +399,23 @@
</or>
</possibleChildren>
<actionProvider
+ class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorViewActionProvider"
+ id="org.eclipse.wst.jsdt.ui.navigator.actions.ViewActions">
+ <enablement>
+ <or>
+ <instanceof
+ value="org.eclipse.core.resources.IWorkspaceRoot">
+ </instanceof>
+ <adapt
+ type="java.util.Collection">
+ <count
+ value="0">
+ </count>
+ </adapt>
+ </or>
+ </enablement>
+ </actionProvider>
+ <actionProvider
class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorActionProvider"
id="org.eclipse.wst.jsdt.ui.navigator.actions.StandardActions">
<!-- <enablement>
@@ -433,8 +450,35 @@
<actionProvider
class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorRefactorActionProvider"
id="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions"
- overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions"
- priority="high">
+ overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
+ <enablement>
+ <or>
+ <and>
+ <instanceof
+ value="org.eclipse.core.resources.IProject">
+ </instanceof>
+ <test
+ property="org.eclipse.core.resources.projectNature"
+ value="org.symbian.tools.wrttools.WidgetProjectNature">
+ </test>
+ </and>
+ <instanceof
+ value="org.eclipse.wst.jsdt.core.IJavaScriptElement">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.wst.jsdt.core.IJarEntryResource">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.wst.jsdt.internal.ui.packageview.PackageFragmentRootContainer">
+ </instanceof>
+ <adapt
+ type="java.util.Collection">
+ <count
+ value="0">
+ </count>
+ </adapt>
+ </or>
+ </enablement>
</actionProvider>
<actionProvider
class="org.eclipse.wst.jsdt.internal.ui.navigator.PackageExplorerOpenActionProvider"