Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 275273 - Request for new API methods of DesignElementHandle
Summary: Request for new API methods of DesignElementHandle
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.5.0 RC1   Edit
Assignee: Yueqian Wang CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard: Autoed
Keywords:
Depends on:
Blocks: 191445
  Show dependency tree
 
Reported: 2009-05-07 04:49 EDT by Xiaoxiao Wu CLA
Modified: 2009-05-19 06:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaoxiao Wu CLA 2009-05-07 04:49:40 EDT
Build ID: I20090430-2300

Currently in the property binding page, we need to save and read out the PropertyBinding value as Expression to the DesignElementHandle. So we expect Model to add a new method to save a pair of name(String)/expression(Expression) to the DesignElementHandle instance, which is corresponding to the existing method setPropertyBinding(String propName, String value). A method to obtain the Expression by a given property name string is also needed.
Comment 1 Rick Lu CLA 2009-05-07 05:08:55 EDT
Please add two methods:

public void setPropertyBinding( String propName, Expression value )
public Expression getPropertyBindingExpression( String propName)

in the DesignElementHandle and deprecates the current methods.
Comment 2 Yueqian Wang CLA 2009-05-12 02:02:52 EDT
two methods added:

public void setPropertyBinding( String propName, Expression value )
public Expression getPropertyBindingExpression( String propName)

two methods deprecated:

public void setPropertyBinding( String propName, String value )
public String getPropertyBinding( String propName)

Add new test case for new API.
Comment 3 Maggie Shen CLA 2009-05-19 06:12:54 EDT
verified on May 19.