[jbosstools-issues] [JBoss JIRA] (JBIDE-12743) Forge tools should add new projects created with forge to the current working set(s)

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 7 08:23:18 EST 2012


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

Max Rydahl Andersen commented on JBIDE-12743:
---------------------------------------------

My intuition says we add it to current working set if such is activated by default to avoid being prompted, but I'm not sure how we can actually know which of potentially many workingsets there is.

So how about this:

if workingsets.isNotEmpty() {
    if (defaultws!=null) {
         defaultws.add(newproject);
     } else {
        defaultws = askUserForWhichWorkingSetToUse(defaultws);  // has a "don't show this dialog again" which will remember the choice 
     }
}

Making it only prompt if you actually have workingsets and you can tell it which workingset if any you want to put things in.

Would need a "reset dialog" prefs exposed in forge settings.

moving off untriaged to next versions.
                
> Forge tools should add new projects created with forge to the current working set(s)
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12743
>                 URL: https://issues.jboss.org/browse/JBIDE-12743
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: forge
>    Affects Versions: 4.0.0.Alpha1
>            Reporter: Lincoln Baxter III
>            Assignee: Koen Aers
>            Priority: Minor
>             Fix For: 4.0.x, 4.1.0.Alpha1
>
>
> It would be nice if new projects created with forge were added to the current working set automatically (or prompted for one,) so that it doesn't look like the project is "missing" upon creation when working in a working set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list