blob: 8748590ea04d678113d4069042b3ab1c2aa4dc3d [file] [log] [blame]
package org.eclipse.dltk.python.internal.debug.ui.handlers;
import org.eclipse.dltk.debug.ui.handlers.AbstractToggleLocalVariableHandler;
import org.eclipse.dltk.python.internal.debug.PythonDebugConstants;
import org.eclipse.dltk.python.internal.debug.PythonDebugPlugin;
import org.eclipse.dltk.ui.PreferencesAdapter;
import org.eclipse.jface.preference.IPreferenceStore;
/**
* Toggles the display of Python local variables in the debug 'Variables' view
*/
public class ToggleLocalVariablesHandler extends
AbstractToggleLocalVariableHandler {
@Override
protected String getModelId() {
return PythonDebugConstants.DEBUG_MODEL_ID;
}
@Override
protected IPreferenceStore getPreferenceStore() {
return new PreferencesAdapter(PythonDebugPlugin.getDefault()
.getPluginPreferences());
}
}