[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5729) After installing JBoss Tools, some project types can not be deleted

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Jan 25 19:57:19 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12508257#action_12508257 ] 

Snjezana Peco commented on JBIDE-5729:
--------------------------------------

Some actions are missing in the Project Explorer in any perspective.

The problem is caused by adding the following contributions to org.jboss.tools.seam.ui :

<actionProvider
       	class="org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider"
       	id="org.eclipse.ui.navigator.resources.NewActions"> 
       	<enablement> 
		<or>
			<adapt type="org.eclipse.core.resources.IResource" />	 
			<adapt type="java.util.Collection"> 
				<count value="0" />
			</adapt>
		</or>
         </enablement>
</actionProvider> 
...
<actionProvider
         class="org.eclipse.ui.internal.navigator.resources.actions.EditActionProvider"
         id="org.eclipse.ui.navigator.resources.actions.EditActions">         
	<enablement>
		<or>
			<adapt type="org.eclipse.core.resources.IFile" />	
       			<adapt type="org.eclipse.core.resources.IProject" /> 
		</or>
         </enablement>
</actionProvider>     
<actionProvider
         class="org.eclipse.ui.internal.navigator.resources.actions.RefactorActionProvider"
         id="org.eclipse.ui.navigator.resources.actions.RefactorActions">
	<enablement>
		<or>
			<adapt type="org.eclipse.core.resources.IFile" />	
       			<adapt type="org.eclipse.core.resources.IProject" /> 
		</or>
         </enablement>
</actionProvider>

They are copied from the org.eclipse.ui.navigator.resources plugin. I suppose Alexey Kazakov knows the reason why these contribution have been added.


> After installing  JBoss Tools, some project types can not be deleted
> --------------------------------------------------------------------
>
>                 Key: JBIDE-5729
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5729
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.1.0.CR1
>         Environment: Windows XP Professional SP3
> java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
> Eclipse Java EE 3.5.1 (Galileo SR1)
>            Reporter: David Balažic
>            Assignee: Snjezana Peco
>             Fix For: 3.1.0.CR2
>
>         Attachments: jbosstools.PNG
>
>
> After installing JBoss Tools*, there is no more a "Delete" item in the context menu of some projects in Project explorer.
> Example:
>  - an "Enterprise Application Project" has no more a Delete item in its context menu ("Java EE" perspective)
> Also there is no more a New submeni item in the context menu, noo matter what is clicked:
>  - nothing is selected
>  - a project
>  - a directory folder
>  - a .java file
> * - Installed today from http://download.jboss.org/jbosstools/updates/development/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list