PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Java | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 8c0545ef9b45868c4405a4edd02fd889 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 java.awt.event.ActionEvent;
  3. public class OpenLocation extends InfoViewerAction
  4. {
  5. public OpenLocation() {
  6. super("infoviewer.openlocation");
  7. }
  8. public void actionPerformed(ActionEvent e)
  9. {
  10. getViewer(e).focusAddressBar();
  11. }
  12. }