/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
- package infoviewer.actions;
- import java.awt.event.ActionEvent;
- public class OpenLocation extends InfoViewerAction
- {
- public OpenLocation() {
- super("infoviewer.openlocation");
- }
- public void actionPerformed(ActionEvent e)
- {
- getViewer(e).focusAddressBar();
- }
- }