diff options
Diffstat (limited to 'org.eclipse.ui.externaltools/External Tools Base/org')
2 files changed, 21 insertions, 21 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java index 84303de8e..6f6a13792 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java @@ -44,9 +44,9 @@ import org.eclipse.ui.ide.IDE; public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { - private Button fullBuildButton; + private Button afterClean; private Button autoBuildButton; - private Button incrementalBuildButton; + private Button manualBuild; private Button workingSetButton; private Button specifyResources; protected Button fLaunchInBackgroundButton; @@ -57,7 +57,7 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { - boolean enabled= autoBuildButton.getSelection() || incrementalBuildButton.getSelection(); + boolean enabled= autoBuildButton.getSelection() || manualBuild.getSelection(); workingSetButton.setEnabled(enabled); specifyResources.setEnabled(enabled && workingSetButton.getSelection()); updateLaunchConfigurationDialog(); @@ -104,8 +104,8 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { Label label= new Label(parent, SWT.NONE); label.setText(ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Run_this_builder_for__1")); //$NON-NLS-1$ label.setFont(parent.getFont()); - fullBuildButton= createButton(parent, selectionListener, ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.&Full_builds_2"), ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Full"), 2); //$NON-NLS-1$ //$NON-NLS-2$ - incrementalBuildButton= createButton(parent, selectionListener, ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.&Incremental_builds_4"), ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Inc"), 2); //$NON-NLS-1$ //$NON-NLS-2$ + afterClean= createButton(parent, selectionListener, ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.&Full_builds_2"), ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Full"), 2); //$NON-NLS-1$ //$NON-NLS-2$ + manualBuild= createButton(parent, selectionListener, ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.&Incremental_builds_4"), ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Inc"), 2); //$NON-NLS-1$ //$NON-NLS-2$ autoBuildButton= createButton(parent, selectionListener, ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.&Auto_builds_(Not_recommended)_6"), ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.Auto"), 2); //$NON-NLS-1$ //$NON-NLS-2$ createVerticalSpacer(parent, 2); @@ -151,8 +151,8 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { */ public void initializeFrom(ILaunchConfiguration configuration) { - fullBuildButton.setSelection(false); - incrementalBuildButton.setSelection(false); + afterClean.setSelection(false); + manualBuild.setSelection(false); autoBuildButton.setSelection(false); String buildKindString= null; @@ -174,17 +174,17 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { for (int i = 0; i < buildTypes.length; i++) { switch (buildTypes[i]) { case IncrementalProjectBuilder.FULL_BUILD: - fullBuildButton.setSelection(true); + afterClean.setSelection(true); break; case IncrementalProjectBuilder.INCREMENTAL_BUILD: - incrementalBuildButton.setSelection(true); + manualBuild.setSelection(true); break; case IncrementalProjectBuilder.AUTO_BUILD: autoBuildButton.setSelection(true); break; } } - boolean enabled= autoBuildButton.getSelection() || incrementalBuildButton.getSelection(); + boolean enabled= autoBuildButton.getSelection() || manualBuild.getSelection(); workingSetButton.setEnabled(enabled); specifyResources.setEnabled(enabled && workingSetButton.getSelection()); updateRunInBackground(configuration); @@ -215,10 +215,10 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { */ public void performApply(ILaunchConfigurationWorkingCopy configuration) { StringBuffer buffer= new StringBuffer(); - if (fullBuildButton.getSelection()) { + if (afterClean.getSelection()) { buffer.append(IExternalToolConstants.BUILD_TYPE_FULL).append(','); } - if (incrementalBuildButton.getSelection()){ + if (manualBuild.getSelection()){ buffer.append(IExternalToolConstants.BUILD_TYPE_INCREMENTAL).append(','); } if (autoBuildButton.getSelection()) { @@ -256,7 +256,7 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab { setErrorMessage(null); setMessage(null); - boolean buildKindSelected= fullBuildButton.getSelection() || incrementalBuildButton.getSelection() || autoBuildButton.getSelection(); + boolean buildKindSelected= afterClean.getSelection() || manualBuild.getSelection() || autoBuildButton.getSelection(); if (!buildKindSelected) { setErrorMessage(ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsBuilderTab.buildKindError")); //$NON-NLS-1$ return false; diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsLaunchConfigurationMessages.properties b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsLaunchConfigurationMessages.properties index dc97df896..bfc0b08bc 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsLaunchConfigurationMessages.properties +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsLaunchConfigurationMessages.properties @@ -34,16 +34,16 @@ ExternalToolsUtil.Location_not_specified_by_{0}_1=Location not specified by {0} ExternalToolsUtil.invalidLocation_{0} = The file does not exist for the external tool named {0}. ExternalToolsUtil.invalidDirectory_{0} = The working directory {0} does not exist for the external tool named {1}. -ExternalToolsBuilderTab.Run_this_builder_for__1=Run for: -ExternalToolsBuilderTab.&Full_builds_2=&Full builds -ExternalToolsBuilderTab.Full=Runs whenever a full build is invoked. The \"Rebuild All\" action causes a full build. -ExternalToolsBuilderTab.&Incremental_builds_4=&Incremental builds -ExternalToolsBuilderTab.Inc=Runs whenever an incremental build is invoked. The \"Build All\" action causes an incremental build. -ExternalToolsBuilderTab.&Auto_builds_(Not_recommended)_6=&Auto builds +ExternalToolsBuilderTab.Run_this_builder_for__1=Run the builder: +ExternalToolsBuilderTab.&Full_builds_2=&After a \"Clean\" +ExternalToolsBuilderTab.Full=Runs on the first build that occurs after a clean. +ExternalToolsBuilderTab.&Incremental_builds_4=&During Manual Builds +ExternalToolsBuilderTab.Inc=Runs whenever the user invokes a build (but not for auto-build). +ExternalToolsBuilderTab.&Auto_builds_(Not_recommended)_6=During A&uto Builds ExternalToolsBuilderTab.Auto=Runs whenever a resource in the workspace is modified if autobuilding is enabled. Enabling this option should be paired with a specifying a resource working set. ExternalToolsBuilderTab.Build_Options_9=&Build Options -ExternalToolsBuilderTab.workingSet_label=Specify working set of &relevant resources (not applied to full builds) -ExternalToolsBuilderTab.workingSet_tooltip=The working set of resources that if changed from an incremental or auto build will trigger the external tool builder +ExternalToolsBuilderTab.workingSet_label=Specify working set of &relevant resources (not applied for the build after a clean) +ExternalToolsBuilderTab.workingSet_tooltip=The working set of resources that if changed from a manual or auto build will trigger the external tool builder ExternalToolsBuilderTab.buildKindError=At least one type of build kind must be selected ExternalToolsBuilderTab.14=Launch in bac&kground ExternalToolsBuilderTab.13=&Specify Resources... |