01: /*******************************************************************************
02: * Copyright (c) 2007 MyGWT and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Darrell Meyer <darrell@mygwt.net> - initial API and implementation
10: *******************************************************************************/package net.mygwt.ui.client.viewer;
11:
12: /**
13: * Asynchronous <code>ContentProvider</code> data callback.
14: */
15: public interface IAsyncContentCallback {
16:
17: /**
18: * Returns the elements to the source viewer. <code>null</code> if the data
19: * is unable to be retrieved.
20: *
21: * @param elements the elements
22: */
23: public void setElements(Object[] elements);
24:
25: }
|