blob: 133160c63b6c6fe0f24619540d693b90fb0360a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.debug.ui.actions;
import org.eclipse.jdt.internal.debug.ui.IJDIPreferencesConstants;
/**
* Shows non-final static variables
*/
public class ShowStaticVariablesAction extends ToggleBooleanPreferenceAction {
public ShowStaticVariablesAction() {
super();
}
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.ui.actions.ViewFilterAction#getPreferenceKey()
*/
@Override
protected String getPreferenceKey() {
return IJDIPreferencesConstants.PREF_SHOW_STATIC_VARIABLES;
}
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.ui.actions.ToggleBooleanPreferenceAction#getViewKey()
*/
@Override
protected String getViewKey() {
return getCompositeKey();
}
}