1 /*******************************************************************************
2  * Copyright (c) 2004, 2011 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.jdt.internal.debug.ui.actions;
15 
16 import org.eclipse.jdt.debug.ui.IJavaDebugUIConstants;
17 
18 /**
19  * Toggle to display the thread and monitor information in the debug view.
20  */
21 public class ShowMonitorThreadInformation extends ToggleBooleanPreferenceAction {
22 
23 	/* (non-Javadoc)
24 	 * @see org.eclipse.jdt.internal.debug.ui.actions.ViewFilterAction#getPreferenceKey()
25 	 */
26 	@Override
getPreferenceKey()27 	protected String getPreferenceKey() {
28 		return IJavaDebugUIConstants.PREF_SHOW_MONITOR_THREAD_INFO;
29 	}
30 
31 	/* (non-Javadoc)
32 	 * @see org.eclipse.jdt.internal.debug.ui.actions.ViewFilterAction#getCompositeKey()
33 	 */
34 	@Override
getCompositeKey()35 	protected String getCompositeKey() {
36 		return getPreferenceKey();
37 	}
38 }
39