blob: ef3ebce1bd3145c2d2e2515ff549efe6c4802d7b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Jae Gangemi 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:
* Jae Gangemi - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.tcl.internal.debug.ui.handlers;
import org.eclipse.dltk.debug.ui.handlers.AbstractToggleLocalVariableHandler;
import org.eclipse.dltk.tcl.internal.debug.TclDebugConstants;
import org.eclipse.dltk.tcl.internal.debug.TclDebugPlugin;
import org.eclipse.dltk.ui.PreferencesAdapter;
import org.eclipse.jface.preference.IPreferenceStore;
/**
* Toggles the display of tcl local variables in the debug 'Variables' view
*/
public class ToggleLocalVariablesHandler extends AbstractToggleLocalVariableHandler {
@Override
protected String getModelId() {
return TclDebugConstants.DEBUG_MODEL_ID;
}
@Override
protected IPreferenceStore getPreferenceStore() {
return new PreferencesAdapter(TclDebugPlugin.getDefault().getPluginPreferences());
}
}