[jbosstools-issues] [JBoss JIRA] (JBIDE-17101) Avoid creating wizard widgets at dnd with Ctrl pressed

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri Apr 11 18:08:13 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich updated JBIDE-17101:
------------------------------------------

    Description: 
At dnd from Palette to page editor with Ctrl pressed, text to be inserted is generated without displaying wizard. The current solution is simple and reliable: create dialog, create all widgets in wisard, and call performFinish() without making the dialog visible. After text generation without creating UI in wizard is implemented in JBIDE-17084, implementation of dnd with Ctrl pressed should be switched to it to improve performance.
Comparing generation based on invisible dialog and generation based on wizard without UI shows that the time of generation is about 20 times less in the second case. 

  was:At dnd from Palette to page editor with Ctrl pressed, text to be inserted is generated without displaying wizard. The current solution is simple and reliable: create dialog, create all widgets in wisard, and call performFinish() without making the dialog visible. After text generation without creating UI in wizard is implemented in JBIDE-17084, implementation of dnd with Ctrl pressed should be switched to it to improve performance.


    
> Avoid creating wizard widgets at dnd with Ctrl pressed
> ------------------------------------------------------
>
>                 Key: JBIDE-17101
>                 URL: https://issues.jboss.org/browse/JBIDE-17101
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: common/jst/core, jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Beta2
>
>
> At dnd from Palette to page editor with Ctrl pressed, text to be inserted is generated without displaying wizard. The current solution is simple and reliable: create dialog, create all widgets in wisard, and call performFinish() without making the dialog visible. After text generation without creating UI in wizard is implemented in JBIDE-17084, implementation of dnd with Ctrl pressed should be switched to it to improve performance.
> Comparing generation based on invisible dialog and generation based on wizard without UI shows that the time of generation is about 20 times less in the second case. 

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