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

Bug 323677

Summary: IMasterDetailsDelegate - need prepareItemApplied(...) method
Product: [RT] Riena Reporter: Elias Volanakis <elias>
Component: ridgetAssignee: Project Inbox <riena.core-inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: platinas.hy
Version: unspecified   
Target Milestone: 2.1.0.M1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Elias Volanakis CLA 2010-08-26 02:14:44 EDT
The following requirement has been expressed:

A method that is executed at the beginning of the apply operation in the MasterDetailsRidget. It has been suggested to add a method prepareItemApplied() (similar to prepareItemSelected()) to the delegate.
Comment 1 Elias Volanakis CLA 2010-08-26 02:51:52 EDT
Resolved.
Comment 2 Patrick He CLA 2010-08-26 20:24:53 EDT
Just a question here, is it possible that this prepareItemApplied() method can reject the item to be actually applied? 

Currently the delegate.isValid() method is called to check if the item can be applied. However as a multi-tier application, for example, sometimes maybe the client think the object "is valid" but we cannot apply it for some other reason? Cases may be to attach some listener to it and allow listeners to reject apply action. So we do not want the copyBean() method to be called.
Comment 3 Elias Volanakis CLA 2010-08-27 12:31:36 EDT
Reopening to consider addtl. req.
Comment 4 Elias Volanakis CLA 2011-08-03 14:36:59 EDT
Reassigning to default assignee.