mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-08 11:03:28 +02:00
Fixed typo.
This commit is contained in:
parent
0063bbf490
commit
9f6c86ce5c
1 changed files with 6 additions and 6 deletions
|
@ -41,8 +41,8 @@ import org.eclipse.swt.widgets.Listener;
|
||||||
import org.eclipse.swt.widgets.Text;
|
import org.eclipse.swt.widgets.Text;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is part of the NewClassWizard
|
* This class is part of the NewClassWizard.
|
||||||
* It handels the Link to file part
|
* It handles the Link to file part.
|
||||||
*/
|
*/
|
||||||
public class LinkToFileGroup extends StringButtonDialogField {
|
public class LinkToFileGroup extends StringButtonDialogField {
|
||||||
protected Listener listener;
|
protected Listener listener;
|
||||||
|
@ -108,7 +108,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Button getLinkCheckButtonControl(Composite parent){
|
public Button getLinkCheckButtonControl(Composite parent){
|
||||||
if(linkButton == null){
|
if (linkButton == null){
|
||||||
linkButton = new Button(parent, SWT.CHECK);
|
linkButton = new Button(parent, SWT.CHECK);
|
||||||
linkButton.setText(NewWizardMessages.NewClassWizardPage_files_linkFileButton);
|
linkButton.setText(NewWizardMessages.NewClassWizardPage_files_linkFileButton);
|
||||||
linkButton.setSelection(createLink);
|
linkButton.setSelection(createLink);
|
||||||
|
@ -148,7 +148,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Text getTextControl(Composite parent){
|
public Text getTextControl(Composite parent){
|
||||||
if(linkTargetField == null){
|
if (linkTargetField == null){
|
||||||
assertCompositeNotNull(parent);
|
assertCompositeNotNull(parent);
|
||||||
linkTargetField = new Text(parent, SWT.BORDER);
|
linkTargetField = new Text(parent, SWT.BORDER);
|
||||||
linkTargetField.setFont(parent.getFont());
|
linkTargetField.setFont(parent.getFont());
|
||||||
|
@ -179,7 +179,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
||||||
|
|
||||||
public Button getBrowseButtonControl(Composite parent){
|
public Button getBrowseButtonControl(Composite parent){
|
||||||
// browse button
|
// browse button
|
||||||
if(browseButton == null){
|
if (browseButton == null){
|
||||||
assertCompositeNotNull(parent);
|
assertCompositeNotNull(parent);
|
||||||
browseButton = new Button(parent, SWT.PUSH);
|
browseButton = new Button(parent, SWT.PUSH);
|
||||||
//setButtonLayoutData(browseButton);
|
//setButtonLayoutData(browseButton);
|
||||||
|
@ -277,7 +277,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
||||||
* Displays the resolved value if the entered value is a variable.
|
* Displays the resolved value if the entered value is a variable.
|
||||||
*/
|
*/
|
||||||
protected void resolveVariable() {
|
protected void resolveVariable() {
|
||||||
if(!linkTargetField.isEnabled()) {
|
if (!linkTargetField.isEnabled()) {
|
||||||
resolvedPathLabelData.setText(""); //$NON-NLS-1$
|
resolvedPathLabelData.setText(""); //$NON-NLS-1$
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue