source: osm/applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionResetCookie.java@ 13382

Last change on this file since 13382 was 13382, checked in by pieren, 17 years ago

First commit of the french land registry WMS plugin for JOSM.

File size: 601 bytes
Line 
1package cadastre_fr;
2
3import static org.openstreetmap.josm.tools.I18n.tr;
4
5import java.awt.event.ActionEvent;
6
7import org.openstreetmap.josm.actions.JosmAction;
8
9public class MenuActionResetCookie extends JosmAction {
10
11 /**
12 *
13 */
14 private static final long serialVersionUID = 1L;
15
16 public MenuActionResetCookie() {
17 super(tr("Reset cookie"), "cadastre_small", tr("Get a new cookie (session timeout)"), null, false);
18 }
19
20 public void actionPerformed(ActionEvent e) {
21 CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookie();
22 }
23}
Note: See TracBrowser for help on using the repository browser.