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 Details

    • addLocation

      void addLocation(File location, ProgressObserver observer) throws ModelManagementException
      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

      void addLocationToFront(File location, ProgressObserver observer) throws ModelManagementException
      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

      void removeLocation(File location, ProgressObserver observer) throws ModelManagementException
      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

      void registerLoader(ProgressObserver observer) throws ModelManagementException
      Registers the default model loader instance.
      Parameters:
      observer - the progress observer
      Throws:
      ModelManagementException - in case of problems registering the location
    • unregisterLoader

      void unregisterLoader(ProgressObserver observer) throws ModelManagementException
      Unregisters the default model loader.
      Parameters:
      observer - the progress observer
      Throws:
      ModelManagementException - in case of problems registering the location