/bundles/plugins-trunk/InfoViewer/infoviewer/actions/Find.java

# · Java · 23 lines · 18 code · 5 blank · 0 comment · 0 complexity · 1a2d6ada8eaec2e076d0308dc78a2ace MD5 · raw file

  1. package infoviewer.actions;
  2. import infoviewer.InfoViewer;
  3. import java.awt.event.ActionEvent;
  4. public class Find extends InfoViewerAction
  5. {
  6. public Find() {
  7. super("infoviewer.find");
  8. }
  9. protected Find(String name) {
  10. super(name);
  11. }
  12. public void actionPerformed(ActionEvent e)
  13. {
  14. InfoViewer v = getViewer(e);
  15. getViewer(e).focusAddressBar();
  16. }
  17. protected static String lastString;
  18. }