Beispiel #1
0
 public OpenDocumentsAction() {
   super("Open documents", MainFrame.getIcon("document"));
   putValue(SHORT_DESCRIPTION, "Opens selected document(s) in a document editor");
 }
Beispiel #2
0
 public RemoveDocumentsAction() {
   super("Remove documents", MainFrame.getIcon("remove-document"));
   putValue(SHORT_DESCRIPTION, "Removes selected document(s) from this corpus");
   putValue(MNEMONIC_KEY, KeyEvent.VK_DELETE);
 }
Beispiel #3
0
 public NewDocumentAction() {
   super("Add document", MainFrame.getIcon("add-document"));
   putValue(SHORT_DESCRIPTION, "Add new document(s) to this corpus");
   putValue(MNEMONIC_KEY, KeyEvent.VK_ENTER);
 }
Beispiel #4
0
 public MoveDownAction() {
   super("Move down", MainFrame.getIcon("down"));
   putValue(SHORT_DESCRIPTION, "Moves selected document(s) down");
   putValue(MNEMONIC_KEY, KeyEvent.VK_DOWN);
 }
Beispiel #5
0
 public MoveUpAction() {
   super("Move up", MainFrame.getIcon("up"));
   putValue(SHORT_DESCRIPTION, "Moves selected document(s) up");
   putValue(MNEMONIC_KEY, KeyEvent.VK_UP);
 }
Beispiel #6
0
 public DocumentNameRenderer() {
   super();
   setIcon(MainFrame.getIcon("document"));
 }