Last change
on this file since 21777 was 18544, checked in by pieren, 15 years ago |
Add licence in headers for GPL compliance.
|
-
Property svn:eol-style
set to
native
|
File size:
669 bytes
|
Line | |
---|
1 | // License: GPL. v2 and later. Copyright 2008-2009 by Pieren <pieren3@gmail.com> and others
|
---|
2 | package cadastre_fr;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import java.awt.event.ActionEvent;
|
---|
7 |
|
---|
8 | import org.openstreetmap.josm.actions.JosmAction;
|
---|
9 |
|
---|
10 | public class MenuActionResetCookie extends JosmAction {
|
---|
11 |
|
---|
12 | /**
|
---|
13 | *
|
---|
14 | */
|
---|
15 | private static final long serialVersionUID = 1L;
|
---|
16 |
|
---|
17 | public MenuActionResetCookie() {
|
---|
18 | super(tr("Reset cookie"), "cadastre_small", tr("Get a new cookie (session timeout)"), null, false);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public void actionPerformed(ActionEvent e) {
|
---|
22 | CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookie();
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.