Improved handling of AutoIngestCaseOpenAction

This commit is contained in:
Eugene Livis 2016-09-15 15:09:46 -04:00
parent adc9d13de4
commit 4138b61a82
5 changed files with 8 additions and 6 deletions

View File

@ -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.experimental.configuration; package org.sleuthkit.autopsy.experimental.autoingest;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener; import java.awt.event.ActionListener;
@ -31,6 +31,7 @@ import org.sleuthkit.autopsy.casemodule.CaseOpenAction;
import org.sleuthkit.autopsy.coreutils.Logger; import org.sleuthkit.autopsy.coreutils.Logger;
import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.casemodule.Case;
import org.sleuthkit.autopsy.casemodule.StartupWindowProvider; import org.sleuthkit.autopsy.casemodule.StartupWindowProvider;
import org.sleuthkit.autopsy.experimental.configuration.AutoIngestUserPreferences;
final class AutoIngestCaseOpenAction extends CallableSystemAction implements ActionListener { final class AutoIngestCaseOpenAction extends CallableSystemAction implements ActionListener {

View File

@ -235,6 +235,7 @@ public final class AutoIngestDashboard extends JPanel implements Observer {
* Disable the new case action in auto ingest mode. * Disable the new case action in auto ingest mode.
*/ */
CallableSystemAction.get(CaseOpenAction.class).setEnabled(false); CallableSystemAction.get(CaseOpenAction.class).setEnabled(false);
CallableSystemAction.get(AutoIngestCaseOpenAction.class).setEnabled(false);
/* /*
* Permanently delete the "Open Recent Cases" item in the "Case" menu. * Permanently delete the "Open Recent Cases" item in the "Case" menu.

View File

@ -1,3 +1,4 @@
CTL_OpenAction=Open Case...
AutoIngestDashboard.bnRefresh.text=&Refresh AutoIngestDashboard.bnRefresh.text=&Refresh
AutoIngestDashboard.lbCompleted.text=Completed Jobs AutoIngestDashboard.lbCompleted.text=Completed Jobs
AutoIngestDashboard.lbRunning.text=Running Jobs AutoIngestDashboard.lbRunning.text=Running Jobs

View File

@ -7,8 +7,8 @@
====================================================== --> ====================================================== -->
<folder name="Actions"> <folder name="Actions">
<folder name="Case"> <folder name="Case">
<file name="org-sleuthkit-autopsy-experimental-configuration-AutoIngestCaseOpenAction.instance"> <file name="org-sleuthkit-autopsy-experimental-autoingest-AutoIngestCaseOpenAction.instance">
<attr name="delegate" newvalue="org.sleuthkit.autopsy.experimental.configuration.AutoIngestCaseOpenAction"/> <attr name="delegate" newvalue="org.sleuthkit.autopsy.experimental.autoingest.AutoIngestCaseOpenAction"/>
<attr name="displayName" stringvalue="Open Case"/> <attr name="displayName" stringvalue="Open Case"/>
<attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/> <attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/>
<attr name="noIconInMenu" boolvalue="false"/> <attr name="noIconInMenu" boolvalue="false"/>
@ -25,8 +25,8 @@
</folder> </folder>
<folder name="Case"> <folder name="Case">
<file name="org-sleuthkit-autopsy-casemodule-CaseOpenAction.shadow_hidden"/> <file name="org-sleuthkit-autopsy-casemodule-CaseOpenAction.shadow_hidden"/>
<file name="org-sleuthkit-autopsy-experimental-configuration-AutoIngestCaseOpenAction.shadow"> <file name="org-sleuthkit-autopsy-experimental-autoingest-AutoIngestCaseOpenAction.shadow">
<attr name="originalFile" stringvalue="Actions/Case/org-sleuthkit-autopsy-experimental-configuration-AutoIngestCaseOpenAction.instance"/> <attr name="originalFile" stringvalue="Actions/Case/org-sleuthkit-autopsy-experimental-autoingest-AutoIngestCaseOpenAction.instance"/>
<attr name="position" intvalue="101"/> <attr name="position" intvalue="101"/>
</file> </file>
</folder> </folder>

View File

@ -1,4 +1,3 @@
CTL_OpenAction=Open Case...
OptionsCategory_Name_General=Autopsy OptionsCategory_Name_General=Autopsy
OptionsCategory_Keywords_General=Options OptionsCategory_Keywords_General=Options
OptionsCategory_Name_Auto_Ingest=Auto Ingest OptionsCategory_Name_Auto_Ingest=Auto Ingest