• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Change notification for org.eclipse.ui.forms.SectionPart

Working with org.eclipse.ui.forms.SectionPart, how do I catch changes for any control?
I have many buttons and text boxes in the part, if any (it doesn't matter which) is modified I need to set the dirty flag, how do I do this without attaching a listener to each control?
0
Fridman
Asked:
Fridman
1 Solution
 
FridmanAuthor Commented:
As I was afraid, there is no option but to add listeners to all controls. I created listeners for Button, Combo and Text, looped over all section children (getChildern, returns Control[]), and accordign to tye (instanceof...) added the required listener.
0
 
Vee_ModCommented:
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now