Changeset 3499


Ignore:
Timestamp:
12/26/07 17:54:32 (12 years ago)
Author:
melissa
Message:

Can now save metadata.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/SearchableWindow.java

    r3015 r3499  
    5757    Menu menu = menubar.getMenu(0); 
    5858    MenuItem search = new MenuItem("Search..."); 
     59    search.setActionCommand("search"); 
    5960    search.addActionListener(this); 
    6061    menu.add(search); 
     
    6465 
    6566  public void actionPerformed(ActionEvent e) { 
    66     new SearchBox(this); 
     67    if ("search".equals(e.getActionCommand())) { 
     68      new SearchBox(this); 
     69    } 
     70    else panel.actionPerformed(e); 
    6771  } 
    6872 
Note: See TracChangeset for help on using the changeset viewer.