1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +02:00
This commit is contained in:
David Inglis 2004-03-23 03:07:40 +00:00
parent 118c31cd16
commit 18e6359b5b
9 changed files with 15 additions and 16 deletions

View file

@ -250,7 +250,7 @@ public class MakeCorePlugin extends Plugin {
for (int j = 0; j < configElements.length; j++) {
IConfigurationElement[] runElement = configElements[j].getChildren("run"); //$NON-NLS-1$
if (runElement.length > 0) {
IExternalScannerInfoProvider builder = (IExternalScannerInfoProvider) runElement[0].createExecutableExtension("class");
IExternalScannerInfoProvider builder = (IExternalScannerInfoProvider) runElement[0].createExecutableExtension("class"); //$NON-NLS-1$
return builder;
}
}

View file

@ -48,7 +48,7 @@ public class MakeTargetManager implements IMakeTargetManager, IResourceChangeLis
private static String TARGETS_EXT = "targets"; //$NON-NLS-1$
private ListenerList listeners = new ListenerList();
private HashMap projectMap = new HashMap();
Map projectMap = new HashMap();
private HashMap builderMap;
protected Vector fProjects = new Vector();

View file

@ -33,7 +33,7 @@ import org.w3c.dom.NodeList;
public class ProjectTargets {
private static final String MAKE_TARGET_KEY = MakeCorePlugin.getUniqueIdentifier() + ".buildtargets";
private static final String MAKE_TARGET_KEY = MakeCorePlugin.getUniqueIdentifier() + ".buildtargets"; //$NON-NLS-1$
private static final String TARGETS_EXT = "targets"; //$NON-NLS-1$
private static final String BUILD_TARGET_ELEMENT = "buildTargets"; //$NON-NLS-1$

View file

@ -85,7 +85,7 @@ public class MakePropertyPage extends PropertyPage implements ICOptionContainer
new ProgressMonitorDialog(getShell()).run(false, true, op);
} catch (InvocationTargetException e) {
Throwable e1 = e.getTargetException();
MakeUIPlugin.errorDialog(getShell(), MakeUIPlugin.getResourceString("MakeProjectPropertyPage.internalError"),e1.toString(), e1);
MakeUIPlugin.errorDialog(getShell(), MakeUIPlugin.getResourceString("MakeProjectPropertyPage.internalError"),e1.toString(), e1); //$NON-NLS-1$
return false;
} catch (InterruptedException e) {
// cancelled

View file

@ -20,8 +20,8 @@ import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
public class BuildTargetDialog extends Dialog {
private TargetListViewerPart targetPart;
private IContainer fContainer;
TargetListViewerPart targetPart;
IContainer fContainer;
public BuildTargetDialog(Shell shell, IContainer container) {
super(shell);

View file

@ -74,9 +74,9 @@ public class SettingsBlock extends AbstractCOptionPage {
Button incrButton;
Button autoButton;
private IMakeBuilderInfo fBuildInfo;
private Preferences fPrefs;
private String fBuilderID;
IMakeBuilderInfo fBuildInfo;
Preferences fPrefs;
String fBuilderID;
public SettingsBlock(Preferences prefs, String builderID) {
super(MakeUIPlugin.getResourceString(MAKE_LABEL));
@ -354,15 +354,15 @@ public class SettingsBlock extends AbstractCOptionPage {
targetFull.setText(info.getFullBuildTarget());
}
private boolean isStopOnError() {
boolean isStopOnError() {
return stopOnErrorButton.getSelection();
}
private boolean useDefaultBuildCmd() {
boolean useDefaultBuildCmd() {
return defButton.getSelection();
}
private String getBuildLine() {
String getBuildLine() {
if (buildCommand != null) {
String cmd = buildCommand.getText();
if (cmd != null)

View file

@ -56,7 +56,7 @@ public class GDBSolibBlock extends Observable implements Observer
if ( autoSolib )
{
fAutoSoLibButton = ControlFactory.createCheckBox( subComp, MIUIPlugin.getResourceString("mi.internal.ui.GDBSolibBlock.Load_shared_lib_symbols_automatically") );
fAutoSoLibButton = ControlFactory.createCheckBox( subComp, MIUIPlugin.getResourceString("mi.internal.ui.GDBSolibBlock.Load_shared_lib_symbols_automatically") ); //$NON-NLS-1$
fAutoSoLibButton.addSelectionListener(
new SelectionAdapter()
{

View file

@ -107,7 +107,6 @@ public class CEnvironmentTab extends CLaunchConfigurationTab {
private boolean fEdit = false;
private Button fBtnOk = null;
private Button fBtnCancel = null;
private Text fTextName = null;
private Text fTextValue = null;
@ -175,7 +174,7 @@ public class CEnvironmentTab extends CLaunchConfigurationTab {
protected void createButtonsForButtonBar(Composite parent) {
fBtnOk = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
fBtnCancel = createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}
protected void updateButtonsState() {

View file

@ -335,7 +335,7 @@ public class CMainTab extends CLaunchConfigurationTab {
return;
}
Object [] results = (Object [])dialog.getResult();
Object [] results = dialog.getResult();
try {
fProgText.setText(((IResource)results[0]).getProjectRelativePath().toString());