Interface ModelInitializer.IModelInitializer

    • Method Detail

      • addLocation

        void addLocation​(java.io.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​(java.io.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​(java.io.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