mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
2005-04-05 Alain Magloire
Build for Eclipse-31M6 * src/org/eclipse/cdt/managedbuilder/ui/properties/BrowseEntryDialog.java * src/org/eclipse/cdt/managedbuilder/internal/ui/PluginResources.properties
This commit is contained in:
parent
f735159221
commit
b270bcf744
3 changed files with 15 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-04-05 Alain Magloire
|
||||||
|
Build for Eclipse-31M6
|
||||||
|
* src/org/eclipse/cdt/managedbuilder/ui/properties/BrowseEntryDialog.java
|
||||||
|
* src/org/eclipse/cdt/managedbuilder/internal/ui/PluginResources.properties
|
||||||
|
|
||||||
2005-03-16 Alain Magloire
|
2005-03-16 Alain Magloire
|
||||||
Patch from Tracy Miranda to fix PR 88160
|
Patch from Tracy Miranda to fix PR 88160
|
||||||
* src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java
|
* src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java
|
||||||
|
|
|
@ -150,3 +150,8 @@ FileListControl.newdialog.title=New Dialog
|
||||||
# ----------- Property Page ----------
|
# ----------- Property Page ----------
|
||||||
MngMakeProjectPropertyPage.closedproject=Project Closed
|
MngMakeProjectPropertyPage.closedproject=Project Closed
|
||||||
MngMakeProjectPropertyPage.internalError=An Internal error has occur please check error log.
|
MngMakeProjectPropertyPage.internalError=An Internal error has occur please check error log.
|
||||||
|
|
||||||
|
# Copies from org.eclipse.ui.workbench
|
||||||
|
showAdvanced = &Advanced >>
|
||||||
|
hideAdvanced = << &Advanced
|
||||||
|
NewFolderDialog.folderNameEmpty = Folder name must be specified
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.eclipse.swt.widgets.Control;
|
||||||
import org.eclipse.swt.widgets.Label;
|
import org.eclipse.swt.widgets.Label;
|
||||||
import org.eclipse.swt.widgets.Shell;
|
import org.eclipse.swt.widgets.Shell;
|
||||||
import org.eclipse.swt.widgets.Text;
|
import org.eclipse.swt.widgets.Text;
|
||||||
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The BrowseEntryDialog allows clients to prompt the user for a path location.
|
* The BrowseEntryDialog allows clients to prompt the user for a path location.
|
||||||
|
@ -152,7 +151,7 @@ public class BrowseEntryDialog extends SelectionStatusDialog {
|
||||||
// Instantiate the macros button
|
// Instantiate the macros button
|
||||||
advancedButton = new Button(parent, SWT.PUSH);
|
advancedButton = new Button(parent, SWT.PUSH);
|
||||||
applyDialogFont(advancedButton);
|
applyDialogFont(advancedButton);
|
||||||
advancedButton.setText(IDEWorkbenchMessages.getString(SHOW));
|
advancedButton.setText(ManagedBuilderUIMessages.getResourceString(SHOW));
|
||||||
setButtonLayoutData(advancedButton);
|
setButtonLayoutData(advancedButton);
|
||||||
GridData data = (GridData) advancedButton.getLayoutData();
|
GridData data = (GridData) advancedButton.getLayoutData();
|
||||||
data.horizontalAlignment = GridData.BEGINNING;
|
data.horizontalAlignment = GridData.BEGINNING;
|
||||||
|
@ -275,16 +274,16 @@ public class BrowseEntryDialog extends SelectionStatusDialog {
|
||||||
macroComposite = ControlFactory.createComposite(composite, 1);
|
macroComposite = ControlFactory.createComposite(composite, 1);
|
||||||
shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true);
|
shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true);
|
||||||
shell.setSize(shellSize);
|
shell.setSize(shellSize);
|
||||||
advancedButton.setText(IDEWorkbenchMessages.getString(HIDE));
|
advancedButton.setText(ManagedBuilderUIMessages.getResourceString(HIDE));
|
||||||
} else if (macroComposite.getVisible()) {
|
} else if (macroComposite.getVisible()) {
|
||||||
macroComposite.setVisible(false);
|
macroComposite.setVisible(false);
|
||||||
shell.setSize(shellSize.x, basicShellHeight);
|
shell.setSize(shellSize.x, basicShellHeight);
|
||||||
advancedButton.setText(IDEWorkbenchMessages.getString(SHOW));
|
advancedButton.setText(ManagedBuilderUIMessages.getResourceString(SHOW));
|
||||||
} else {
|
} else {
|
||||||
macroComposite.setVisible(true);
|
macroComposite.setVisible(true);
|
||||||
shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true);
|
shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true);
|
||||||
shell.setSize(shellSize);
|
shell.setSize(shellSize);
|
||||||
advancedButton.setText(IDEWorkbenchMessages.getString(HIDE));
|
advancedButton.setText(ManagedBuilderUIMessages.getResourceString(HIDE));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -322,7 +321,7 @@ public class BrowseEntryDialog extends SelectionStatusDialog {
|
||||||
folderName = text.getText();
|
folderName = text.getText();
|
||||||
// Empty or null string is invalid
|
// Empty or null string is invalid
|
||||||
if (folderName == null || folderName.equals("")) { //$NON-NLS-1$
|
if (folderName == null || folderName.equals("")) { //$NON-NLS-1$
|
||||||
updateStatus(IStatus.ERROR, IDEWorkbenchMessages.getString(EMPTY));
|
updateStatus(IStatus.ERROR, ManagedBuilderUIMessages.getResourceString(EMPTY));
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
// Make sure that the specified location exists
|
// Make sure that the specified location exists
|
||||||
|
|
Loading…
Add table
Reference in a new issue