1 /*
2 * This file is a part of CAST project.
3 * (c) Copyright 2007, AGH University of Science & Technology
4 * https://caribou.iisg.agh.edu.pl/trac/cast
5 *
6 * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 * http://www.eclipse.org/legal/epl-v10.html
10 */
11 /*
12 * File: INavigatorProvider.java
13 * Created: 2009-07-14
14 * Author: czerwin
15 * $Id$
16 */
17
18 package pl.edu.agh.cast.navigator;
19
20 import java.util.List;
21
22 /**
23 * Interface for navigator providers.
24 *
25 * @author AGH CAST Team
26 */
27 public interface INavigatorItemProvider extends INavigatorTreeItem {
28
29 /**
30 * Returns navigator tree items specific for concrete navigator provider.
31 *
32 * @return list of children
33 */
34 public List<INavigatorTreeItem> getItems();
35
36 /**
37 * Sets item provider label.
38 *
39 * @param label
40 * the item provider label to set
41 */
42 public void setLabel(String label);
43
44 /**
45 * (Re)loads the items.
46 */
47 public void loadItems();
48
49 }