package jas2.jds.module;
import hepjas.analysis.*;
import jas2.util.tree.*;

/**
 * Implement this interface to create an event source where event sources
 * and histograms can be represented on the application's job tree.
 */
public interface AnnotatedEventSource extends EventSource, TreeObjectSource
{
	/** Return the items to be displayed on the tree.  Normally, have one for each field in the data set.  */
	public TreeItem[] getItems();

	/** Return the histogram or event source that corresponds to the given tree item. */
	public Object getItem(TreeItem i);
}

 

Ads help maintain this website.