Fixed Landmarks

Debug so they don't disappear whenever viewer data are reloaded.
This commit is contained in:
Douglas Gillespie 2022-12-12 17:00:19 +00:00
parent e7a67d33cf
commit 1be8a5ee83
2 changed files with 13 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class LandmarkControl extends PamControlledUnit implements PamSettings {
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) {
landmarkDatas = ((LandmarkDatas) pamControlledUnitSettings.getSettings()).clone();
landmarkDataBlock.createDataUnits(landmarkDatas);
return true;
}

View File

@ -4,7 +4,9 @@ import PamUtils.PamCalendar;
import PamView.symbol.StandardSymbolManager;
import PamguardMVC.PamDataBlock;
import PamguardMVC.PamProcess;
import PamguardMVC.dataOffline.OfflineDataLoadInfo;
import autecPhones.AutecGraphics;
import pamScrollSystem.ViewLoadObserver;
public class LandmarkDataBlock extends PamDataBlock<LandmarkDataUnit> {
@ -31,4 +33,14 @@ public class LandmarkDataBlock extends PamDataBlock<LandmarkDataUnit> {
}
}
@Override
public boolean loadViewerData(long dataStart, long dataEnd, ViewLoadObserver loadObserver) {
return true;
}
@Override
public boolean loadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) {
return true;
}
}