mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 14:42:27 +00:00
Fix doc deletion in detector output panel
This commit is contained in:
parent
bc686c0fe6
commit
36455153a2
@ -1,16 +1,16 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.1
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=21
|
||||
org.eclipse.jdt.core.compiler.compliance=1.3
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.release=enabled
|
||||
org.eclipse.jdt.core.compiler.source=21
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.3
|
||||
|
@ -274,7 +274,7 @@ public class DatablockDetectionsPanel extends TethysGUIPanel implements StreamTa
|
||||
if (pDets == null) {
|
||||
continue;
|
||||
}
|
||||
toDelete.add(pDets.nilusObject);
|
||||
toDelete.add(pDets);
|
||||
}
|
||||
DeleteDocs dd = new DeleteDocs(toDelete);
|
||||
PamWorker<Integer> worker = new PamWorker(dd, getTethysControl().getGuiFrame(), 1, "Deleting Detections documents");
|
||||
@ -295,7 +295,7 @@ public class DatablockDetectionsPanel extends TethysGUIPanel implements StreamTa
|
||||
for (NilusDocumentWrapper dets : toDelete) {
|
||||
try {
|
||||
|
||||
getTethysControl().getDbxmlConnect().deleteDocument(dets);
|
||||
getTethysControl().getDbxmlConnect().deleteDocument(dets.nilusObject);
|
||||
} catch (TethysException e) {
|
||||
getTethysControl().showException(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user