[jbosstools-issues] [JBoss JIRA] (JBIDE-12580) Explorer is not refreshed while deleting the domain if you close and reopen OpenShift Explorer

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Sep 11 06:12:33 EDT 2012


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

Andre Dietisheim edited comment on JBIDE-12580 at 9/11/12 6:10 AM:
-------------------------------------------------------------------

The cause is that most actions simply trigger a refresh of the OpenShift Explorer view. These actions keep a reference to the view they shall refresh. If you close the view and reopen it, you'll get a new view, the reference is pointing to a view that was disposed. 
The actions should trigger a refresh in MVC manner: make the model fire a change event. The new view would then react to it and refresh itself. The current implementation has UserModel#fireUserChange(user) for this sake.
                
      was (Author: adietish):
    The cause is that most actions simply trigger a refresh of the OpenShift Explorer view. These actions keep a reference to the view they shall refresh. If you close the view and reopen it, you'll get a new view, the reference is pointing to a view that was disposed. 
The actions should trigger a refresh in MVC manner: make the model fire a change event. The new view would then react to it and refresh itself.
                  
> Explorer is not refreshed while deleting the domain if you close and reopen OpenShift Explorer
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12580
>                 URL: https://issues.jboss.org/browse/JBIDE-12580
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Andre Dietisheim
>            Assignee: Xavier Coulon
>            Priority: Minor
>             Fix For: 4.0.x
>
>         Attachments: widget-disposed.png
>
>


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