Revision 962 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/MapOverview.java
MapOverview.java | ||
---|---|---|
6 | 6 |
*/ |
7 | 7 |
package com.iver.cit.gvsig.gui; |
8 | 8 |
|
9 |
import com.iver.andami.PluginServices; |
|
9 |
import java.awt.Color; |
|
10 |
import java.awt.Graphics; |
|
11 |
import java.awt.Graphics2D; |
|
12 |
import java.awt.geom.AffineTransform; |
|
13 |
import java.awt.geom.Line2D; |
|
14 |
import java.awt.geom.Point2D; |
|
10 | 15 |
|
11 |
import com.iver.cit.gvsig.ProjectExtension;
|
|
16 |
import com.iver.cit.gvsig.fmap.ColorEvent;
|
|
12 | 17 |
import com.iver.cit.gvsig.fmap.ExtentEvent; |
13 |
import com.iver.cit.gvsig.fmap.ExtentListener; |
|
14 | 18 |
import com.iver.cit.gvsig.fmap.FMap; |
15 | 19 |
import com.iver.cit.gvsig.fmap.NewMapControl; |
16 | 20 |
import com.iver.cit.gvsig.fmap.ViewPort; |
21 |
import com.iver.cit.gvsig.fmap.ViewPortListener; |
|
17 | 22 |
import com.iver.cit.gvsig.fmap.tools.Behavior.PointMapTool; |
18 | 23 |
import com.iver.cit.gvsig.gui.toolListeners.MapOverviewListener; |
19 |
import com.iver.cit.gvsig.project.castor.ProjectView; |
|
20 | 24 |
|
21 |
import com.iver.utiles.XMLEntity; |
|
22 | 25 |
|
23 |
import java.awt.Color; |
|
24 |
import java.awt.Graphics; |
|
25 |
import java.awt.Graphics2D; |
|
26 |
import java.awt.geom.AffineTransform; |
|
27 |
import java.awt.geom.Line2D; |
|
28 |
import java.awt.geom.Point2D; |
|
29 |
|
|
30 |
import java.util.ArrayList; |
|
31 |
|
|
32 |
|
|
33 | 26 |
/** |
34 | 27 |
* DOCUMENT ME! |
35 | 28 |
* |
... | ... | |
37 | 30 |
* to Window - Preferences - Java - Code Generation - Code and |
38 | 31 |
* Comments |
39 | 32 |
*/ |
40 |
public class MapOverview extends NewMapControl implements ExtentListener {
|
|
33 |
public class MapOverview extends NewMapControl implements ViewPortListener {
|
|
41 | 34 |
private NewMapControl m_MapAssoc; |
42 | 35 |
|
43 | 36 |
/** |
... | ... | |
47 | 40 |
*/ |
48 | 41 |
public MapOverview(NewMapControl mapAssoc) { |
49 | 42 |
super(); |
43 |
super.vp.setBackColor(new Color(230,230,230)); |
|
50 | 44 |
m_MapAssoc = mapAssoc; |
51 | 45 |
|
52 | 46 |
// setModel((FMap) m_MapAssoc.getMapContext().clone()); // Lo inicializamos con |
... | ... | |
125 | 119 |
m_MapAssoc.getMapContext().getViewPort().addExtentListener(this); |
126 | 120 |
getMapContext().getViewPort().addExtentListener(this); |
127 | 121 |
} |
122 |
|
|
123 |
/** |
|
124 |
* @see com.iver.cit.gvsig.fmap.ViewPortListener#backColorChanged(com.iver.cit.gvsig.fmap.ColorEvent) |
|
125 |
*/ |
|
126 |
public void backColorChanged(ColorEvent e) { |
|
127 |
} |
|
128 | 128 |
} |
Also available in: Unified diff