Class PanelGroupLoaderFromList
java.lang.Object
org.gvsig.gui.beans.panelGroup.loaders.PanelGroupLoaderFromList
- All Implemented Interfaces:
Serializable,IPanelGroupLoader
Panel loader version that doesn't load the panels, only stores and returns them.
This loader is useful to mask the load of panels and eliminate the dependence to the extension points, and, consequently, the dependence between the libUIComponents project to other projects.
This loader is used together with
(allocated
in other project), that is which really loads the panels. First use invalid reference
PanelGroupLoaderUtilitiesPanelGroupLoaderUtilities
and after PanelGroupLoaderFromList.
- Version:
- 15/10/2007
- Author:
- Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassException produced when fails the load of a panel by a loader of typePanelGroupLoaderFromList. -
Constructor Summary
ConstructorsConstructorDescriptionPanelGroupLoaderFromList(Class<IPanel>[] list) Initializes this loader with the panels. -
Method Summary
Modifier and TypeMethodDescriptionvoidloadPanels(ArrayList<IPanel> panels) Loads and returns allAbstractPanelregistered as aninvalid reference
ExtensionPoint
-
Constructor Details
-
PanelGroupLoaderFromList
Initializes this loader with the panels.
- Parameters:
list- array with the panels that this loader supposedly load
-
-
Method Details
-
loadPanels
Description copied from interface:IPanelGroupLoaderLoads and returns all
AbstractPanelregistered as aninvalid reference
ExtensionPoint- Specified by:
loadPanelsin interfaceIPanelGroupLoader- Parameters:
panels- array with the panels ornullif hasn't been registered any in that extension point, or that extension point didn't exit- Throws:
ListCouldntLoadPanelException
-