mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 15:53:58 +02:00
fix method spelling "verbage" to "verbiage"
This commit is contained in:
parent
3769d89efc
commit
21d998ba3c
11 changed files with 19 additions and 19 deletions
|
@ -120,7 +120,7 @@ public class SystemProfileForm
|
||||||
// VERBAGE LABEL
|
// VERBAGE LABEL
|
||||||
if (showVerbage)
|
if (showVerbage)
|
||||||
{
|
{
|
||||||
verbage = SystemWidgetHelpers.createVerbage(
|
verbage = SystemWidgetHelpers.createVerbiage(
|
||||||
composite_prompts, SystemResources.RESID_PROFILE_PROFILENAME_VERBAGE, nbrColumns, false, 200);
|
composite_prompts, SystemResources.RESID_PROFILE_PROFILENAME_VERBAGE, nbrColumns, false, 200);
|
||||||
SystemWidgetHelpers.createLabel(composite_prompts, "", nbrColumns); // dummy line for spacing
|
SystemWidgetHelpers.createLabel(composite_prompts, "", nbrColumns); // dummy line for spacing
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,16 +320,16 @@ public class SystemWidgetHelpers {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a widget for displaying text verbage that spans multiple lines. Takes resolved text vs resource bundle id.
|
* Creates a widget for displaying text verbiage that spans multiple lines. Takes resolved text vs resource bundle id.
|
||||||
* The returned widget is not typed so we can easily change it in the future if we decide on a better widget.
|
* The returned widget is not typed so we can easily change it in the future if we decide on a better widget.
|
||||||
* @param parent Composite to put the field into.
|
* @param parent Composite to put the field into.
|
||||||
* @param text String is the verbage text to display
|
* @param text String is the verbiage text to display
|
||||||
* @param span Horizontal span
|
* @param span Horizontal span
|
||||||
* @param border true if you want a border around the verbage
|
* @param border true if you want a border around the verbiage
|
||||||
* @param widthHint number of pixels to limit width to before wrapping. 200 is a reasonable number
|
* @param widthHint number of pixels to limit width to before wrapping. 200 is a reasonable number
|
||||||
* @return the Label widget, in case you want to tweak it
|
* @return the Label widget, in case you want to tweak it
|
||||||
*/
|
*/
|
||||||
public static Label createVerbage(Composite parent, String text, int span, boolean border, int widthHint) {
|
public static Label createVerbiage(Composite parent, String text, int span, boolean border, int widthHint) {
|
||||||
Label widget = new Label(parent, border ? (SWT.LEFT | SWT.WRAP | SWT.BORDER) : (SWT.LEFT | SWT.WRAP));
|
Label widget = new Label(parent, border ? (SWT.LEFT | SWT.WRAP | SWT.BORDER) : (SWT.LEFT | SWT.WRAP));
|
||||||
widget.setText(text);
|
widget.setText(text);
|
||||||
GridData data = new GridData();
|
GridData data = new GridData();
|
||||||
|
@ -357,7 +357,7 @@ public class SystemWidgetHelpers {
|
||||||
*/
|
*/
|
||||||
public static Label createLabeledVerbage(Composite parent, String labelText, String tooltip, int span, boolean border, int widthHint) {
|
public static Label createLabeledVerbage(Composite parent, String labelText, String tooltip, int span, boolean border, int widthHint) {
|
||||||
previousLabel = createLabel(parent, appendColon(labelText));
|
previousLabel = createLabel(parent, appendColon(labelText));
|
||||||
Label verbage = createVerbage(parent, labelText, span, border, widthHint);
|
Label verbage = createVerbiage(parent, labelText, span, border, widthHint);
|
||||||
setToolTipText(previousLabel, tooltip);
|
setToolTipText(previousLabel, tooltip);
|
||||||
setToolTipText(verbage, tooltip);
|
setToolTipText(verbage, tooltip);
|
||||||
return verbage;
|
return verbage;
|
||||||
|
|
|
@ -163,7 +163,7 @@ public class SystemDeleteDialog extends SystemPromptDialog
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
prompt = (Label)SystemWidgetHelpers.createVerbage(composite, promptLabel, nbrColumns, false, 200);
|
prompt = (Label)SystemWidgetHelpers.createVerbiage(composite, promptLabel, nbrColumns, false, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
// WARNING
|
// WARNING
|
||||||
|
|
|
@ -232,9 +232,9 @@ public class SystemRenameDialog extends SystemPromptDialog
|
||||||
Composite composite = SystemWidgetHelpers.createComposite(parent, nbrColumns);
|
Composite composite = SystemWidgetHelpers.createComposite(parent, nbrColumns);
|
||||||
|
|
||||||
if (verbage != null)
|
if (verbage != null)
|
||||||
SystemWidgetHelpers.createVerbage(composite, verbage, nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite, verbage, nbrColumns, false, 200);
|
||||||
else
|
else
|
||||||
SystemWidgetHelpers.createVerbage(composite, SystemResources.RESID_RENAME_VERBAGE, nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite, SystemResources.RESID_RENAME_VERBAGE, nbrColumns, false, 200);
|
||||||
|
|
||||||
table = createTable(composite);
|
table = createTable(composite);
|
||||||
tableViewer = new TableViewer(table);
|
tableViewer = new TableViewer(table);
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class SystemNewFilterWizardInfoPage
|
||||||
|
|
||||||
if (configurator.getPage3Tip1() != null)
|
if (configurator.getPage3Tip1() != null)
|
||||||
{
|
{
|
||||||
SystemWidgetHelpers.createVerbage(composite_prompts, configurator.getPage3Tip1(), nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite_prompts, configurator.getPage3Tip1(), nbrColumns, false, 200);
|
||||||
addSeparatorLine(composite_prompts, nbrColumns);
|
addSeparatorLine(composite_prompts, nbrColumns);
|
||||||
addFillerLine(composite_prompts, nbrColumns);
|
addFillerLine(composite_prompts, nbrColumns);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ public class SystemNewFilterWizardInfoPage
|
||||||
if (((SystemNewFilterWizard)getWizard()).isFromRSE())
|
if (((SystemNewFilterWizard)getWizard()).isFromRSE())
|
||||||
{
|
{
|
||||||
if (configurator.getPage3Tip2() != null)
|
if (configurator.getPage3Tip2() != null)
|
||||||
SystemWidgetHelpers.createVerbage(composite_prompts, configurator.getPage3Tip2(), nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite_prompts, configurator.getPage3Tip2(), nbrColumns, false, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
return composite_prompts;
|
return composite_prompts;
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class SystemNewFilterWizardNamePage
|
||||||
int nbrColumns = 2;
|
int nbrColumns = 2;
|
||||||
Composite composite_prompts = SystemWidgetHelpers.createComposite(parent, nbrColumns);
|
Composite composite_prompts = SystemWidgetHelpers.createComposite(parent, nbrColumns);
|
||||||
|
|
||||||
SystemWidgetHelpers.createVerbage(composite_prompts, configurator.getPage2NameVerbage(), nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite_prompts, configurator.getPage2NameVerbage(), nbrColumns, false, 200);
|
||||||
nameText = SystemWidgetHelpers.createLabeledTextField(composite_prompts, null, configurator.getPage2NamePromptLabel(), configurator.getPage2NamePromptTooltip());
|
nameText = SystemWidgetHelpers.createLabeledTextField(composite_prompts, null, configurator.getPage2NamePromptLabel(), configurator.getPage2NamePromptTooltip());
|
||||||
|
|
||||||
addSeparatorLine(composite_prompts, nbrColumns);
|
addSeparatorLine(composite_prompts, nbrColumns);
|
||||||
|
@ -175,7 +175,7 @@ public class SystemNewFilterWizardNamePage
|
||||||
|
|
||||||
if (poolsToSelectFrom != null)
|
if (poolsToSelectFrom != null)
|
||||||
{
|
{
|
||||||
poolVerbage = (Label)SystemWidgetHelpers.createVerbage(composite_prompts, configurator.getPage2PoolVerbage(), nbrColumns, false, 200);
|
poolVerbage = (Label)SystemWidgetHelpers.createVerbiage(composite_prompts, configurator.getPage2PoolVerbage(), nbrColumns, false, 200);
|
||||||
poolVerbage.setToolTipText(configurator.getPage2PoolVerbageTip());
|
poolVerbage.setToolTipText(configurator.getPage2PoolVerbageTip());
|
||||||
poolCombo = SystemWidgetHelpers.createLabeledReadonlyCombo(composite_prompts, null, configurator.getPage2PoolPromptLabel(), configurator.getPage2PoolPromptTooltip());
|
poolCombo = SystemWidgetHelpers.createLabeledReadonlyCombo(composite_prompts, null, configurator.getPage2PoolPromptLabel(), configurator.getPage2PoolPromptTooltip());
|
||||||
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
||||||
|
@ -202,7 +202,7 @@ public class SystemNewFilterWizardNamePage
|
||||||
}
|
}
|
||||||
else if (poolWrapperInformation != null)
|
else if (poolWrapperInformation != null)
|
||||||
{
|
{
|
||||||
poolVerbage = (Label)SystemWidgetHelpers.createVerbage(composite_prompts, poolWrapperInformation.getVerbageLabel(), nbrColumns, false, 200);
|
poolVerbage = (Label)SystemWidgetHelpers.createVerbiage(composite_prompts, poolWrapperInformation.getVerbageLabel(), nbrColumns, false, 200);
|
||||||
//poolWrapperCombo = SystemWidgetHelpers.createLabeledCombo(composite_prompts, null, poolWrapperInformation.getResourceBundle(), poolWrapperInformation.getPromptRBKey()); // d47323
|
//poolWrapperCombo = SystemWidgetHelpers.createLabeledCombo(composite_prompts, null, poolWrapperInformation.getResourceBundle(), poolWrapperInformation.getPromptRBKey()); // d47323
|
||||||
poolWrapperCombo = SystemWidgetHelpers.createLabeledReadonlyCombo(composite_prompts, null, poolWrapperInformation.getPromptLabel(), poolWrapperInformation.getPromptTooltip());
|
poolWrapperCombo = SystemWidgetHelpers.createLabeledReadonlyCombo(composite_prompts, null, poolWrapperInformation.getPromptLabel(), poolWrapperInformation.getPromptTooltip());
|
||||||
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class SystemTeamViewCategoryPropertyPage extends SystemBasePropertyPage
|
||||||
//key = ISystemConstants.RESID_PROPERTY_DESCRIPTION_ROOT;
|
//key = ISystemConstants.RESID_PROPERTY_DESCRIPTION_ROOT;
|
||||||
//Label l = SystemWidgetHelpers.createLabel(composite_prompts, rb, key, nbrColumns, false);
|
//Label l = SystemWidgetHelpers.createLabel(composite_prompts, rb, key, nbrColumns, false);
|
||||||
//l.setText(l.getText() + ":");
|
//l.setText(l.getText() + ":");
|
||||||
labelDescription = (Label)SystemWidgetHelpers.createVerbage(composite_prompts, "", nbrColumns, false, 200);
|
labelDescription = (Label)SystemWidgetHelpers.createVerbiage(composite_prompts, "", nbrColumns, false, 200);
|
||||||
|
|
||||||
if (!initDone)
|
if (!initDone)
|
||||||
doInitializeFields();
|
doInitializeFields();
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class SystemTeamViewSubSystemFactoryPropertyPage extends SystemBaseProper
|
||||||
// description
|
// description
|
||||||
addFillerLine(composite_prompts, nbrColumns);
|
addFillerLine(composite_prompts, nbrColumns);
|
||||||
addSeparatorLine(composite_prompts, nbrColumns);
|
addSeparatorLine(composite_prompts, nbrColumns);
|
||||||
SystemWidgetHelpers.createVerbage(composite_prompts, SystemResources.RESID_PP_SUBSYSFACTORY_VERBAGE, nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite_prompts, SystemResources.RESID_PP_SUBSYSFACTORY_VERBAGE, nbrColumns, false, 200);
|
||||||
|
|
||||||
if (!initDone)
|
if (!initDone)
|
||||||
doInitializeFields();
|
doInitializeFields();
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class SystemResourceSelectionForm implements ISelectionChangedListener
|
||||||
|
|
||||||
|
|
||||||
// MESSAGE/VERBAGE TEXT AT TOP
|
// MESSAGE/VERBAGE TEXT AT TOP
|
||||||
verbageLabel = (Label) SystemWidgetHelpers.createVerbage(composite_prompts, _verbage, gridColumns, false, PROMPT_WIDTH);
|
verbageLabel = (Label) SystemWidgetHelpers.createVerbiage(composite_prompts, _verbage, gridColumns, false, PROMPT_WIDTH);
|
||||||
|
|
||||||
|
|
||||||
boolean allowMultipleConnnections = _inputProvider.allowMultipleConnections();
|
boolean allowMultipleConnnections = _inputProvider.allowMultipleConnections();
|
||||||
|
|
|
@ -356,7 +356,7 @@ public class SystemSelectConnectionForm extends SystemBaseForm
|
||||||
}
|
}
|
||||||
|
|
||||||
// MESSAGE/VERBAGE TEXT AT TOP
|
// MESSAGE/VERBAGE TEXT AT TOP
|
||||||
verbageLabel = (Label) SystemWidgetHelpers.createVerbage(composite_prompts, verbage, gridColumns, false, PROMPT_WIDTH);
|
verbageLabel = (Label) SystemWidgetHelpers.createVerbiage(composite_prompts, verbage, gridColumns, false, PROMPT_WIDTH);
|
||||||
//verbageLabel = SystemWidgetHelpers.createLabel(composite_prompts, verbage, gridColumns);
|
//verbageLabel = SystemWidgetHelpers.createLabel(composite_prompts, verbage, gridColumns);
|
||||||
|
|
||||||
// SPACER LINE
|
// SPACER LINE
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class SystemNewProfileWizardMainPage
|
||||||
// Verbage
|
// Verbage
|
||||||
addGrowableFillerLine(composite_prompts, nbrColumns);
|
addGrowableFillerLine(composite_prompts, nbrColumns);
|
||||||
addSeparatorLine(composite_prompts, nbrColumns);
|
addSeparatorLine(composite_prompts, nbrColumns);
|
||||||
SystemWidgetHelpers.createVerbage(composite_prompts, SystemResources.RESID_NEWPROFILE_VERBAGE, nbrColumns, false, 200);
|
SystemWidgetHelpers.createVerbiage(composite_prompts, SystemResources.RESID_NEWPROFILE_VERBAGE, nbrColumns, false, 200);
|
||||||
|
|
||||||
textName.addModifyListener(
|
textName.addModifyListener(
|
||||||
new ModifyListener() {
|
new ModifyListener() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue