[jbosstools-issues] [JBoss JIRA] (JBIDE-16920) Visual Preview: create refresh options

Konstantin Marmalyukov (JIRA) issues at jboss.org
Sat Apr 12 12:18:33 EDT 2014


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

Konstantin Marmalyukov edited comment on JBIDE-16920 at 4/12/14 12:18 PM:
--------------------------------------------------------------------------

After some discussions I think we should minimalize refresh options. How it should be for now:
- manual full page refresh
- refreshOnChange : full page refresh after document changed(enable/disable)
- refreshOnSave : full page refresh after document saved(enable/disable).
last two options cannot be enabled both.

Why we don't need partrefresh option: it will cause some mess and it works incorrect in some cases. The main goal of adding this option was making refresh faster, but full refresh works fast enough at least on Windows and Mac 10.8.
                
      was (Author: kmarmaliykov):
    After some discussions I think we should minimalize refresh options. How it should be for now:
- manual full page refresh
- refreshOnChange : full page refresh after document changed(enable/disable)
- refreshOnSave : full page refresh after document saved(enable/disable).
last two options cannot be enabled both.

Why we don't need partrefresh option: it will cause some mess and it works incorrect in some cases. The main goal of adding this option was making refresh faster, but full refresh works fast enough at least on Windows.
                  
> Visual Preview: create refresh options
> --------------------------------------
>
>                 Key: JBIDE-16920
>                 URL: https://issues.jboss.org/browse/JBIDE-16920
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: visual-page-editor-core
>            Reporter: Konstantin Marmalyukov
>            Assignee: Konstantin Marmalyukov
>             Fix For: 4.2.0.Beta2
>
>
> For preview we need to have different refresh options:
> - full page refresh *(already done)*
> - refreshOnType : full page refresh after document change(enable/disable).*(already done)*
> - refreshOnSave : full page refresh after document changed(enable/disable).
> - partRefresh : refresh only changed part of a document(enable/disable).
> NOTE: Either refreshOnType or refreshOnSave can be enabled(or none of them).

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