mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +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
|
||||
if (showVerbage)
|
||||
{
|
||||
verbage = SystemWidgetHelpers.createVerbage(
|
||||
verbage = SystemWidgetHelpers.createVerbiage(
|
||||
composite_prompts, SystemResources.RESID_PROFILE_PROFILENAME_VERBAGE, nbrColumns, false, 200);
|
||||
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.
|
||||
* @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 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
|
||||
* @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));
|
||||
widget.setText(text);
|
||||
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) {
|
||||
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(verbage, tooltip);
|
||||
return verbage;
|
||||
|
|
|
@ -163,7 +163,7 @@ public class SystemDeleteDialog extends SystemPromptDialog
|
|||
}
|
||||
}
|
||||
else {
|
||||
prompt = (Label)SystemWidgetHelpers.createVerbage(composite, promptLabel, nbrColumns, false, 200);
|
||||
prompt = (Label)SystemWidgetHelpers.createVerbiage(composite, promptLabel, nbrColumns, false, 200);
|
||||
}
|
||||
|
||||
// WARNING
|
||||
|
|
|
@ -232,9 +232,9 @@ public class SystemRenameDialog extends SystemPromptDialog
|
|||
Composite composite = SystemWidgetHelpers.createComposite(parent, nbrColumns);
|
||||
|
||||
if (verbage != null)
|
||||
SystemWidgetHelpers.createVerbage(composite, verbage, nbrColumns, false, 200);
|
||||
SystemWidgetHelpers.createVerbiage(composite, verbage, nbrColumns, false, 200);
|
||||
else
|
||||
SystemWidgetHelpers.createVerbage(composite, SystemResources.RESID_RENAME_VERBAGE, nbrColumns, false, 200);
|
||||
SystemWidgetHelpers.createVerbiage(composite, SystemResources.RESID_RENAME_VERBAGE, nbrColumns, false, 200);
|
||||
|
||||
table = createTable(composite);
|
||||
tableViewer = new TableViewer(table);
|
||||
|
|
|
@ -59,7 +59,7 @@ public class SystemNewFilterWizardInfoPage
|
|||
|
||||
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);
|
||||
addFillerLine(composite_prompts, nbrColumns);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public class SystemNewFilterWizardInfoPage
|
|||
if (((SystemNewFilterWizard)getWizard()).isFromRSE())
|
||||
{
|
||||
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;
|
||||
|
|
|
@ -153,7 +153,7 @@ public class SystemNewFilterWizardNamePage
|
|||
int nbrColumns = 2;
|
||||
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());
|
||||
|
||||
addSeparatorLine(composite_prompts, nbrColumns);
|
||||
|
@ -175,7 +175,7 @@ public class SystemNewFilterWizardNamePage
|
|||
|
||||
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());
|
||||
poolCombo = SystemWidgetHelpers.createLabeledReadonlyCombo(composite_prompts, null, configurator.getPage2PoolPromptLabel(), configurator.getPage2PoolPromptTooltip());
|
||||
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
||||
|
@ -202,7 +202,7 @@ public class SystemNewFilterWizardNamePage
|
|||
}
|
||||
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.createLabeledReadonlyCombo(composite_prompts, null, poolWrapperInformation.getPromptLabel(), poolWrapperInformation.getPromptTooltip());
|
||||
poolComboLabel = SystemWidgetHelpers.getLastLabel();
|
||||
|
|
|
@ -71,7 +71,7 @@ public class SystemTeamViewCategoryPropertyPage extends SystemBasePropertyPage
|
|||
//key = ISystemConstants.RESID_PROPERTY_DESCRIPTION_ROOT;
|
||||
//Label l = SystemWidgetHelpers.createLabel(composite_prompts, rb, key, nbrColumns, false);
|
||||
//l.setText(l.getText() + ":");
|
||||
labelDescription = (Label)SystemWidgetHelpers.createVerbage(composite_prompts, "", nbrColumns, false, 200);
|
||||
labelDescription = (Label)SystemWidgetHelpers.createVerbiage(composite_prompts, "", nbrColumns, false, 200);
|
||||
|
||||
if (!initDone)
|
||||
doInitializeFields();
|
||||
|
|
|
@ -76,7 +76,7 @@ public class SystemTeamViewSubSystemFactoryPropertyPage extends SystemBaseProper
|
|||
// description
|
||||
addFillerLine(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)
|
||||
doInitializeFields();
|
||||
|
|
|
@ -146,7 +146,7 @@ public class SystemResourceSelectionForm implements ISelectionChangedListener
|
|||
|
||||
|
||||
// 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();
|
||||
|
|
|
@ -356,7 +356,7 @@ public class SystemSelectConnectionForm extends SystemBaseForm
|
|||
}
|
||||
|
||||
// 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);
|
||||
|
||||
// SPACER LINE
|
||||
|
|
|
@ -94,7 +94,7 @@ public class SystemNewProfileWizardMainPage
|
|||
// Verbage
|
||||
addGrowableFillerLine(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(
|
||||
new ModifyListener() {
|
||||
|
|
Loading…
Add table
Reference in a new issue