Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin:Fix Bugzilla bug 160417-[regression][acceptance]SWTException when delete highlight rule in PropertyEditor

Summary Fix Bugzilla bug 160417-[regression][acceptance]SWTException when delete highlight rule in PropertyEditor

Bugzilla Bug (s) Resolved160417

Description
Under eclipse 3.3, after deleting the last highlight rule, the table in the highlights tab viewer will be disposed immediately. The "delete" method in highlightspage has a "finally" block in which "getSelectionIndex" method of the table is called and will cause the SWT exception. Fixed it by calling "isDisposed" method to check if the table has been disposed before any operation on the table.

The same problem in Mappage also fixed in the same way.

Tests Description Manual test and code review.

Notes to Build Team

Notes to Developers

Notes to QA

Notes to Documentation

Files Added



Files Edited

/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/page/HighlightsPage.java
/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/MapPage.java

 

Regards,

 

Hongchang Lin

Actuate Software (Shanghai)

86-21-58826388

 


Back to the top