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

# · Java · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · 8c0545ef9b45868c4405a4edd02fd889 MD5 · raw file

  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. }