1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 339294 - Message Pattern should not be user-configurable. Patch by Alex Ruiz.

This commit is contained in:
Sergey Prigogin 2011-03-23 02:49:06 +00:00
parent c42f42cb81
commit 1b982e0418

View file

@ -89,8 +89,8 @@ public class ParametersComposite extends Composite {
/*
* Here we are doing 2 things to make a text control "uneditable":
* 1. 'setUneditable(false)' the problem with with just doing this is that
* the background of the text control doesn't change, and it looks like
* an editable one. This is confusing to the user.
* the background of the text control doesn't change, and it looks like
* an editable one. This is confusing to the user.
* 2. Getting the background of a label control and applying it
* to the "uneditable" text control. This way it is easier to figure out that
* the contents of the text control cannot be changed.