Summary
Fix Bugzilla bugs: 167526-Choosen style should not be changed when disable
existed border [0300][00];
168005-Undo the
selection of all borders cause an NPE
Bugzilla Bug (s) Resolved 167526,168005
Description
167526: After pressing the border toggle button, comparing the selected styles
with border's current styles, if they are different, apply the seleted styles
onto border.
168005: Select all the
borders is implemented as selecting top, bottom, left, right border in sequence.
Put these four selections into an command stack transaction. Besides, fixed a
possbile NPE in BorderCanvas.painControl and BorderCanvas.drawLine
Tests Description Manual test and code review
Notes to Build Team
Notes to Developers
Notes to QA
Notes to Documentation
Files Edited
/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/BorderPropertyDescriptor.java
/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/BorderCanvas.java
Files Added
Files Deleted
Hongchang Lin