Interface ModelInitializer.IModelInitializer
- All Known Implementing Classes:
AbstractModelInitializer
- Enclosing class:
ModelInitializer
public static interface ModelInitializer.IModelInitializer
Defines the interface of an initializer.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocation(File location, ProgressObserver observer) Adds a model location to the end of the list of existing locations.voidaddLocationToFront(File location, ProgressObserver observer) Adds a model location to the beginning of the list of existing locations.voidregisterLoader(ProgressObserver observer) Registers the default model loader instance.voidremoveLocation(File location, ProgressObserver observer) Adds a model location.voidunregisterLoader(ProgressObserver observer) Unregisters the default model loader.
-
Method Details
-
addLocation
Adds a model location to the end of the list of existing locations.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
addLocationToFront
Adds a model location to the beginning of the list of existing locations.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
removeLocation
Adds a model location.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
registerLoader
Registers the default model loader instance.- Parameters:
observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
unregisterLoader
Unregisters the default model loader.- Parameters:
observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-