You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2007/03/29 14:49:25 UTC

[jira] Closed: (UIMA-364) CDE add type button and other actions broken

     [ https://issues.apache.org/jira/browse/UIMA-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-364.
-------------------------------

    Resolution: Fixed

> CDE add type button and other actions broken
> --------------------------------------------
>
>                 Key: UIMA-364
>                 URL: https://issues.apache.org/jira/browse/UIMA-364
>             Project: UIMA
>          Issue Type: Bug
>          Components: Eclipse plugins
>    Affects Versions: 2.1
>            Reporter: Marshall Schor
>         Assigned To: Marshall Schor
>             Fix For: 2.2
>
>
> Users reporting the add new type button doesn't do anything.  Another user reported problems with Edit button.  Cause traced to a different ordering in some cases of when widgets are created and handlers are called, probably caused by the changes done when migrating to Apache.  Each dialog has 2 areas: the main contents, and the button bar at the bottom with OK and Cancel.  The order of widget construction seems to be 1st: main contents, and 2nd: button bar.  If the main contents sets some fields which causes the "handlers" to run for UI events, the button bar OK button is getting enable/disabled according to dialog logic, but it hasn't even been instantiated yet.  Fix is to check button bar OK button exists before calling enableOK methods.  
> In the process, refactoring the code slightly to move this logic to a common spot in super class where possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.