Package repast.simphony.util.wizard
Class WizardPluginUtil
java.lang.Object
repast.simphony.util.wizard.WizardPluginUtil
Utilities for working with plugin-able wizards. This helps in loading settings for a wizard whose
 options are loaded from plugin descriptions (plugin.xml's).
- Author:
 - Jerry Vos
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends WizardOption>
List<T>loadWizardOptions(org.java.plugin.PluginManager manager, Class<T> baseOptionClass, String extensionPointPluginId, String extensionPointId, boolean register) RetrievesWizardOptions of the specified type from the plugin manager. 
- 
Field Details
- 
CLASS_KEY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
WizardPluginUtil
public WizardPluginUtil() 
 - 
 - 
Method Details
- 
loadWizardOptions
public static <T extends WizardOption> List<T> loadWizardOptions(org.java.plugin.PluginManager manager, Class<T> baseOptionClass, String extensionPointPluginId, String extensionPointId, boolean register) RetrievesWizardOptions of the specified type from the plugin manager. The options are read in from the specified plugin and extension point. The extension point is assumed to contain a class field (CLASS_KEY) that specifies the class of the wizard option. If the register option is true, this will register the loaded options into theDynamicWizardwith the extensionPointId as the wizardId.- Parameters:
 manager- the plugin manager that the extension points will be retrieved frombaseOptionClass- the option class (cannot be null as it is used for casting)extensionPointPluginId- the id of the plugin that the extension point is declared inextensionPointId- the id of the extension point that the wizard options will be registered toregister- whether or not to register the loaded plugins to theDynamicWizard- Returns:
 - all the options that could be instantiated from the specified point
 - See Also:
 
 
 -