PageRenderTime 48ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Java | 23 lines | 18 code | 5 blank | 0 comment | 0 complexity | 1a2d6ada8eaec2e076d0308dc78a2ace MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  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. }