01: /*
02: * uDig - User Friendly Desktop Internet GIS client
03: * http://udig.refractions.net
04: * (C) 2004, Refractions Research Inc.
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: */
17: package net.refractions.udig.project.internal.render;
18:
19: import net.refractions.udig.project.internal.render.impl.RenderExecutorComposite;
20: import net.refractions.udig.project.internal.render.impl.RenderExecutorMultiLayer;
21:
22: /**
23: * A Visitor that visit the tree of RenderExecutors.
24: *
25: * @author jeichar
26: * @since 0.6.0
27: */
28: public interface ExecutorVisitor {
29: /**
30: * Called by RenderExecutorImpl objects
31: *
32: * @param executor
33: */
34: void visit(RenderExecutor executor);
35:
36: /**
37: * Called by RendererExecutorMultiLayer objects.
38: *
39: * @param executor
40: */
41: void visit(RenderExecutorMultiLayer executor);
42:
43: /**
44: * Called by CompositeRendererImpl objects.
45: *
46: * @param executor
47: */
48: void visit(RenderExecutorComposite executor);
49: }
|