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

Bug 332328

Summary: [api] extend AttributeEditorToolkit to support control decorations for validation
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Thomas Ehrnhoefer <thomas.ehrnhoefer>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: contributed
Version: unspecified   
Target Milestone: 3.5   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 242430, 329577    
Attachments:
Description Flags
patch v1
steffen.pingel: iplog+, thomas.ehrnhoefer: review?
mylyn/context/zip none

Description Steffen Pingel CLA 2010-12-10 13:12:06 EST
Add a utility method to AttributeEditorToolkit to support validation (see bug bug 329561): createValidator(AbstractAttributeEditor, Control control, IInputValidator) . The decoration should use the error message returned by the input validator.
Comment 1 Thomas Ehrnhoefer CLA 2010-12-10 13:34:05 EST
Created attachment 184972 [details]
patch v1

extracted validator creation
Comment 2 Thomas Ehrnhoefer CLA 2010-12-10 13:34:37 EST
Created attachment 184973 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-12-10 14:50:08 EST
Thanks! Patch applied.