View Javadoc
1   package org.argeo.eclipse.ui;
2   
3   import java.util.List;
4   
5   /**
6    * Views and editors can implement this interface so that one of the list that
7    * is displayed in the part (For instance in a Table or a Tree Viewer) can be
8    * rebuilt externally. Typically to generate csv or calc extract.
9    */
10  public interface IListProvider {
11  	/**
12  	 * Returns an array of current and relevant elements
13  	 */
14  	public Object[] getElements(String extractId);
15  
16  	/**
17  	 * Returns the column definition for passed ID
18  	 */
19  	public List<ColumnDefinition> getColumnDefinition(String extractId);
20  }