public OpenDocumentsAction() { super("Open documents", MainFrame.getIcon("document")); putValue(SHORT_DESCRIPTION, "Opens selected document(s) in a document editor"); }
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); }
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); }
public MoveDownAction() { super("Move down", MainFrame.getIcon("down")); putValue(SHORT_DESCRIPTION, "Moves selected document(s) down"); putValue(MNEMONIC_KEY, KeyEvent.VK_DOWN); }
public MoveUpAction() { super("Move up", MainFrame.getIcon("up")); putValue(SHORT_DESCRIPTION, "Moves selected document(s) up"); putValue(MNEMONIC_KEY, KeyEvent.VK_UP); }
public DocumentNameRenderer() { super(); setIcon(MainFrame.getIcon("document")); }