public class PanelGroupLoaderFromExtensionPoint extends Object implements IPanelGroupLoader, Serializable
Panel loader version that loads AbstractPanel
classes
registered as a extension point.
IPanelGroupLoader
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
PanelGroupLoaderFromExtensionPoint.ListCouldntLoadPanelFromExtensionPointException
Exception produced when fails the load of a panel by a loader of type
PanelGroupLoaderFromExtensionPoint . |
Constructor and Description |
---|
PanelGroupLoaderFromExtensionPoint(String id)
Initializes this loader.
|
Modifier and Type | Method and Description |
---|---|
void |
loadPanels(ArrayList<IPanel> panels)
Loads and returns all
AbstractPanel registered as an ExtensionPoint |
public PanelGroupLoaderFromExtensionPoint(String id)
Initializes this loader.
id
- extension point identifierpublic void loadPanels(ArrayList<IPanel> panels) throws ListCouldntLoadPanelException
IPanelGroupLoader
Loads and returns all AbstractPanel
registered as an ExtensionPoint
loadPanels
in interface IPanelGroupLoader
panels
- array with the panels or null
if hasn't been registered any in that extension point, or that extension point didn't exitListCouldntLoadPanelException