Mercurial > projects > dwt2
view org.eclipse.core.databinding.observable/src/org/eclipse/core/internal/databinding/observable/tree/IViewerUpdate.d @ 96:b74ac5dfcc06
package to module and java.lang.all import
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 21 Apr 2009 11:03:33 +0200 |
parents | 6208d4f6a277 |
children | c86eb8b3098e |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2006, 2007 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 *******************************************************************************/ module org.eclipse.core.internal.databinding.observable.tree.IViewerUpdate; import java.lang.all; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; /** * A context sensitive viewer update request. * * @since 3.3 */ public interface IViewerUpdate : IProgressMonitor { /** * Sets the status of this request, possibly <code>null</code>. * When a request fails, the status indicates why the request failed. * A <code>null</code> status is considered to be successful. * * @param status request status */ public void setStatus(IStatus status); /** * Returns the status of this request, or <code>null</code>. * * @return request status or <code>null</code> */ public IStatus getStatus(); /** * Returns the model element corresponding to the given tree path. * Returns the root element for the empty path. * * @param path viewer tree path * @return corresponding model element */ public Object getElement(TreePath path); }