[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6608) Ability to remove drools nature from project
Brian Fitzpatrick (JIRA)
jira-events at lists.jboss.org
Tue Aug 10 11:28:49 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12544015#action_12544015 ]
Brian Fitzpatrick commented on JBIDE-6608:
------------------------------------------
The Configure menu move is easy... I agree that moving the Convert to Drools Project menu under Config makes sense.
An example of how to do that is in the Struts UI plug-in xml...
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
...
<action
class="org.jboss.tools.struts.ui.internal.action.AddStrutsNatureActionDelegate"
enablesFor="1"
icon="$nl$/images/xstudio/actions/add_struts_nature.gif"
id="org.jboss.tools.struts.ui.action.AddStrutsNatureActionDelegate"
label="%popupMenus.action.addStrutsNature"
menubarPath="org.eclipse.ui.projectConfigure/additions">
</action>
</objectContribution>
...
</extension>
But I have to wonder about removing the Drools nature... Looking at the Config menu there doesn't seem to be a way to remove other project natures or facets directly there - you're adding functionality or configuring a project to work for a particular technology, but not really removing anything.
You can however, as Max mentioned, remove a facet after it's been configured. Kris, do you want to look into defining a Drools facet that would be configured instead of the project nature? It would by default then have a way to (in the project properties) remove the facet if they wanted to "un"-configure it.
Perhaps we spin that off into a separate JIRA and for now just move the Convert to Drools Project under the Config menu ?
> Ability to remove drools nature from project
> --------------------------------------------
>
> Key: JBIDE-6608
> URL: https://jira.jboss.org/browse/JBIDE-6608
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: drools
> Affects Versions: 3.1.0.GA
> Reporter: Libor Zoubek
> Assignee: Kris Verlaenen
> Fix For: 3.2.0.Beta
>
>
> Regarding to http://community.jboss.org/message/552490 at this time, there is no possibility to remove drools "nature" (as it is probably not the nature in sense of eclipse nature)
> We should be able to remove drools from project. Menu item 'Convert to drools project' should be called 'Add drools nature' and when a project has a drools nature it should be called 'Remove drools nature'.
> Maybe it would be good, not to have 'Convert to drools project' menu item in main context menu, but move it into 'Configure' submenu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list