diff options
author | John Cortell | 2010-06-17 18:30:47 +0000 |
---|---|---|
committer | John Cortell | 2010-06-17 18:30:47 +0000 |
commit | c39daa9ca9c9a3652eefb6cb861a6e0ae3756ce9 (patch) | |
tree | 44bd4e413a1b0d5ff4241dbe470d8c9f65dfcf05 /dsf | |
parent | b1aa24fe34aa9491aa082c067663165da9506bd8 (diff) | |
download | org.eclipse.cdt-c39daa9ca9c9a3652eefb6cb861a6e0ae3756ce9.tar.gz org.eclipse.cdt-c39daa9ca9c9a3652eefb6cb861a6e0ae3756ce9.tar.xz org.eclipse.cdt-c39daa9ca9c9a3652eefb6cb861a6e0ae3756ce9.zip |
Bug 316987: Show full paths preference under C/C++->Debug is not really necessary
Diffstat (limited to 'dsf')
-rw-r--r-- | dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/IDsfDebugUIConstants.java | 4 | ||||
-rw-r--r-- | dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfLaunch.java | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/IDsfDebugUIConstants.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/IDsfDebugUIConstants.java index a584751f1c1..5df843145a1 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/IDsfDebugUIConstants.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/IDsfDebugUIConstants.java @@ -10,7 +10,7 @@ *******************************************************************************/ package org.eclipse.cdt.dsf.debug.ui; -import org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction; +import org.eclipse.cdt.debug.internal.core.ICDebugInternalConstants; import org.eclipse.cdt.dsf.internal.ui.DsfUIPlugin; import org.eclipse.debug.ui.IDebugUIConstants; @@ -94,5 +94,5 @@ public interface IDsfDebugUIConstants { * The value of this id must match what is being used as a full key in ShowFullPathsAction.run() * * @since 2.1 */ - public static final String DEBUG_VIEW_SHOW_FULL_PATH_PROPERTY = IDebugUIConstants.ID_DEBUG_VIEW + "." + ShowFullPathsAction.PREF_KEY; //$NON-NLS-1$ + public static final String DEBUG_VIEW_SHOW_FULL_PATH_PROPERTY = IDebugUIConstants.ID_DEBUG_VIEW + "." + ICDebugInternalConstants.SHOW_FULL_PATHS_PREF_KEY; //$NON-NLS-1$ } diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfLaunch.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfLaunch.java index 896a0e7bddf..e0d81ea81cc 100644 --- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfLaunch.java +++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfLaunch.java @@ -10,6 +10,7 @@ *******************************************************************************/ package org.eclipse.cdt.dsf.debug.model; +import org.eclipse.cdt.debug.internal.core.ICDebugInternalConstants; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.ILaunchConfiguration; import org.eclipse.debug.core.Launch; @@ -24,20 +25,13 @@ import org.eclipse.debug.core.model.ISourceLocator; */ public class DsfLaunch extends Launch { - /* - * Used to indicate that this launch supports the "Show Full Path" action in the debug view. - * This constant must have the same value as ICDebugPreferenceConstants.PREF_SHOW_FULL_PATHS - * We have our own copy to avoid a dependency. - */ - private static final String PREF_SHOW_FULL_PATHS = "org.eclipse.cdt.debug.ui.cDebug.show_full_paths"; //$NON-NLS-1$ - public DsfLaunch(ILaunchConfiguration launchConfiguration, String mode, ISourceLocator locator) { super(launchConfiguration, mode, locator); // Just set this attribute to any value. It's presence indicates that the // "Show Full Path" action is supported in the debug view. // see org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction - setAttribute(PREF_SHOW_FULL_PATHS, ""); //$NON-NLS-1$ + setAttribute(ICDebugInternalConstants.SHOW_FULL_PATHS_PREF_KEY, ""); //$NON-NLS-1$ } @Override |