1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-06 02:24:30 +00:00

Testing things

This commit is contained in:
Eugene Livis
2015-05-27 13:07:32 -04:00
parent 6fa65783a6
commit 46a8090aa2

View File

@@ -20,6 +20,8 @@
package org.sleuthkit.autopsy.casemodule;
import java.awt.event.ActionEvent;
import org.openide.util.HelpCtx;
import org.openide.util.actions.CallableSystemAction;
import org.openide.util.actions.SystemAction;
import org.openide.util.lookup.ServiceProvider;
@@ -29,7 +31,7 @@ import org.openide.util.lookup.ServiceProvider;
* @author jantonius
*/
@ServiceProvider(service = CaseNewActionInterface.class)
public final class CaseNewAction implements CaseNewActionInterface {
public final class CaseNewAction extends CallableSystemAction implements CaseNewActionInterface {
private NewCaseWizardAction wizard = SystemAction.get(NewCaseWizardAction.class);
@@ -41,4 +43,18 @@ public final class CaseNewAction implements CaseNewActionInterface {
public void actionPerformed(ActionEvent e) {
wizard.performAction();
}
@Override
public void performAction() {
}
@Override
public String getName() {
return "New Case";
}
@Override
public HelpCtx getHelpCtx() {
return HelpCtx.DEFAULT_HELP;
}
}