Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: fix bugs 181452 Model Changes - Support Report item share data binding

- Summary:

Make report item share data binding by the name. If the data binding reference property is set, it takes high priority than local values. Column bindings, filters, sorts, parameter bindings can be shared among report items by data binding reference.

- Bugzilla Bug (s) Resolved: 181452

- Description:

1. added a databindingRef property in ROM, codes.

2. changed ReferencableElement from a class to an interface. Code refactor for this change.

3. changed property search algorithm for report item.

4. added new test cases.

- Tests Description :

JUnit test

- Files Edited:

/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ClientsDerivedIteratorTest.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportItemHandleTest.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/NameCommandTest.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/core/golden/ImagePropsTest_golden.txt
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/core/golden/TableItemPropsTest_golden.txt
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/DataItemParseTest.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/golden/DataItemParseTest_golden.xml
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/input/DataItemParseTest.xml
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ClientIterator.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportItemHandle.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/AbstractLibraryRecord.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/AbstractPropertyCommand.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ElementBackRefRecord.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ElementRefRecord.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/NameSpaceRecord.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyCommand.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/CachedMemberRef.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/ReferenceableElement.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Structure.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/ReportItem.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/interfaces/IReportItemModel.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/rom.def
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/strategy/ReportItemPropSearchStrategy.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/i18n/Messages.properties
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/ElementRefValue.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ModuleParserHandler.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ReportElementState.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/SimplePropertyListState.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReferenceValueUtil.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java



- Files Added:

/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/input/ReportItemHandleTest_2.xml
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/IReferencableElement.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/ReferencableStyledElement.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/ReferenceableElementAdapter.java



- Files Deleted:



- Notes to Build Team:


- Notes to Developers:



- Notes to QA:



- Notes to Documentation:

 

Rick Lu
Actuate Software Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx


Back to the top