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: package net.refractions.udig.project.render;
16:
17: import org.eclipse.core.runtime.IAdaptable;
18: import org.geotools.renderer.lite.LabelCache;
19:
20: /**
21: * The Labeller draws the labels from each renderer on the top layer of the map. New implementations can be
22: * registered using the net.refractions.udig.project.ui.label.painter extension point.
23: * <p>
24: * The basic implementation maintains a cache of Labels so that various heuristics can be ran on them. For example making
25: * sure that labels don't overlap. At the end of each rendering the cached labels are deleted. Except for those added
26: * using the putPermanentLabel.
27: * </p>
28: * @author Jesse
29: * @since 1.1.0
30: */
31: public interface ILabelPainter extends IAdaptable, LabelCache {
32: }
|