public class PanelGroupLoaderFromExtensionPoint extends java.lang.Object implements IPanelGroupLoader, java.io.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(java.lang.String id)
Initializes this loader.
|
Modifier and Type | Method and Description |
---|---|
void |
loadPanels(java.util.ArrayList<IPanel> panels)
Loads and returns all
AbstractPanel registered as an ExtensionPoint |
public PanelGroupLoaderFromExtensionPoint(java.lang.String id)
Initializes this loader.
id
- extension point identifierpublic void loadPanels(java.util.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