01: /* uDig - User Friendly Desktop Internet GIS client
02: * http://udig.refractions.net
03: * (C) 2004, Refractions Research Inc.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation;
08: * version 2.1 of the License.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: */
15:
16: package net.refractions.udig.project.interceptor;
17:
18: import net.refractions.udig.project.internal.Map;
19:
20: /**
21: * An interceptor that is ran on a map. The net.refractions.udig.mapInterceptor extension point has more information.
22: *
23: * @author Jesse
24: */
25: public interface MapInterceptor {
26: static final String MAP_INTERCEPTOR_EXTENSIONPOINT = "net.refractions.udig.project.mapInterceptor"; //$NON-NLS-1$
27:
28: /**
29: * Performs an action on or with the intercepted map.
30: *
31: * @param map
32: */
33: public void run(Map map);
34: }
|