mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
3408 make search tip more helpful and fix comments
This commit is contained in:
parent
b3c98ab2c0
commit
8fe3d587dd
@ -229,5 +229,5 @@ CueBannerPanel.openCaseButton.text=
|
|||||||
CueBannerPanel.openCaseLabel.text=Open Case
|
CueBannerPanel.openCaseLabel.text=Open Case
|
||||||
MultiUserCasesPanel.bnOpenSingleUserCase.text=Open Single-User Case...
|
MultiUserCasesPanel.bnOpenSingleUserCase.text=Open Single-User Case...
|
||||||
CueBannerPanel.newCaseButton.text=
|
CueBannerPanel.newCaseButton.text=
|
||||||
MultiUserCasesPanel.searchLabel.text=Start typing to search by case name
|
MultiUserCasesPanel.searchLabel.text=Select any case and start typing to search by case name
|
||||||
MultiUserCasesPanel.cancelButton.text=Cancel
|
MultiUserCasesPanel.cancelButton.text=Cancel
|
||||||
|
@ -18,11 +18,9 @@
|
|||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.casemodule;
|
package org.sleuthkit.autopsy.casemodule;
|
||||||
|
|
||||||
import java.awt.Component;
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import javax.swing.ListSelectionModel;
|
import javax.swing.ListSelectionModel;
|
||||||
import javax.swing.event.ListSelectionListener;
|
import javax.swing.event.ListSelectionListener;
|
||||||
import javax.swing.table.TableCellRenderer;
|
|
||||||
import javax.swing.table.TableColumnModel;
|
import javax.swing.table.TableColumnModel;
|
||||||
import org.netbeans.swing.etable.ETableColumn;
|
import org.netbeans.swing.etable.ETableColumn;
|
||||||
import org.netbeans.swing.etable.ETableColumnModel;
|
import org.netbeans.swing.etable.ETableColumnModel;
|
||||||
@ -100,7 +98,7 @@ class CaseBrowser extends javax.swing.JPanel implements ExplorerManager.Provider
|
|||||||
dateColumnIndex = index;
|
dateColumnIndex = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Hide path column by default will need to
|
//Hide path column by default (user can unhide it)
|
||||||
ETableColumn column = (ETableColumn) columnModel.getColumn(originalPathColumnIndex);
|
ETableColumn column = (ETableColumn) columnModel.getColumn(originalPathColumnIndex);
|
||||||
((ETableColumnModel) columnModel).setColumnHidden(column, true);
|
((ETableColumnModel) columnModel).setColumnHidden(column, true);
|
||||||
outline.setRootVisible(false);
|
outline.setRootVisible(false);
|
||||||
@ -124,6 +122,11 @@ class CaseBrowser extends javax.swing.JPanel implements ExplorerManager.Provider
|
|||||||
outline.getSelectionModel().addListSelectionListener(listener);
|
outline.getSelectionModel().addListSelectionListener(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the path to the .aut file for the selected case.
|
||||||
|
*
|
||||||
|
* @return the full path to the selected case's .aut file
|
||||||
|
*/
|
||||||
String getCasePath() {
|
String getCasePath() {
|
||||||
int[] selectedRows = outline.getSelectedRows();
|
int[] selectedRows = outline.getSelectedRows();
|
||||||
if (selectedRows.length == 1) {
|
if (selectedRows.length == 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user