mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Changed name of OtherCaseSearch module
This commit is contained in:
parent
24e02d727d
commit
f13783c6e1
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import org.openide.nodes.Children;
|
import org.openide.nodes.Children;
|
||||||
import org.openide.nodes.FilterNode;
|
import org.openide.nodes.FilterNode;
|
||||||
@ -27,7 +27,7 @@ import org.sleuthkit.autopsy.corecomponents.TableFilterNode;
|
|||||||
* A <code>Children</code> implementation for a
|
* A <code>Children</code> implementation for a
|
||||||
* <code>CorrelationPropertyFilterNode</code>.
|
* <code>CorrelationPropertyFilterNode</code>.
|
||||||
*/
|
*/
|
||||||
final class OtherCasesFilterChildren extends FilterNode.Children {
|
final class AllCasesFilterChildren extends FilterNode.Children {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new Children instance.
|
* Create a new Children instance.
|
||||||
@ -41,7 +41,7 @@ final class OtherCasesFilterChildren extends FilterNode.Children {
|
|||||||
static Children createInstance(Node wrappedNode, boolean createChildren) {
|
static Children createInstance(Node wrappedNode, boolean createChildren) {
|
||||||
|
|
||||||
if (createChildren) {
|
if (createChildren) {
|
||||||
return new OtherCasesFilterChildren(wrappedNode);
|
return new AllCasesFilterChildren(wrappedNode);
|
||||||
} else {
|
} else {
|
||||||
return Children.LEAF;
|
return Children.LEAF;
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ final class OtherCasesFilterChildren extends FilterNode.Children {
|
|||||||
*
|
*
|
||||||
* @param wrappedNode The node wrapped by CorrelationPropertyFilterNode.
|
* @param wrappedNode The node wrapped by CorrelationPropertyFilterNode.
|
||||||
*/
|
*/
|
||||||
OtherCasesFilterChildren(Node wrappedNode) {
|
AllCasesFilterChildren(Node wrappedNode) {
|
||||||
super(wrappedNode);
|
super(wrappedNode);
|
||||||
}
|
}
|
||||||
|
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import org.openide.awt.ActionID;
|
import org.openide.awt.ActionID;
|
||||||
@ -27,16 +27,15 @@ import org.openide.util.NbBundle;
|
|||||||
import org.openide.util.actions.CallableSystemAction;
|
import org.openide.util.actions.CallableSystemAction;
|
||||||
import org.sleuthkit.autopsy.casemodule.Case;
|
import org.sleuthkit.autopsy.casemodule.Case;
|
||||||
import org.sleuthkit.autopsy.centralrepository.datamodel.EamDb;
|
import org.sleuthkit.autopsy.centralrepository.datamodel.EamDb;
|
||||||
import org.sleuthkit.autopsy.othercasessearch.Bundle;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action for accessing the Search Other Cases dialog.
|
* Action for accessing the Search Other Cases dialog.
|
||||||
*/
|
*/
|
||||||
@ActionID(category = "Tools", id = "org.sleuthkit.autopsy.othercasessearch.OtherCasesSearchAction")
|
@ActionID(category = "Tools", id = "org.sleuthkit.autopsy.allcasessearch.AllCasesSearchAction")
|
||||||
@ActionRegistration(displayName = "#CTL_OtherCasesSearchAction=Search Other Cases", lazy = false)
|
@ActionRegistration(displayName = "#CTL_OtherCasesSearchAction=Search All Cases", lazy = false)
|
||||||
@ActionReference(path = "Menu/Tools", position = 201)
|
@ActionReference(path = "Menu/Tools", position = 201)
|
||||||
@NbBundle.Messages({"CTL_OtherCasesSearchAction=Search Other Cases"})
|
@NbBundle.Messages({"CTL_AllCasesSearchAction=Search All Cases"})
|
||||||
public class OtherCasesSearchAction extends CallableSystemAction {
|
public class AllCasesSearchAction extends CallableSystemAction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEnabled() {
|
public boolean isEnabled() {
|
||||||
@ -50,15 +49,15 @@ public class OtherCasesSearchAction extends CallableSystemAction {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void performAction() {
|
public void performAction() {
|
||||||
OtherCasesSearchDialog dialog = new OtherCasesSearchDialog();
|
AllCasesSearchDialog dialog = new AllCasesSearchDialog();
|
||||||
dialog.display();
|
dialog.display();
|
||||||
}
|
}
|
||||||
|
|
||||||
@NbBundle.Messages({
|
@NbBundle.Messages({
|
||||||
"OtherCasesSearchAction.getName.text=Search Other Cases"})
|
"AllCasesSearchAction.getName.text=Search All Cases"})
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return Bundle.OtherCasesSearchAction_getName_text();
|
return Bundle.AllCasesSearchAction_getName_text();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.openide.nodes.Children;
|
import org.openide.nodes.Children;
|
||||||
@ -27,15 +27,15 @@ import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeIns
|
|||||||
* Creates CorrelationAttributeInstanceNodes from a collection of
|
* Creates CorrelationAttributeInstanceNodes from a collection of
|
||||||
* CorrelationAttributeInstances.
|
* CorrelationAttributeInstances.
|
||||||
*/
|
*/
|
||||||
class OtherCasesSearchChildren extends Children.Keys<CorrelationAttributeInstance> {
|
class AllCasesSearchChildren extends Children.Keys<CorrelationAttributeInstance> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of OtherCasesSearchChildren.
|
* Create an instance of AllCasesSearchChildren.
|
||||||
*
|
*
|
||||||
* @param lazy Lazy load?
|
* @param lazy Lazy load?
|
||||||
* @param fileList List of CorrelationAttributeInstances.
|
* @param fileList List of CorrelationAttributeInstances.
|
||||||
*/
|
*/
|
||||||
OtherCasesSearchChildren(boolean lazy, List<CorrelationAttributeInstance> instances) {
|
AllCasesSearchChildren(boolean lazy, List<CorrelationAttributeInstance> instances) {
|
||||||
super(lazy);
|
super(lazy);
|
||||||
this.setKeys(instances);
|
this.setKeys(instances);
|
||||||
}
|
}
|
@ -81,14 +81,14 @@
|
|||||||
<Component class="javax.swing.JLabel" name="correlationValueLabel">
|
<Component class="javax.swing.JLabel" name="correlationValueLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.correlationValueLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.correlationValueLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="correlationValueTextField">
|
<Component class="javax.swing.JTextField" name="correlationValueTextField">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.correlationValueTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.correlationValueTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
@ -98,15 +98,15 @@
|
|||||||
<Component class="javax.swing.JButton" name="searchButton">
|
<Component class="javax.swing.JButton" name="searchButton">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.searchButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.searchButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
<AccessibilityProperties>
|
<AccessibilityProperties>
|
||||||
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.searchButton.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</AccessibilityProperties>
|
</AccessibilityProperties>
|
||||||
<Events>
|
<Events>
|
||||||
@ -129,7 +129,7 @@
|
|||||||
<Component class="javax.swing.JLabel" name="correlationTypeLabel">
|
<Component class="javax.swing.JLabel" name="correlationTypeLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.correlationTypeLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.correlationTypeLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
@ -139,14 +139,14 @@
|
|||||||
<Color blue="0" green="0" red="ff" type="rgb"/>
|
<Color blue="0" green="0" red="ff" type="rgb"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.errorLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.errorLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JLabel" name="descriptionLabel">
|
<Component class="javax.swing.JLabel" name="descriptionLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.descriptionLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.descriptionLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
@ -154,7 +154,7 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
<Property name="horizontalAlignment" type="int" value="2"/>
|
<Property name="horizontalAlignment" type="int" value="2"/>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/othercasessearch/Bundle.properties" key="OtherCasesSearchDialog.casesLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/allcasessearch/Bundle.properties" key="AllCasesSearchDialog.casesLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.event.ItemEvent;
|
import java.awt.event.ItemEvent;
|
||||||
@ -48,31 +48,31 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
import org.sleuthkit.autopsy.datamodel.EmptyNode;
|
import org.sleuthkit.autopsy.datamodel.EmptyNode;
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
"OtherCasesSearchDialog.dialogTitle.text=Search Other Cases",
|
"AllCasesSearchDialog.dialogTitle.text=Search All Cases",
|
||||||
"OtherCasesSearchDialog.resultsTitle.text=Other Cases",
|
"AllCasesSearchDialog.resultsTitle.text=All Cases",
|
||||||
"OtherCasesSearchDialog.resultsDescription.text=Other Cases Search",
|
"AllCasesSearchDialog.resultsDescription.text=All Cases Search",
|
||||||
"OtherCasesSearchDialog.emptyNode.text=No results found.",
|
"AllCasesSearchDialog.emptyNode.text=No results found.",
|
||||||
"OtherCasesSearchDialog.validation.invalidHash=The supplied value is not a valid MD5 hash.",
|
"AllCasesSearchDialog.validation.invalidHash=The supplied value is not a valid MD5 hash.",
|
||||||
"OtherCasesSearchDialog.validation.invalidEmail=The supplied value is not a valid e-mail address.",
|
"AllCasesSearchDialog.validation.invalidEmail=The supplied value is not a valid e-mail address.",
|
||||||
"OtherCasesSearchDialog.validation.invalidDomain=The supplied value is not a valid domain.",
|
"AllCasesSearchDialog.validation.invalidDomain=The supplied value is not a valid domain.",
|
||||||
"OtherCasesSearchDialog.validation.invalidPhone=The supplied value is not a valid phone number.",
|
"AllCasesSearchDialog.validation.invalidPhone=The supplied value is not a valid phone number.",
|
||||||
"OtherCasesSearchDialog.validation.invalidSsid=The supplied value is not a valid wireless network.",
|
"AllCasesSearchDialog.validation.invalidSsid=The supplied value is not a valid wireless network.",
|
||||||
"OtherCasesSearchDialog.validation.invalidMac=The supplied value is not a valid MAC address.",
|
"AllCasesSearchDialog.validation.invalidMac=The supplied value is not a valid MAC address.",
|
||||||
"OtherCasesSearchDialog.validation.invalidImei=The supplied value is not a valid IMEI number.",
|
"AllCasesSearchDialog.validation.invalidImei=The supplied value is not a valid IMEI number.",
|
||||||
"OtherCasesSearchDialog.validation.invalidImsi=The supplied value is not a valid IMSI number.",
|
"AllCasesSearchDialog.validation.invalidImsi=The supplied value is not a valid IMSI number.",
|
||||||
"OtherCasesSearchDialog.validation.invalidIccid=The supplied value is not a valid ICCID number.",
|
"AllCasesSearchDialog.validation.invalidIccid=The supplied value is not a valid ICCID number.",
|
||||||
"OtherCasesSearchDialog.validation.genericMessage=The supplied value is not valid.",
|
"AllCasesSearchDialog.validation.genericMessage=The supplied value is not valid.",
|
||||||
"# {0} - number of cases",
|
"# {0} - number of cases",
|
||||||
"OtherCasesSearchDialog.caseLabel.text=The current Central Repository contains {0} case(s)."
|
"AllCasesSearchDialog.caseLabel.text=The current Central Repository contains {0} case(s)."
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The Search Other Cases dialog allows users to search for specific types of
|
* The Search All Cases dialog allows users to search for specific types of
|
||||||
* correlation properties in the Central Repository.
|
* correlation properties in the Central Repository.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
final class AllCasesSearchDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(OtherCasesSearchDialog.class.getName());
|
private static final Logger logger = Logger.getLogger(AllCasesSearchDialog.class.getName());
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final List<CorrelationAttributeInstance.Type> correlationTypes;
|
private final List<CorrelationAttributeInstance.Type> correlationTypes;
|
||||||
@ -82,8 +82,8 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
/**
|
/**
|
||||||
* Creates a new instance of the Search Other Cases dialog.
|
* Creates a new instance of the Search Other Cases dialog.
|
||||||
*/
|
*/
|
||||||
OtherCasesSearchDialog() {
|
AllCasesSearchDialog() {
|
||||||
super((JFrame) WindowManager.getDefault().getMainWindow(), Bundle.OtherCasesSearchDialog_dialogTitle_text(), true);
|
super((JFrame) WindowManager.getDefault().getMainWindow(), Bundle.AllCasesSearchDialog_dialogTitle_text(), true);
|
||||||
this.correlationTypes = new ArrayList<>();
|
this.correlationTypes = new ArrayList<>();
|
||||||
initComponents();
|
initComponents();
|
||||||
customizeComponents();
|
customizeComponents();
|
||||||
@ -122,20 +122,20 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
Collection<DataResultViewer> viewers = new ArrayList<>(1);
|
Collection<DataResultViewer> viewers = new ArrayList<>(1);
|
||||||
viewers.add(table);
|
viewers.add(table);
|
||||||
|
|
||||||
OtherCasesSearchNode searchNode = new OtherCasesSearchNode(correlationInstances);
|
AllCasesSearchNode searchNode = new AllCasesSearchNode(correlationInstances);
|
||||||
TableFilterNode tableFilterNode = new TableFilterNode(searchNode, true, searchNode.getName());
|
TableFilterNode tableFilterNode = new TableFilterNode(searchNode, true, searchNode.getName());
|
||||||
|
|
||||||
String resultsText = String.format("%s (%s; \"%s\")",
|
String resultsText = String.format("%s (%s; \"%s\")",
|
||||||
Bundle.OtherCasesSearchDialog_resultsTitle_text(), type.getDisplayName(), value);
|
Bundle.AllCasesSearchDialog_resultsTitle_text(), type.getDisplayName(), value);
|
||||||
final TopComponent searchResultWin;
|
final TopComponent searchResultWin;
|
||||||
if (correlationInstances.isEmpty()) {
|
if (correlationInstances.isEmpty()) {
|
||||||
Node emptyNode = new TableFilterNode(
|
Node emptyNode = new TableFilterNode(
|
||||||
new EmptyNode(Bundle.OtherCasesSearchDialog_emptyNode_text()), true);
|
new EmptyNode(Bundle.AllCasesSearchDialog_emptyNode_text()), true);
|
||||||
searchResultWin = DataResultTopComponent.createInstance(
|
searchResultWin = DataResultTopComponent.createInstance(
|
||||||
resultsText, Bundle.OtherCasesSearchDialog_resultsDescription_text(), emptyNode, 0);
|
resultsText, Bundle.AllCasesSearchDialog_resultsDescription_text(), emptyNode, 0);
|
||||||
} else {
|
} else {
|
||||||
searchResultWin = DataResultTopComponent.createInstance(
|
searchResultWin = DataResultTopComponent.createInstance(
|
||||||
resultsText, Bundle.OtherCasesSearchDialog_resultsDescription_text(), tableFilterNode, correlationInstances.size(), viewers);
|
resultsText, Bundle.AllCasesSearchDialog_resultsDescription_text(), tableFilterNode, correlationInstances.size(), viewers);
|
||||||
}
|
}
|
||||||
searchResultWin.requestActive(); // make it the active top component
|
searchResultWin.requestActive(); // make it the active top component
|
||||||
} catch (ExecutionException | InterruptedException ex) {
|
} catch (ExecutionException | InterruptedException ex) {
|
||||||
@ -166,16 +166,16 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
|
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
|
||||||
setResizable(false);
|
setResizable(false);
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(correlationValueLabel, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.correlationValueLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(correlationValueLabel, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.correlationValueLabel.text")); // NOI18N
|
||||||
|
|
||||||
correlationValueTextField.setText(org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.correlationValueTextField.text")); // NOI18N
|
correlationValueTextField.setText(org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.correlationValueTextField.text")); // NOI18N
|
||||||
correlationValueTextField.addKeyListener(new java.awt.event.KeyAdapter() {
|
correlationValueTextField.addKeyListener(new java.awt.event.KeyAdapter() {
|
||||||
public void keyReleased(java.awt.event.KeyEvent evt) {
|
public void keyReleased(java.awt.event.KeyEvent evt) {
|
||||||
valueFieldKeyReleaseListener(evt);
|
valueFieldKeyReleaseListener(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(searchButton, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.searchButton.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(searchButton, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.searchButton.text")); // NOI18N
|
||||||
searchButton.addActionListener(new java.awt.event.ActionListener() {
|
searchButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
searchButtonActionPerformed(evt);
|
searchButtonActionPerformed(evt);
|
||||||
@ -188,15 +188,15 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(correlationTypeLabel, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.correlationTypeLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(correlationTypeLabel, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.correlationTypeLabel.text")); // NOI18N
|
||||||
|
|
||||||
errorLabel.setForeground(new java.awt.Color(255, 0, 0));
|
errorLabel.setForeground(new java.awt.Color(255, 0, 0));
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(errorLabel, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.errorLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(errorLabel, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.errorLabel.text")); // NOI18N
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.descriptionLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.descriptionLabel.text")); // NOI18N
|
||||||
|
|
||||||
casesLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
|
casesLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(casesLabel, org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.casesLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(casesLabel, org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.casesLabel.text")); // NOI18N
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
||||||
getContentPane().setLayout(layout);
|
getContentPane().setLayout(layout);
|
||||||
@ -243,8 +243,8 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
|
|
||||||
searchButton.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleName")); // NOI18N
|
searchButton.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.searchButton.AccessibleContext.accessibleName")); // NOI18N
|
||||||
searchButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(OtherCasesSearchDialog.class, "OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription")); // NOI18N
|
searchButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(AllCasesSearchDialog.class, "AllCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription")); // NOI18N
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
@ -260,34 +260,34 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
String validationMessage;
|
String validationMessage;
|
||||||
switch (correlationType.getId()) {
|
switch (correlationType.getId()) {
|
||||||
case CorrelationAttributeInstance.FILES_TYPE_ID:
|
case CorrelationAttributeInstance.FILES_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidHash();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidHash();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.DOMAIN_TYPE_ID:
|
case CorrelationAttributeInstance.DOMAIN_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidDomain();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidDomain();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.EMAIL_TYPE_ID:
|
case CorrelationAttributeInstance.EMAIL_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidEmail();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidEmail();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.PHONE_TYPE_ID:
|
case CorrelationAttributeInstance.PHONE_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidPhone();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidPhone();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.SSID_TYPE_ID:
|
case CorrelationAttributeInstance.SSID_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidSsid();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidSsid();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.MAC_TYPE_ID:
|
case CorrelationAttributeInstance.MAC_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidMac();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidMac();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.IMEI_TYPE_ID:
|
case CorrelationAttributeInstance.IMEI_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidImei();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidImei();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.IMSI_TYPE_ID:
|
case CorrelationAttributeInstance.IMSI_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidImsi();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidImsi();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.ICCID_TYPE_ID:
|
case CorrelationAttributeInstance.ICCID_TYPE_ID:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_invalidIccid();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_invalidIccid();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
validationMessage = Bundle.OtherCasesSearchDialog_validation_genericMessage();
|
validationMessage = Bundle.AllCasesSearchDialog_validation_genericMessage();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -340,7 +340,7 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
correlationTypes.clear();
|
correlationTypes.clear();
|
||||||
correlationTypes.addAll(dbManager.getDefinedCorrelationTypes());
|
correlationTypes.addAll(dbManager.getDefinedCorrelationTypes());
|
||||||
int numberOfCases = dbManager.getCases().size();
|
int numberOfCases = dbManager.getCases().size();
|
||||||
casesLabel.setText(Bundle.OtherCasesSearchDialog_caseLabel_text(numberOfCases));
|
casesLabel.setText(Bundle.AllCasesSearchDialog_caseLabel_text(numberOfCases));
|
||||||
} catch (EamDbException ex) {
|
} catch (EamDbException ex) {
|
||||||
logger.log(Level.SEVERE, "Unable to connect to the Central Repository database.", ex);
|
logger.log(Level.SEVERE, "Unable to connect to the Central Repository database.", ex);
|
||||||
}
|
}
|
||||||
@ -385,16 +385,16 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.filesExample=Example: \"f0e1d2c3b4a5968778695a4b3c2d1e0f\"",
|
"AllCasesSearchDialog.correlationValueTextField.filesExample=Example: \"f0e1d2c3b4a5968778695a4b3c2d1e0f\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.domainExample=Example: \"domain.com\"",
|
"AllCasesSearchDialog.correlationValueTextField.domainExample=Example: \"domain.com\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.emailExample=Example: \"user@host.com\"",
|
"AllCasesSearchDialog.correlationValueTextField.emailExample=Example: \"user@host.com\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.phoneExample=Example: \"(800)123-4567\"",
|
"AllCasesSearchDialog.correlationValueTextField.phoneExample=Example: \"(800)123-4567\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.usbExample=Example: \"4&1234567&0\"",
|
"AllCasesSearchDialog.correlationValueTextField.usbExample=Example: \"4&1234567&0\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.ssidExample=Example: \"WirelessNetwork-5G\"",
|
"AllCasesSearchDialog.correlationValueTextField.ssidExample=Example: \"WirelessNetwork-5G\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.macExample=Example: \"0C-14-F2-01-AF-45\"",
|
"AllCasesSearchDialog.correlationValueTextField.macExample=Example: \"0C-14-F2-01-AF-45\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.imeiExample=Example: \"351756061523999\"",
|
"AllCasesSearchDialog.correlationValueTextField.imeiExample=Example: \"351756061523999\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.imsiExample=Example: \"310150123456789\"",
|
"AllCasesSearchDialog.correlationValueTextField.imsiExample=Example: \"310150123456789\"",
|
||||||
"OtherCasesSearchDialog.correlationValueTextField.iccidExample=Example: \"89 91 19 1299 99 329451 0\""
|
"AllCasesSearchDialog.correlationValueTextField.iccidExample=Example: \"89 91 19 1299 99 329451 0\""
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* Update the text prompt of the name text field based on the input type
|
* Update the text prompt of the name text field based on the input type
|
||||||
@ -407,34 +407,34 @@ final class OtherCasesSearchDialog extends javax.swing.JDialog {
|
|||||||
String text;
|
String text;
|
||||||
switch (selectedCorrelationType.getId()) {
|
switch (selectedCorrelationType.getId()) {
|
||||||
case CorrelationAttributeInstance.FILES_TYPE_ID:
|
case CorrelationAttributeInstance.FILES_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_filesExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_filesExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.DOMAIN_TYPE_ID:
|
case CorrelationAttributeInstance.DOMAIN_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_domainExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_domainExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.EMAIL_TYPE_ID:
|
case CorrelationAttributeInstance.EMAIL_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_emailExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_emailExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.PHONE_TYPE_ID:
|
case CorrelationAttributeInstance.PHONE_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_phoneExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_phoneExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.USBID_TYPE_ID:
|
case CorrelationAttributeInstance.USBID_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_usbExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_usbExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.SSID_TYPE_ID:
|
case CorrelationAttributeInstance.SSID_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_ssidExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_ssidExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.MAC_TYPE_ID:
|
case CorrelationAttributeInstance.MAC_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_macExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_macExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.IMEI_TYPE_ID:
|
case CorrelationAttributeInstance.IMEI_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_imeiExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_imeiExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.IMSI_TYPE_ID:
|
case CorrelationAttributeInstance.IMSI_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_imsiExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_imsiExample();
|
||||||
break;
|
break;
|
||||||
case CorrelationAttributeInstance.ICCID_TYPE_ID:
|
case CorrelationAttributeInstance.ICCID_TYPE_ID:
|
||||||
text = Bundle.OtherCasesSearchDialog_correlationValueTextField_iccidExample();
|
text = Bundle.AllCasesSearchDialog_correlationValueTextField_iccidExample();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
text = "";
|
text = "";
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.openide.nodes.AbstractNode;
|
import org.openide.nodes.AbstractNode;
|
||||||
@ -24,24 +24,24 @@ import org.openide.util.NbBundle.Messages;
|
|||||||
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance;
|
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent node to OtherCasesSearchChildren.
|
* Parent node to AllCasesSearchChildren.
|
||||||
*/
|
*/
|
||||||
class OtherCasesSearchNode extends AbstractNode {
|
class AllCasesSearchNode extends AbstractNode {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of OtherCasesSearchNode.
|
* Create an instance of AllCasesSearchNode.
|
||||||
*
|
*
|
||||||
* @param keys The list of CorrelationAttributeInstances.
|
* @param keys The list of CorrelationAttributeInstances.
|
||||||
*/
|
*/
|
||||||
OtherCasesSearchNode(List<CorrelationAttributeInstance> keys) {
|
AllCasesSearchNode(List<CorrelationAttributeInstance> keys) {
|
||||||
super(new OtherCasesSearchChildren(true, keys));
|
super(new AllCasesSearchChildren(true, keys));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
"OtherCasesSearchNode.getName.text=Other Cases Search"
|
"AllCasesSearchNode.getName.text=Other Cases Search"
|
||||||
})
|
})
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return Bundle.OtherCasesSearchNode_getName_text();
|
return Bundle.AllCasesSearchNode_getName_text();
|
||||||
}
|
}
|
||||||
}
|
}
|
10
Core/src/org/sleuthkit/autopsy/allcasessearch/Bundle.properties
Executable file
10
Core/src/org/sleuthkit/autopsy/allcasessearch/Bundle.properties
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
AllCasesSearchDialog.descriptionLabel.text=<html>Search the Central Repository for correlation properties with a specified value. The search is case insensitive.</html>
|
||||||
|
AllCasesSearchDialog.errorLabel.text=\
|
||||||
|
AllCasesSearchDialog.correlationTypeLabel.text=Correlation Property Type:
|
||||||
|
AllCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription=
|
||||||
|
AllCasesSearchDialog.searchButton.AccessibleContext.accessibleName=Search
|
||||||
|
AllCasesSearchDialog.searchButton.text=Search
|
||||||
|
AllCasesSearchDialog.correlationValueTextField.text=
|
||||||
|
AllCasesSearchDialog.correlationValueLabel.text=Correlation Property Value:
|
||||||
|
AllCasesSearchDialog.casesLabel.text=\
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.othercasessearch;
|
package org.sleuthkit.autopsy.allcasessearch;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -29,13 +29,12 @@ import org.openide.util.NbBundle;
|
|||||||
import org.openide.util.lookup.Lookups;
|
import org.openide.util.lookup.Lookups;
|
||||||
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance;
|
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance;
|
||||||
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource;
|
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource;
|
||||||
import org.sleuthkit.autopsy.othercasessearch.Bundle;
|
|
||||||
import org.sleuthkit.autopsy.datamodel.DisplayableItemNode;
|
import org.sleuthkit.autopsy.datamodel.DisplayableItemNode;
|
||||||
import org.sleuthkit.autopsy.datamodel.DisplayableItemNodeVisitor;
|
import org.sleuthkit.autopsy.datamodel.DisplayableItemNodeVisitor;
|
||||||
import org.sleuthkit.autopsy.datamodel.NodeProperty;
|
import org.sleuthkit.autopsy.datamodel.NodeProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used by the Other Cases Search feature to encapsulate instances of a given
|
* Used by the All Cases Search feature to encapsulate instances of a given
|
||||||
* search match.
|
* search match.
|
||||||
*/
|
*/
|
||||||
public final class CorrelationAttributeInstanceNode extends DisplayableItemNode {
|
public final class CorrelationAttributeInstanceNode extends DisplayableItemNode {
|
@ -31,7 +31,7 @@ import org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeNod
|
|||||||
import org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootNode;
|
import org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootNode;
|
||||||
import org.sleuthkit.autopsy.datamodel.FileTypes.FileTypesNode;
|
import org.sleuthkit.autopsy.datamodel.FileTypes.FileTypesNode;
|
||||||
import org.sleuthkit.autopsy.datamodel.accounts.Accounts;
|
import org.sleuthkit.autopsy.datamodel.accounts.Accounts;
|
||||||
import org.sleuthkit.autopsy.othercasessearch.CorrelationAttributeInstanceNode;
|
import org.sleuthkit.autopsy.allcasessearch.CorrelationAttributeInstanceNode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Visitor pattern that goes over all nodes in the directory tree. This includes
|
* Visitor pattern that goes over all nodes in the directory tree. This includes
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleDescription=
|
|
||||||
OtherCasesSearchDialog.searchButton.AccessibleContext.accessibleName=Search
|
|
||||||
OtherCasesSearchDialog.searchButton.text=Search
|
|
||||||
OtherCasesSearchDialog.correlationValueTextField.text=
|
|
||||||
OtherCasesSearchDialog.correlationValueLabel.text=Correlation Property Value:
|
|
||||||
OtherCasesSearchDialog.descriptionLabel.text=<html>Search the Central Repository for correlation properties with a specified value. The search is case insensitive.</html>
|
|
||||||
OtherCasesSearchDialog.errorLabel.text=\
|
|
||||||
OtherCasesSearchDialog.correlationTypeLabel.text=Correlation Property Type:
|
|
||||||
OtherCasesSearchDialog.casesLabel.text=\
|
|
Loading…
x
Reference in New Issue
Block a user