blob: 91d90ef1044c37b3a9be99c7d85e048f7b08a871 [file] [log] [blame]
/*****************************************************************
* Copyright (c) 2009 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)
*****************************************************************/
package org.eclipse.debug.internal.ui.viewers.model.provisional;
/**
* Label update which allows the label provider to set the checked element state.
* The label provider can use the presentation context to determine whether the
* viewer is showing item check boxes.
*
* @since 3.6
*/
public interface ICheckUpdate extends ILabelUpdate {
/**
* Property of the presentation context which indicates that the viewer
* has the check box style.
*/
public static final String PROP_CHECK = "org.eclipse.debug.ui.check"; //$NON-NLS-1$
/**
* Sets the check state of the tree node.
*
* @param checked
* @param grayed
*/
public void setChecked(boolean checked, boolean grayed);
}