mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 343867 - EvaluationContextManager unnecessarily triggers loading of org.eclipse.cdt.debug.ui
This commit is contained in:
parent
04f74e7829
commit
d5d371784d
1 changed files with 6 additions and 2 deletions
|
@ -15,7 +15,6 @@ package org.eclipse.cdt.dsf.debug.internal.ui;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
|
||||
import org.eclipse.cdt.dsf.ui.viewmodel.datamodel.IDMVMContext;
|
||||
import org.eclipse.debug.ui.IDebugUIConstants;
|
||||
import org.eclipse.jface.viewers.ISelection;
|
||||
|
@ -42,8 +41,13 @@ import org.eclipse.ui.PlatformUI;
|
|||
*/
|
||||
public class EvaluationContextManager implements IWindowListener, IPageListener, ISelectionListener, IPartListener2 {
|
||||
|
||||
// Avoid referencing the cdt.debug.ui plugin for this constnat so that the
|
||||
// cdt.debug.ui is not automatically activated
|
||||
// Bug 343867.
|
||||
private static final String CDT_DEBUG_UI_PLUGIN_ID = "org.eclipse.cdt.debug.ui"; //$NON-NLS-1$
|
||||
|
||||
// Must use the same ID than the base CDT uses since we want to enable actions that are registered by base CDT.
|
||||
private final static String DEBUGGER_ACTIVE = CDebugUIPlugin.getUniqueIdentifier() + ".debuggerActive"; //$NON-NLS-1$
|
||||
private final static String DEBUGGER_ACTIVE = CDT_DEBUG_UI_PLUGIN_ID + ".debuggerActive"; //$NON-NLS-1$
|
||||
|
||||
protected static EvaluationContextManager fgManager;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue