blob: ce1de18916dcc759180ff8c0df74e0d9acad2ba4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Matthew Hall 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:
* Matthew Hall - initial API and implementation (bug 264286)
*******************************************************************************/
package org.eclipse.jface.databinding.viewers;
import org.eclipse.core.databinding.property.list.IListProperty;
import org.eclipse.jface.viewers.Viewer;
/**
* {@link IListProperty} for observing a JFace viewer
*
* @param <S>
*
* @since 1.3
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IViewerListProperty<S extends Viewer> extends
IListProperty<S, Object> {
/**
* Returns an {@link IViewerObservableList} observing this list property on
* the given viewer
*
* @param viewer
* the source viewer
* @return an observable list observing this list property on the given
* viewer
*/
public IViewerObservableList<S> observe(S viewer);
}