Revision 15138 import/ext3D/trunk/ext3D/src/com/iver/ai2/gvsig3d/gui/Hud.java
Hud.java | ||
---|---|---|
4 | 4 |
import java.awt.event.MouseEvent; |
5 | 5 |
import java.awt.event.MouseMotionListener; |
6 | 6 |
|
7 |
import org.cresques.i18n.Messages; |
|
8 |
|
|
9 | 7 |
import com.iver.ai2.gvsig3d.resources.ResourcesFactory; |
10 | 8 |
import com.iver.andami.PluginServices; |
11 | 9 |
|
... | ... | |
13 | 11 |
import es.upv.ai2.libjosg.Vec4; |
14 | 12 |
import es.upv.ai2.libjosg.features.Text; |
15 | 13 |
import es.upv.ai2.libjosg.planets.Planet; |
16 |
import es.upv.ai2.libjosg.viewer.IViewer; |
|
17 | 14 |
import es.upv.ai2.libjosg.planets.Planet.PlanetType; |
15 |
import es.upv.ai2.libjosg.viewer.IViewerContainer; |
|
18 | 16 |
|
19 | 17 |
/** |
20 | 18 |
* Use this class for draw items in HUD |
... | ... | |
24 | 22 |
*/ |
25 | 23 |
public class Hud extends Group implements MouseMotionListener { |
26 | 24 |
|
27 |
private IViewer m_canvas3d = null; |
|
25 |
private IViewerContainer m_canvas3d = null;
|
|
28 | 26 |
|
29 | 27 |
private Planet m_planet = null; |
30 | 28 |
|
... | ... | |
49 | 47 |
* @param m_planet |
50 | 48 |
* Planet instance |
51 | 49 |
*/ |
52 |
public Hud(IViewer m_canvas3d, Planet m_planet) { |
|
50 |
public Hud(IViewerContainer m_canvas3d, Planet m_planet) {
|
|
53 | 51 |
super(); |
54 | 52 |
this.m_canvas3d = m_canvas3d; |
55 | 53 |
this.m_planet = m_planet; |
Also available in: Unified diff