Commit 90e9f8ec authored by Adam Knapp's avatar Adam Knapp
Browse files

Label updates of some UI elements


Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent 66b8ca19
......@@ -735,7 +735,7 @@
<page
id="org.eclipse.titan.designer.preferences.pages.ShowMatchingBracketPage"
class="org.eclipse.titan.designer.preferences.pages.ShowMatchingBracketPage"
name="Bracket matching options"
name="Bracket matching preferences"
category="org.eclipse.titan.designer.preferences.pages.TITANPreferencePage" />
<page
id="org.eclipse.titan.designer.preferences.pages.MarkOccurrencesPage"
......
......@@ -11,6 +11,7 @@ import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.ColorFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.swt.widgets.Control;
import org.eclipse.titan.designer.Activator;
import org.eclipse.titan.designer.preferences.PreferenceConstants;
import org.eclipse.ui.IWorkbench;
......@@ -26,8 +27,8 @@ import org.eclipse.ui.IWorkbenchPreferencePage;
public final class ShowMatchingBracketPage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
static final String DESCRIPTION = "Preferences for the editor's matching brackets";
static final String HIGHLIGHT_MATCHING_BRACKETS = "Highlight matching brackets";
static final String MATCHING_BRACKETS_COLORING = "Enable colorizing of matching brackets (EXPERIMENTAL)";
static final String COLOR = "color:";
static final String MATCHING_BRACKETS_COLORING = "Enable coloring of matching brackets (EXPERIMENTAL)";
static final String COLOR = "Color:";
private boolean isEnabled;
private ColorFieldEditor matchingBracketColor;
......@@ -61,6 +62,8 @@ public final class ShowMatchingBracketPage extends FieldEditorPreferencePage imp
addField(matchingBracketColor);
enableBracketColoring = new BooleanFieldEditor(PreferenceConstants.BRACKET_COLORING_ENABLED, MATCHING_BRACKETS_COLORING,
getFieldEditorParent());
final Control text = enableBracketColoring.getDescriptionControl(getFieldEditorParent());
text.setToolTipText("The semantic highlighting must be enabled to have effect of this preference");
addField(enableBracketColoring);
bracketColor0 = new ColorFieldEditor(PreferenceConstants.BRACKET_COLOR_FOREGROUND_0, "Bracket color level 1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment