View Javadoc

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: IVisualResourcesProvider.java
13   * Created: 2009-07-17
14   * Author: kpietak
15   * $Id$
16   */
17  
18  package pl.edu.agh.cast.resource;
19  
20  import java.util.List;
21  
22  /**
23   * <p>
24   * A class responsible for providing visual resources to the resource registry. Classes implementing this interface can
25   * extend <code>pl.edu.agh.cast.resource.provider</code> point to provide custom visual resources.
26   *
27   * <p>
28   * The programmer should not implement this interface but rather extend default abstract implementation:
29   * {@link AbstractVisualResourcesProvider}.
30   *
31   * @see IVisualResource
32   * @see IResourceRegistry
33   *
34   * @author AGH CAST Team
35   */
36  public interface IVisualResourcesProvider {
37  
38  	/**
39  	 * Returns list of initialized visual resources which can be registered by {@link IResourceRegistry}.
40  	 *
41  	 * @return list of visual resources
42  	 */
43  	public List<IVisualResource> getVisualResources();
44  }