diff options
author | Darin Wright | 2009-10-28 20:15:49 +0000 |
---|---|---|
committer | Darin Wright | 2009-10-28 20:15:49 +0000 |
commit | a592ede13f00d3a7b380286531a40334a265bdae (patch) | |
tree | e82ebc33ac1bb94ae60abc3cf8049cffe3c924cd | |
parent | 702c94dfc9c4ce6cee7c423328b192fb425889ac (diff) | |
download | eclipse.platform.debug-R3_4_bug_264338.tar.gz eclipse.platform.debug-R3_4_bug_264338.tar.xz eclipse.platform.debug-R3_4_bug_264338.zip |
catch up with fixes in 3.6 M3v20091028_r34x_264388R3_4_bug_264338
13 files changed, 293 insertions, 46 deletions
diff --git a/org.eclipse.core.externaltools/build.properties b/org.eclipse.core.externaltools/build.properties index 7b3c227b8..81d294c95 100644 --- a/org.eclipse.core.externaltools/build.properties +++ b/org.eclipse.core.externaltools/build.properties @@ -1,3 +1,13 @@ +############################################################################### +# Copyright (c) 2005, 2009 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### source.. = src/ output.. = bin/ bin.includes = META-INF/,\ diff --git a/org.eclipse.core.externaltools/plugin.xml b/org.eclipse.core.externaltools/plugin.xml index a5f8d7c8c..655c8a2c2 100644 --- a/org.eclipse.core.externaltools/plugin.xml +++ b/org.eclipse.core.externaltools/plugin.xml @@ -1,5 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> +<?eclipse version="3.4"?>
<!-- + Copyright (c) 2005, 2009 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation + --> + <plugin> <extension point="org.eclipse.debug.core.launchConfigurationTypes"> diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/IExternalToolConstants.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/IExternalToolConstants.java index 7a42d0b8d..4641a0e8c 100644 --- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/IExternalToolConstants.java +++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/IExternalToolConstants.java @@ -28,12 +28,6 @@ public interface IExternalToolConstants { */ public static final String PLUGIN_ID = "org.eclipse.core.externaltools"; //$NON-NLS-1$; - // ------- Extensions Points ------- - /** - * Extension point to declare the launch configuration type that should be - * created when duplicating an existing configuration as a project builder. - */ - public static final String EXTENSION_POINT_CONFIGURATION_DUPLICATION_MAPS = "configurationDuplicationMaps"; //$NON-NLS-1$ // ------- Refresh Variables ------- /** * Variable that expands to the workspace root object (value <code>workspace</code>). @@ -93,18 +87,6 @@ public interface IExternalToolConstants { */ public static final String BUILD_TYPE_NONE = "none"; //$NON-NLS-1$ - // ------- Images ------- - - /** - * Main tab image. - */ - public static final String IMG_TAB_MAIN = UI_PLUGIN_ID + ".IMG_TAB_MAIN"; //$NON-NLS-1$ - - /** - * Build tab image - */ - public static final String IMG_TAB_BUILD = UI_PLUGIN_ID + ".IMG_TAB_BUILD"; //$NON-NLS-1$ - // ------- Launch configuration types -------- /** * Program launch configuration type identifier. @@ -131,18 +113,6 @@ public interface IExternalToolConstants { */ public static final String ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_CATEGORY = "org.eclipse.ui.externaltools.builder"; //$NON-NLS-1$ - // ------- Launch configuration groups -------- - /** - * Identifier for external tools launch configuration group. The external - * tools launch configuration group corresponds to the external tools - * category in run mode. - */ - public static final String ID_EXTERNAL_TOOLS_LAUNCH_GROUP = "org.eclipse.ui.externaltools.launchGroup"; //$NON-NLS-1$ - /** - * Identifier for external tools launch configuration group - */ - public static final String ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_GROUP = "org.eclipse.ui.externaltools.launchGroup.builder"; //$NON-NLS-1$ - // ------- Common External Tool Launch Configuration Attributes ------- /** diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuildTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuildTab.java index 407484e19..35af87097 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuildTab.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuildTab.java @@ -309,7 +309,7 @@ public class ExternalToolsBuildTab extends AbstractLaunchConfigurationTab { * @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage() */ public Image getImage() { - return ExternalToolsImages.getImage(IExternalToolConstants.IMG_TAB_BUILD); + return ExternalToolsImages.getImage(org.eclipse.ui.externaltools.internal.model.IExternalToolConstants.IMG_TAB_BUILD); } public boolean isValid(ILaunchConfiguration launchConfig) { diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java index 8274d95fc..d1bf2d994 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java @@ -605,7 +605,7 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa * @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage() */ public Image getImage() { - return ExternalToolsImages.getImage(IExternalToolConstants.IMG_TAB_MAIN); + return ExternalToolsImages.getImage(org.eclipse.ui.externaltools.internal.model.IExternalToolConstants.IMG_TAB_MAIN); } /* (non-Javadoc) diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/ExternalToolMenuDelegate.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/ExternalToolMenuDelegate.java index 943f1e7cd..a5dc2081c 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/ExternalToolMenuDelegate.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/ExternalToolMenuDelegate.java @@ -10,9 +10,9 @@ *******************************************************************************/ package org.eclipse.ui.externaltools.internal.menu; -import org.eclipse.core.externaltools.internal.IExternalToolConstants; import org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction; import org.eclipse.jface.action.IAction; +import org.eclipse.ui.externaltools.internal.model.IExternalToolConstants; /** * This action delegate is responsible for producing the diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/OpenExternalToolsConfigurations.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/OpenExternalToolsConfigurations.java index b79c845ac..dcb105fd0 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/OpenExternalToolsConfigurations.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/menu/OpenExternalToolsConfigurations.java @@ -10,8 +10,8 @@ *******************************************************************************/ package org.eclipse.ui.externaltools.internal.menu; -import org.eclipse.core.externaltools.internal.IExternalToolConstants; import org.eclipse.debug.ui.actions.OpenLaunchDialogAction; +import org.eclipse.ui.externaltools.internal.model.IExternalToolConstants; /** * Opens the launch config dialog on the external tools launch group. diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/BuilderUtils.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/BuilderUtils.java index 454e5e5a6..4c52dd0ca 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/BuilderUtils.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/BuilderUtils.java @@ -12,7 +12,6 @@ package org.eclipse.ui.externaltools.internal.model; import java.util.Map; -import org.eclipse.core.externaltools.internal.IExternalToolConstants; import org.eclipse.core.externaltools.internal.model.BuilderCoreUtils; import org.eclipse.core.resources.ICommand; import org.eclipse.core.resources.IFolder; diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolsImages.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolsImages.java index 3dca05fa9..f21865edf 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolsImages.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolsImages.java @@ -14,7 +14,6 @@ package org.eclipse.ui.externaltools.internal.model; import java.net.MalformedURLException; import java.net.URL; -import org.eclipse.core.externaltools.internal.IExternalToolConstants; import org.eclipse.jface.action.IAction; import org.eclipse.jface.resource.CompositeImageDescriptor; import org.eclipse.jface.resource.ImageDescriptor; diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/IExternalToolConstants.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/IExternalToolConstants.java new file mode 100644 index 000000000..4c8dd3ca1 --- /dev/null +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/IExternalToolConstants.java @@ -0,0 +1,259 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * dakshinamurthy.karra@gmail.com - bug 165371 + *******************************************************************************/ +package org.eclipse.ui.externaltools.internal.model; + +/** + * Defines the constants available for client use. + * <p> + * This interface is not intended to be extended or implemented by clients. + * </p> + */ +public interface IExternalToolConstants { + /** + * Plugin identifier for external tools (value <code>org.eclipse.ui.externaltools</code>). + */ + public static final String PLUGIN_ID = "org.eclipse.ui.externaltools"; //$NON-NLS-1$; + + // ------- Extensions Points ------- + /** + * Extension point to declare the launch configuration type that should be + * created when duplicating an existing configuration as a project builder. + */ + public static final String EXTENSION_POINT_CONFIGURATION_DUPLICATION_MAPS = "configurationDuplicationMaps"; //$NON-NLS-1$ + // ------- Refresh Variables ------- + /** + * Variable that expands to the workspace root object (value <code>workspace</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#VAR_WORKSPACE} + */ + public static final String VAR_WORKSPACE = org.eclipse.core.externaltools.internal.IExternalToolConstants.VAR_WORKSPACE; + /** + * Variable that expands to the project resource (value <code>project</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#VAR_PROJECT} + */ + public static final String VAR_PROJECT = org.eclipse.core.externaltools.internal.IExternalToolConstants.VAR_PROJECT; + /** + * Variable that expands to the container resource (value <code>container</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#VAR_CONTAINER} + */ + public static final String VAR_CONTAINER = org.eclipse.core.externaltools.internal.IExternalToolConstants.VAR_CONTAINER; + /** + * Variable that expands to a resource (value <code>resource</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#VAR_RESOURCE} + */ + public static final String VAR_RESOURCE = org.eclipse.core.externaltools.internal.IExternalToolConstants.VAR_RESOURCE; + /** + * Variable that expands to the working set object (value <code>working_set</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#VAR_WORKING_SET} + */ + public static final String VAR_WORKING_SET = org.eclipse.core.externaltools.internal.IExternalToolConstants.VAR_WORKING_SET; + // ------- Tool Types ------- + /** + * External tool type for programs such as executables, batch files, + * shell scripts, etc (value <code>programType</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#TOOL_TYPE_PROGRAM} + */ + public static final String TOOL_TYPE_PROGRAM = org.eclipse.core.externaltools.internal.IExternalToolConstants.TOOL_TYPE_PROGRAM; + + // ------- Build Types ------- + /** + * Build type indicating an incremental project build request for + * the external tool running as a builder (value <code>incremental</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#BUILD_TYPE_INCREMENTAL} + */ + public static final String BUILD_TYPE_INCREMENTAL = org.eclipse.core.externaltools.internal.IExternalToolConstants.BUILD_TYPE_INCREMENTAL; + + /** + * Build type indicating a full project build request for + * the external tool running as a builder (value <code>full</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#BUILD_TYPE_FULL} + */ + public static final String BUILD_TYPE_FULL = org.eclipse.core.externaltools.internal.IExternalToolConstants.BUILD_TYPE_FULL; + + /** + * Build type indicating an automatic project build request for + * the external tool running as a builder (value <code>auto</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#BUILD_TYPE_AUTO} + */ + public static final String BUILD_TYPE_AUTO = org.eclipse.core.externaltools.internal.IExternalToolConstants.BUILD_TYPE_AUTO; + + /** + * Build type indicating a clean project build request for + * the external tool running as a builder (value <code>clean</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#BUILD_TYPE_CLEAN} + */ + public static final String BUILD_TYPE_CLEAN = org.eclipse.core.externaltools.internal.IExternalToolConstants.BUILD_TYPE_CLEAN; + + /** + * Build type indicating no project build request for + * the external tool running as a builder (value <code>none</code>). + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#BUILD_TYPE_NONE} + */ + public static final String BUILD_TYPE_NONE = org.eclipse.core.externaltools.internal.IExternalToolConstants.BUILD_TYPE_NONE; + + // ------- Images ------- + + /** + * Main tab image. + */ + public static final String IMG_TAB_MAIN = PLUGIN_ID + ".IMG_TAB_MAIN"; //$NON-NLS-1$ + + /** + * Build tab image + */ + public static final String IMG_TAB_BUILD = PLUGIN_ID + ".IMG_TAB_BUILD"; //$NON-NLS-1$ + + // ------- Launch configuration types -------- + /** + * Program launch configuration type identifier. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ID_PROGRAM_LAUNCH_CONFIGURATION_TYPE} + */ + public static final String ID_PROGRAM_LAUNCH_CONFIGURATION_TYPE = org.eclipse.core.externaltools.internal.IExternalToolConstants.ID_PROGRAM_LAUNCH_CONFIGURATION_TYPE; + + /** + * Program builder launch configuration type identifier. Program project + * builders are of this type. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ID_PROGRAM_BUILDER_LAUNCH_CONFIGURATION_TYPE} + */ + public static final String ID_PROGRAM_BUILDER_LAUNCH_CONFIGURATION_TYPE = org.eclipse.core.externaltools.internal.IExternalToolConstants.ID_PROGRAM_BUILDER_LAUNCH_CONFIGURATION_TYPE; + + // ------- Launch configuration category -------- + /** + * Identifier for external tools launch configuration category. Launch + * configuration types for external tools that appear in the external tools + * launch configuration dialog should belong to this category. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ID_EXTERNAL_TOOLS_LAUNCH_CATEGORY} + */ + public static final String ID_EXTERNAL_TOOLS_LAUNCH_CATEGORY = org.eclipse.core.externaltools.internal.IExternalToolConstants.ID_EXTERNAL_TOOLS_LAUNCH_CATEGORY; + /** + * Identifier for external tools launch configuration builders category. + * Launch configuration types that can be added as project builders should + * belong to this category. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_CATEGORY} + */ + public static final String ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_CATEGORY = org.eclipse.core.externaltools.internal.IExternalToolConstants.ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_CATEGORY; + + // ------- Launch configuration groups -------- + /** + * Identifier for external tools launch configuration group. The external + * tools launch configuration group corresponds to the external tools + * category in run mode. + */ + public static final String ID_EXTERNAL_TOOLS_LAUNCH_GROUP = "org.eclipse.ui.externaltools.launchGroup"; //$NON-NLS-1$ + /** + * Identifier for external tools launch configuration group + */ + public static final String ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_GROUP = "org.eclipse.ui.externaltools.launchGroup.builder"; //$NON-NLS-1$ + + // ------- Common External Tool Launch Configuration Attributes ------- + + /** + * Boolean attribute indicating if external tool output should be captured. + * Default value is <code>false</code>. + * @deprecated since 3.1 Replaced by <code>org.eclipse.debug.core.DebugPlugin.ATTR_CAPTURE_OUTPUT</code> + */ + public static final String ATTR_CAPTURE_OUTPUT = PLUGIN_ID + ".ATTR_CAPTURE_OUTPUT"; //$NON-NLS-1$ + /** + * String attribute identifying the location of an external. Default value + * is <code>null</code>. Encoding is tool specific. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_LOCATION} + */ + public static final String ATTR_LOCATION = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_LOCATION; + + /** + * Boolean attribute indicating if the user should be prompted for + * arguments before running a tool. Default value is <code>false</code>. + * THIS ATTRIBUTE IS NOT USED. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_PROMPT_FOR_ARGUMENTS} + */ + public static final String ATTR_PROMPT_FOR_ARGUMENTS = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_PROMPT_FOR_ARGUMENTS; + + /** + * String attribute identifying the scope of resources that should trigger an + * external tool to run. Default value is <code>null</code> + * indicating that the builder will be triggered for all changes. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_BUILDER_SCOPE} + */ + public static final String ATTR_BUILDER_SCOPE = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_BUILDER_SCOPE; + + /** + * String attribute containing an array of build kinds for which an + * external tool builder should be run. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_RUN_BUILD_KINDS} + */ + public static final String ATTR_RUN_BUILD_KINDS = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_RUN_BUILD_KINDS; + + /** + * Boolean attribute indicating if the console should be shown on external + * tool output. Default value is <code>false</code>. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_SHOW_CONSOLE} + */ + public static final String ATTR_SHOW_CONSOLE = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_SHOW_CONSOLE; + + /** + * String attribute containing the arguments that should be passed to the + * tool. Default value is <code>null</code>, and encoding is tool specific. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_TOOL_ARGUMENTS} + */ + public static final String ATTR_TOOL_ARGUMENTS = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_TOOL_ARGUMENTS; + + /** + * String attribute identifying the working directory of an external tool. + * Default value is <code>null</code>, which indicates a default working + * directory, which is tool specific. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_WORKING_DIRECTORY} + */ + public static final String ATTR_WORKING_DIRECTORY = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_WORKING_DIRECTORY; + + /** + * String attribute identifying whether an external tool builder configuration + * is enabled. The default value is <code>true</code>, which indicates + * that the configuration will be executed as appropriate by the builder. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_BUILDER_ENABLED} + */ + public static final String ATTR_BUILDER_ENABLED = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_BUILDER_ENABLED; + + /** + * Status code indicating an unexpected internal error. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ERR_INTERNAL_ERROR} + */ + public static final int ERR_INTERNAL_ERROR = org.eclipse.core.externaltools.internal.IExternalToolConstants.ERR_INTERNAL_ERROR; + + /** + * String attribute identifying a non-external tool builder launch configuration that is disabled + * The value is the name of the disabled builder. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_DISABLED_BUILDER} + */ + public static final String ATTR_DISABLED_BUILDER = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_DISABLED_BUILDER; + + /** + * boolean attribute identifying that an external tool builder has been configured for triggering + * using the <code>ICommand.setBuilding(int)</code> mechanism + * @since 3.1 + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_TRIGGERS_CONFIGURED} + */ + public static final String ATTR_TRIGGERS_CONFIGURED = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_TRIGGERS_CONFIGURED; + + /** + * String attribute identifying the build scope for a launch configuration. + * <code>null</code> indicates the default workspace build. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_BUILD_SCOPE} + */ + public static final String ATTR_BUILD_SCOPE = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_BUILD_SCOPE; + + /** + * Attribute identifier specifying whether referenced projects should be + * considered when computing the projects to build. Default value is + * <code>true</code>. + * @deprecated use {@link org.eclipse.core.externaltools.internal.IExternalToolConstants#ATTR_INCLUDE_REFERENCED_PROJECTS} + */ + public static final String ATTR_INCLUDE_REFERENCED_PROJECTS = org.eclipse.core.externaltools.internal.IExternalToolConstants.ATTR_INCLUDE_REFERENCED_PROJECTS; +} diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java index cbe01d51a..8c3694ee4 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java @@ -629,7 +629,7 @@ public final class BuilderPropertyPage extends PropertyPage implements ICheckSta if (shell == null) { return Window.CANCEL; } - int code= DebugUITools.openLaunchConfigurationPropertiesDialog(shell, config, IExternalToolConstants.ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_GROUP); + int code= DebugUITools.openLaunchConfigurationPropertiesDialog(shell, config, org.eclipse.ui.externaltools.internal.model.IExternalToolConstants.ID_EXTERNAL_TOOLS_BUILDER_LAUNCH_GROUP); manager.removeLaunchConfigurationListener(configurationListener); return code; } diff --git a/org.eclipse.ui.externaltools/plugin.properties b/org.eclipse.ui.externaltools/plugin.properties index 627443b51..fa9aba8b5 100644 --- a/org.eclipse.ui.externaltools/plugin.properties +++ b/org.eclipse.ui.externaltools/plugin.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2000, 2007 IBM Corporation and others. +# Copyright (c) 2000, 2009 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at diff --git a/org.eclipse.ui.externaltools/plugin.xml b/org.eclipse.ui.externaltools/plugin.xml index f772d7806..faa0222c5 100644 --- a/org.eclipse.ui.externaltools/plugin.xml +++ b/org.eclipse.ui.externaltools/plugin.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?>
<!-- - Copyright (c) 2005, 2007 IBM Corporation and others. - All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html - - Contributors: + Copyright (c) 2005, 2009 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: IBM Corporation - initial API and implementation --> |