[jbosstools-issues] [JBoss JIRA] (JBIDE-14332) open cheatsheet on project import

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sat May 18 10:23:06 EDT 2013


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

Snjezana Peco commented on JBIDE-14332:
---------------------------------------

{quote}
Have a dialog that asks something like:

"Do you wish to open the cheatsheet for Project X ?

[ ] Remember this [Yes] [No]"
{quote}

I have added this feature and the corresponding preference  (Window>JBoss Tools>Project Examples).
The plugin opens the .cheatsheet.xml and cheatsheet.xml with the org.eclipse.pde.simpleCheatSheet content type.
 
{quote}
Special concern have to be done if users are importing multiple projects (wait until all is imported?) 
{quote}

Not sure what you mean by this. 
If a user opens more projects that include more cheatsheets, the plugin will collect all the cheatsheets and show a dialog. 
If the "Show included cheatsheet(s) when importing a new project" preference is set to "Never", the dialog won't be shown and the cheatsheet won't be opened.
If the preference is set to "Always", and, if there is only one cheatcheet, it will be opened automatically. If there are more cheatsheets, the dialog will be shown.
If the preference is set to "Prompt", the dialog will be shown.

{quote}
and what if users has just closed and now opening the project without an import ? Can we distinguish these two events ?
{quote}

I think we can't distinguish these two events. We can only listen to the ADDED resource change event. The event is the same when opening an existing project or importing/creating a new project.

                
> open cheatsheet on project import
> ---------------------------------
>
>                 Key: JBIDE-14332
>                 URL: https://issues.jboss.org/browse/JBIDE-14332
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: project-examples
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>             Fix For: 4.1.0.Beta1
>
>
> open cheatsheet when a project is imported.
> Have a dialog that asks something like:
> "Do you wish to open the cheatsheet for Project X ?
> [ ] Remember this          [Yes] [No]"
> Special concern have to be done if users are importing multiple projects (wait until all is imported?) and what if users has just closed and now opening the project without an import ? Can we distinguish these two events ?

--
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