Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a66daf7e23c0849e88b813b76b89144459e4292c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*****************************************************************
 * Copyright (c) 2009, 2013 Texas Instruments 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:
 *     Patrick Chuong (Texas Instruments) - Initial API and implementation (Bug 286310)
 *     IBM Corporation - ongoing maintenance and enhancements
 *****************************************************************/
package org.eclipse.debug.examples.ui.pda.views;

import org.eclipse.debug.internal.ui.views.variables.VariablesView;
import org.eclipse.swt.SWT;

public class CheckboxView extends VariablesView {
	public static String ID = "CHECKBOX_VIEW_ID"; //$NON-NLS-1$
	
	@Override
	protected int getViewerStyle() {
		return SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL | SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.CHECK;
	}
	
	@Override
	protected String getHelpContextId() {
		return ID;
	}
	
	@Override
	protected String getPresentationContextId() {	
		return ID;
	}
}

Back to the top