Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libUIComponent / src / org / gvsig / gui / beans / panelGroup / loaders / IPanelGroupLoader.java @ 27723

History | View | Annotate | Download (1.83 KB)

1 15734 vcaballero
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19
20
package org.gvsig.gui.beans.panelGroup.loaders;
21
22 17543 jmvivo
import java.util.ArrayList;
23
24 17026 vcaballero
import org.gvsig.gui.beans.panelGroup.exceptions.ListCouldntLoadPanelException;
25 15734 vcaballero
import org.gvsig.gui.beans.panelGroup.panels.AbstractPanel;
26 17026 vcaballero
import org.gvsig.gui.beans.panelGroup.panels.IPanel;
27 15734 vcaballero
28
/**
29
 * <p>Interface for all loaders which return an array of {@link AbstractPanel AbstractPanel}
30
 *  registered as an {@link ExtensionPoint ExtensionPoint}.</p>
31
 *
32
 * @version 15/10/2007
33
 * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
34
 */
35
public interface IPanelGroupLoader {
36
        /**
37
         * <p>Loads and returns all <code>AbstractPanel</code> registered as an {@link ExtensionPoint ExtensionPoint}</p>
38
         *
39 17543 jmvivo
         * @param panels array with the panels or <code>null</code> if hasn't been registered any in that extension point, or that extension point didn't exit
40
         *
41 15734 vcaballero
         * @throws Exception last exception produced loading the panels
42
         */
43 17543 jmvivo
        public abstract void loadPanels(ArrayList<IPanel> panels) throws ListCouldntLoadPanelException;
44 15734 vcaballero
}