*/
protected void initModel(ProgressMonitor rMonitor)
throws UserNotificationException
{
RecordStore aRS = null;
HierarchicalRecordStorage aHRS = null;
if (aDataModel == null)
{
try
{
aRS = RecordStore.openRecordStore(RECORDSTORE_NAME, true);
aHRS = new HierarchicalRecordStorage(aRS);
aDataModel = new MicroSafeModel(aHRS);
aDataModel.setProgressMonitor(rMonitor);
aDataModel.initFromStorage();
// init will read the data completely; reset the storage to free
// allocated resources like streams and buffers
aHRS.reset();
}
catch (Exception e)
{
throw new UserNotificationException(getString("JL_MtError"),
getString("MsInitMdl"), e);