blob: f0543d23fbd3434c7d6438c3e1da42902bb37ee2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 20057 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 static final variables (constants)
*/
public class ShowConstantsAction extends ToggleBooleanPreferenceAction {
public ShowConstantsAction() {
super();
}
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.ui.actions.ViewFilterAction#getPreferenceKey()
*/
@Override
protected String getPreferenceKey() {
return IJDIPreferencesConstants.PREF_SHOW_CONSTANTS;
}
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.ui.actions.ToggleBooleanPreferenceAction#getViewKey()
*/
@Override
protected String getViewKey() {
return getCompositeKey();
}
}