[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7462) Replace overriding of isEnabled() by setEnabled(Object) for VPE command handlers

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Fri Oct 29 11:07:56 EDT 2010


Replace overriding of isEnabled() by setEnabled(Object) for VPE command handlers
--------------------------------------------------------------------------------

                 Key: JBIDE-7462
                 URL: https://jira.jboss.org/browse/JBIDE-7462
             Project: Tools (JBoss Tools)
          Issue Type: Task
          Components: Visual Page Editor core
    Affects Versions: 3.2.0.M1
            Reporter: Yahor Radtsevich
            Assignee: Yahor Radtsevich
             Fix For: 3.2.0.M2


It is more correct to override setEnabled(Object) in the command handler than isEnabled(). Or if setEnabled(Object) is not overriden, at least keep in mind that some events may be skipped. See for example JBIDE-7430.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list