mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 22:52:22 +00:00
Fixed Landmarks
Debug so they don't disappear whenever viewer data are reloaded.
This commit is contained in:
parent
e7a67d33cf
commit
1be8a5ee83
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user