Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 228830

Summary: Provide canExport() API
Product: z_Archived Reporter: Zhiqiang Qian <zqian>
Component: BIRTAssignee: Rick Lu <rlu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rlu, xiong.zhang
Version: 2.3.0Keywords: plan
Target Milestone: 2.3.0 RC1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 176543    

Description Zhiqiang Qian CLA 2008-04-25 03:15:20 EDT
To support export single element/structure to handle, need model provide canExport() api to check if current element/structure can be exported. For some elements like group, cell, row it doesn't make sense to export them to library.
Comment 1 Rick Lu CLA 2008-04-25 04:36:46 EDT
Provided canExport() for StructureHandle and DesignElementHandle. The return value  is a boolean.
Comment 2 Rick Lu CLA 2008-05-06 22:18:11 EDT
Provided canExport() for DesignElementHandle/StructureHandle in ElementExportUtil.
Comment 3 Frank Zhang CLA 2008-05-08 06:49:18 EDT
We must pass a library to API canExport(), it means that it's dependent. But in fact some elements are always cannot be exported, such as cell, etc.
Could you support this?

Zhiqiang, please help me REOPEN it, for I have no permission.
Comment 4 Zhiqiang Qian CLA 2008-05-08 21:49:06 EDT
Yes, We also need library independent check API for Element export.
Comment 5 Rick Lu CLA 2008-05-11 22:33:30 EDT
Added 2 new methods of canExport() in ElementExportUtil.