Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Structure enhancement, revised codes accordingly.

- Summary:

For the structure, adds the structure context to make structures work like elements so that we can reduce the usage of CachedMemberRef and MemberRef. CachedMemberRef causes many problems like bug 194843 and 190732.

This is the first step of code reorganization. The next step is to remove CachedMemberRef and MemberRef. Will be done later.

- Bugzilla Bug (s) Resolved: N/A

- Description:

1. added the StructureContext to the Structure.

2. changed command and records accordingly.

3. revised the parser.

4. updated test cases.

- Tests Description :

JUnit/Manual test

- Files Edited:

/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/PropertyHandleTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/StructureHandleTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/core/StyleElementTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/core/StyledElementTest.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/api/ClientIterator.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/AbstractPropertyCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/BackRefRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ComplexPropertyCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ContentCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ContentElementCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ElementBackRefRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/MemberRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/NameSpaceRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/PropertyListRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/PropertyRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/PropertyReplaceRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/StructBackRefRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/BackRef.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/CachedMemberRef.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/IReferencableElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/ReferencableStructure.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/ReferencableStyledElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/ReferenceableElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/ReferenceableElementAdapter.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/Structure.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/CompatibleComputedColumnStructureState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/CompatibleGroupBoundColumnsState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/CompatibleOdaDriverPropertyStructureListState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/CompatibleStructureState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/ExtendedPropertyState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/IncludedCssStyleSheetListState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/IncludedLibrariesStructureListState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/ListPropertyState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/SimpleStructureListState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/StructureState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/UserPropertyStructureState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/util/ReferenceValueUtil.java



- Files Added:

/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/StructureContext.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