diff --git a/CoreUtils/nbproject/genfiles.properties b/CoreUtils/nbproject/genfiles.properties index 8dde751e51..a97765af1c 100644 --- a/CoreUtils/nbproject/genfiles.properties +++ b/CoreUtils/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=9654457e +build.xml.data.CRC32=53a3cee0 build.xml.script.CRC32=b3e56256 -build.xml.stylesheet.CRC32=a56c6a5b@2.47.1 +build.xml.stylesheet.CRC32=a56c6a5b@1.46.2 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=9654457e +nbproject/build-impl.xml.data.CRC32=53a3cee0 nbproject/build-impl.xml.script.CRC32=849ea2ba -nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.47.1 +nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.46.2 diff --git a/CoreUtils/nbproject/project.xml b/CoreUtils/nbproject/project.xml index 6fb01fb872..14c4c58258 100644 --- a/CoreUtils/nbproject/project.xml +++ b/CoreUtils/nbproject/project.xml @@ -20,7 +20,7 @@ - 7.39.1 + 7.31.1 @@ -28,7 +28,7 @@ - 7.23.1 + 7.20.1 @@ -36,7 +36,7 @@ - 7.27.1 + 7.23.1 @@ -44,7 +44,7 @@ - 8.19.1 + 8.15.1 @@ -52,7 +52,7 @@ - 8.11.1 + 8.8.1 diff --git a/CoreUtils/src/org/sleuthkit/autopsy/coreutils/AutopsyPropFile.java b/CoreUtils/src/org/sleuthkit/autopsy/coreutils/AutopsyPropFile.java index 74694298d0..5c9e17bbd8 100644 --- a/CoreUtils/src/org/sleuthkit/autopsy/coreutils/AutopsyPropFile.java +++ b/CoreUtils/src/org/sleuthkit/autopsy/coreutils/AutopsyPropFile.java @@ -109,7 +109,7 @@ public class AutopsyPropFile { } public void removeProperty(String key){ - properties.setProperty(key, ""); + properties.setProperty(key, null); try { storeProperties(); } catch (Exception ex) { diff --git a/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/DataResultFilterNode.java b/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/DataResultFilterNode.java index b0049abbf0..c63f433735 100644 --- a/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/DataResultFilterNode.java +++ b/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/DataResultFilterNode.java @@ -109,7 +109,7 @@ public class DataResultFilterNode extends FilterNode{ public List visit(File f) { List actions = new ArrayList(); actions.add(new ExternalViewerAction("Open in External Viewer", getOriginal())); - actions.add(new ExtractAction("Extract", getOriginal())); + actions.add(new ExtractAction("Extract File", getOriginal())); return actions; } diff --git a/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/ExtractAction.java b/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/ExtractAction.java index 95fa0eb92f..8dbbabbfa5 100644 --- a/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/ExtractAction.java +++ b/DirectoryTree/src/org/sleuthkit/autopsy/directorytree/ExtractAction.java @@ -106,6 +106,11 @@ public final class ExtractAction extends AbstractAction { } ExtractFscContentVisitor.extract(fsContent, destination); + if(fsContent.isDir()) + JOptionPane.showMessageDialog((Component) e.getSource(), "Directory extracted."); + else if(fsContent.isFile()){ + JOptionPane.showMessageDialog((Component) e.getSource(), "File extracted."); + } } } } diff --git a/FileSearch/src/org/sleuthkit/autopsy/filesearch/DataResultFilterNode.java b/FileSearch/src/org/sleuthkit/autopsy/filesearch/DataResultFilterNode.java index a2fc84d708..6bba0a15e1 100644 --- a/FileSearch/src/org/sleuthkit/autopsy/filesearch/DataResultFilterNode.java +++ b/FileSearch/src/org/sleuthkit/autopsy/filesearch/DataResultFilterNode.java @@ -60,6 +60,7 @@ public class DataResultFilterNode extends FilterNode { @Override public Action[] visit(Directory dir) { return new Action[]{ + new ExtractAction("Extract Directory", getOriginal()), new ChangeViewAction("View", 0, getOriginal()), new OpenParentFolderAction("Open Parent Directory", ContentUtils.getSystemPath(dir)) }; @@ -69,7 +70,7 @@ public class DataResultFilterNode extends FilterNode { public Action[] visit(File f) { return new Action[]{ new ExternalViewerAction("Open in External Viewer", getOriginal()), - new ExtractAction("Extract", getOriginal()), + new ExtractAction("Extract File", getOriginal()), new ChangeViewAction("View", 0, getOriginal()), new OpenParentFolderAction("Open Parent Directory", ContentUtils.getSystemPath(f)) };