Added action class, more to be modified

This commit is contained in:
Sophie Mori 2016-08-31 12:51:16 -04:00
parent bda2aea568
commit ac3ee19a1c
2 changed files with 30 additions and 0 deletions

View File

@ -142,6 +142,13 @@ abstract class AddTagAction extends AbstractAction implements Presenter.Popup {
} }
}); });
add(tagAndCommentItem); add(tagAndCommentItem);
// Create a new menu item for the Bookmark File action
/* JMenuItem bookmarkFileActionItem = new JMenuItem(
NbBundle.getMessage(this.getClass(), "AddTagAction.bookmarkFile"));
bookmarkFileActionItem.addActionListener((ActionEvent e) -> {
});*/
} }
} }
} }

View File

@ -0,0 +1,23 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.sleuthkit.autopsy.actions;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
/**
*
* @author smori
*/
public class BookmarkFileAction extends AbstractAction {
@Override
public void actionPerformed(ActionEvent e) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
}