Issue Details (XML | Word | Printable)

Key: UIMA-364
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marshall Schor
Reporter: Marshall Schor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
UIMA

CDE add type button and other actions broken

Created: 29/Mar/07 12:43 PM   Updated: 29/Mar/07 12:47 PM
Return to search
Component/s: Eclipse plugins
Affects Version/s: 2.1
Fix Version/s: 2.2

Time Tracking:
Not Specified

Resolution Date: 29/Mar/07 12:47 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.