Project: Birt
Bug 223608 Check the API canDrop of the DesignElementHandl
Reported: 2008-03-24 01:10:27 | Status: verified fixed

1:new a library, add a crosstab to the library, and add a label to the cell(Row 1, Column 1). 2:new a reportdesign, add use the crostab from the library. 3:Copy the crosstab in the reportdesign, then paste the crosstab. 4:Select the label(Row 1, Column 1) in the paste crosstab. Actual result: The lable can be deleted. Expected reslt: The lable cann't be deleted.

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/util/CopyUtilTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/ExtendedItem.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/strategy/CopyForPastePolicy.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/DummyPeerExtensibilityProvider.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/SimplePeerExtensibilityProvider.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/copy/ContextCopiedElement.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/copy/ContextCopyPastePolicy.java