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

Bug 327496

Summary: MasterDetails: option to hide mandatory and error markers on new entries
Product: [RT] Riena Reporter: Elias Volanakis <elias>
Component: ridgetAssignee: Elias Volanakis <elias>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M2   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Elias Volanakis CLA 2010-10-11 21:40:08 EDT
Incoming requirement:  option to hide mandatory and error markers on new entries

When set to true, mandatory and error markers in the details area will initially not be shown on new and suggested entries (i.e. when the user invokes the 'New' action or the entry is suggested via the suggestNewEntry() methods). These markers will be displayed once the user modifies at least one value in the details area. 

The default setting for this option is false. 

Notes: 

- when IMasterDetailsDelegate.isValidMaster(IMasterDetailsRidget) fails a special marker is added to all ridgets. This marker is always shown regardless of the value of this option 
- when this options is enabled, the visual feedback for some markers will be disabled. However the markers are never removed or readded from the ridgets in the details area (to avoid ambiguity about the marker state of those ridgets)
Comment 1 Elias Volanakis CLA 2010-10-13 00:02:59 EDT
See IMasterDetailsRidget.setHideMandatoryAndErrorMarkersOnNewEntries(bool)

Resolved.