blob: 7171e03a6b7f12ed7bc08baf736a4e584d110b39 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2005 IBM Corporation 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:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.ui.internal.viewers;
/**
* Extends <code>ITableLabelProvider</code> with methods to provide
* lock information.
*/
public interface ILockedLabelProvider {
/**
* Returns the lock info for the element. This value will be used
* to change the presentation of the table row.
*
* @param element the object representing the entire row, or
* <code>null</code> indicating that no input object is set
* in the viewer
* @return <code>true</code> if the item is locked, and <code>false</code>
* otherwise
*/
public boolean isLocked(Object element);
}