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