1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics

This commit is contained in:
Sergey Prigogin 2013-01-09 17:26:55 -08:00
parent 33514e1c84
commit e31ae8e676

View file

@ -257,7 +257,6 @@ public class LanguageSettingEntryDialog extends AbstractPropertyDialog {
pcindex = COMBO_PATH_INDEX_PROJECT; pcindex = COMBO_PATH_INDEX_PROJECT;
} }
} }
} }
comboPathCategory.setText(pathCategories[pcindex]); comboPathCategory.setText(pathCategories[pcindex]);
gd = new GridData(SWT.FILL, SWT.NONE, false, false); gd = new GridData(SWT.FILL, SWT.NONE, false, false);
@ -372,7 +371,7 @@ public class LanguageSettingEntryDialog extends AbstractPropertyDialog {
} }
}); });
// Checkbox "Framework" // Checkbox "Framework folder"
checkBoxFramework = new Button(compCheckboxes, SWT.CHECK); checkBoxFramework = new Button(compCheckboxes, SWT.CHECK);
checkBoxFramework.setText(Messages.LanguageSettingEntryDialog_FrameworkFolder); checkBoxFramework.setText(Messages.LanguageSettingEntryDialog_FrameworkFolder);
checkBoxFramework.setSelection(entry != null && (entry.getFlags() & ICSettingEntry.FRAMEWORKS_MAC) != 0); checkBoxFramework.setSelection(entry != null && (entry.getFlags() & ICSettingEntry.FRAMEWORKS_MAC) != 0);
@ -398,7 +397,7 @@ public class LanguageSettingEntryDialog extends AbstractPropertyDialog {
compButtons.setLayoutData(gd); compButtons.setLayoutData(gd);
compButtons.setLayout(new GridLayout(4, false)); compButtons.setLayout(new GridLayout(4, false));
// placeholder // Placeholder
Label placeholder = new Label(compButtons, 0); Label placeholder = new Label(compButtons, 0);
placeholder.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL)); placeholder.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL));
@ -585,7 +584,8 @@ public class LanguageSettingEntryDialog extends AbstractPropertyDialog {
} }
} else if (e.widget.equals(buttonVars)) { } else if (e.widget.equals(buttonVars)) {
str = AbstractCPropertyTab.getVariableDialog(shell, cfgDescription); str = AbstractCPropertyTab.getVariableDialog(shell, cfgDescription);
if (str != null) inputName.insert(str); if (str != null)
inputName.insert(str);
} }
} }
@ -611,5 +611,4 @@ public class LanguageSettingEntryDialog extends AbstractPropertyDialog {
buttonBrowse.setImage(pathCategoryImages[indexPathKind]); buttonBrowse.setImage(pathCategoryImages[indexPathKind]);
} }
} }