Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Decorating section of form fields
Decorating section of form fields [message #1764180] Fri, 26 May 2017 13:05
Alex Kravets is currently offline Alex KravetsFriend
Messages: 528
Registered: November 2009
Senior Member
I am utilizing ControlDecorationSupport to decorate fields that fail my validation. This works fine for the fields that have validator attached to their data-binding. As an added bonus the Section under which fields are positioned get decorations as well, which is really helpful. However, these decorator are visible while section is not expanded. Once I expand the section, their decorators are hidden. The only time they are visible again is when form is redrawn. Below is example of what I mean. As you can see 'Target' section is not decorated, even though it has fields that contain errors. How can I refresh section's decorator when its expand state changes?

https://image.ibb.co/i2ynsa/validation.png

Lastly, is there something in place already for Forms data-binding that would aggregate all the errors that were raised by validators into Message Manager without writing additional code?

https://www.eclipse.org/articles/Article-Forms33/images/msgman-tooltip.png

Thanks,
Alex
Previous Topic:Changing background color of XtextEditor programmatically
Next Topic:Clean/Rebuild workspace on startup
Goto Forum:
  


Current Time: Wed Jun 20 15:37:41 GMT 2018

Powered by FUDForum. Page generated in 0.01561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top