Package PamController.settings
Class SettingsImportGroup
java.lang.Object
PamController.settings.SettingsImportGroup
Slightly more than a standard settings. Since there is no real association
between settings and modules, the settings who's parent class is a PamControlledUnit
will be listed, then any other settings which have the same name will get lumped with them.
- Author:
- Doug
-
Constructor Summary
ConstructorDescriptionSettingsImportGroup
(PamControlledUnitSettings mainSettings, UsedModuleInfo moduleInfo) Constructor takes the main settingsSettingsImportGroup
(UsedModuleInfo moduleInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubSettings
(PamControlledUnitSettings subSetting) add sub settings which seem somehow related to the main setting.this is the module information held in the PamModel which is used to create a module.This is the information from an existing module, which may not have the full class name, but does have the type and name of the module being imported.void
setImportChoice
(ImportChoice importChoice) void
setMainSettings
(PamControlledUnitSettings mainSettings)
-
Constructor Details
-
SettingsImportGroup
-
SettingsImportGroup
Constructor takes the main settings- Parameters:
mainSettings
-moduleInfo
-
-
-
Method Details
-
addSubSettings
add sub settings which seem somehow related to the main setting.- Parameters:
subSetting
-
-
getMainSettings
- Returns:
- the mainSettings
-
getSubSettings
- Returns:
- the subSettings
-
getImportChoices
- Returns:
- the importChoices
-
getImportChoice
- Returns:
- the importChoice
-
setImportChoice
- Parameters:
importChoice
- the importChoice to set
-
getUsedModuleInfo
This is the information from an existing module, which may not have the full class name, but does have the type and name of the module being imported.- Returns:
- the moduleInfo
-
getPamModuleInfo
this is the module information held in the PamModel which is used to create a module.- Returns:
-
setMainSettings
- Parameters:
mainSettings
- the mainSettings to set
-