Author: scabanovich
Date: 2011-03-08 18:40:12 -0500 (Tue, 08 Mar 2011)
New Revision: 29634
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-8336
https://issues.jboss.org/browse/JBIDE-8336
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2011-03-08 23:14:43 UTC (rev
29633)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2011-03-08 23:40:12 UTC (rev
29634)
@@ -204,6 +204,15 @@
<instanceof value="org.jboss.tools.seam.core.ISeamElement" />
</or>
</possibleChildren>
+ <actionProvider
+
class="org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider"
+ id="org.jboss.tools.seam.ui.views.actions.NewActionProvider.root">
+ <enablement>
+ <or>
+ <instanceof value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </actionProvider>
<actionProvider
class="org.eclipse.ui.internal.navigator.resources.actions.EditActionProvider"
id="org.jboss.tools.seam.ui.resources.actions.EditActions">
@@ -239,7 +248,97 @@
<enablement>
</enablement>
</actionProvider>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizards.SeamProjectWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamActionWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+
wizardId="org.jboss.tools.seam.ui.wizard.SeamConversationWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamEntityWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamFormWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+
wizardId="org.jboss.tools.seam.ui.wizard.SeamGenerateEnitiesWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
<commonWizard
type="new"
wizardId="org.eclipse.ui.wizards.new.folder">
@@ -252,7 +351,8 @@
<instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
</or>
</enablement>
- </commonWizard>
+ </commonWizard>
+
<commonWizard
menuGroupId="org.eclipse.jdt.ui.java"
type="new"
@@ -329,6 +429,15 @@
<instanceof value="org.jboss.tools.seam.core.ISeamElement" />
</or>
</possibleChildren>
+ <actionProvider
+
class="org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider"
+ id="org.jboss.tools.seam.ui.views.actions.NewActionProvider.root">
+ <enablement>
+ <or>
+ <instanceof value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </actionProvider>
<actionProvider
class="org.jboss.tools.seam.ui.views.actions.SeamActionProvider"
id="org.jboss.tools.seam.ui.views.actions.SeamActionProvider">
@@ -344,6 +453,97 @@
<enablement>
</enablement>
</actionProvider>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizards.SeamProjectWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamActionWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+
wizardId="org.jboss.tools.seam.ui.wizard.SeamConversationWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamEntityWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+ wizardId="org.jboss.tools.seam.ui.wizard.SeamFormWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
+ <commonWizard
+ menuGroupId="org.jboss.tools.seam.ui"
+ type="new"
+
wizardId="org.jboss.tools.seam.ui.wizard.SeamGenerateEnitiesWizard">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile" />
+ <adapt type="org.eclipse.core.resources.IFolder" />
+ <adapt type="org.eclipse.core.resources.IProject" />
+ <adapt type="org.eclipse.core.resources.IWorkspaceRoot"
/>
+ <instanceof
value="org.jboss.tools.seam.core.ISeamElement"/>
+ </or>
+ </enablement>
+ </commonWizard>
+
</navigatorContent>
</extension>