Revision 899 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/View.java
View.java | ||
---|---|---|
16 | 16 |
import com.iver.andami.messages.NotificationManager; |
17 | 17 |
import com.iver.andami.ui.mdiManager.SingletonView; |
18 | 18 |
import com.iver.andami.ui.mdiManager.ViewInfo; |
19 |
import com.iver.andami.ui.mdiManager.ViewListener; |
|
19 | 20 |
import com.iver.cit.gvsig.fmap.FMap; |
20 | 21 |
import com.iver.cit.gvsig.fmap.NewMapControl; |
22 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
|
21 | 23 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
22 | 24 |
import com.iver.cit.gvsig.fmap.layers.LayerEvent; |
23 | 25 |
import com.iver.cit.gvsig.fmap.layers.LayerListener; |
... | ... | |
45 | 47 |
* |
46 | 48 |
* @author vcn |
47 | 49 |
*/ |
48 |
public class View extends JPanel implements com.iver.andami.ui.mdiManager.View, |
|
50 |
public class View extends JPanel implements com.iver.andami.ui.mdiManager.View,ViewListener,
|
|
49 | 51 |
SingletonView, IView { |
50 | 52 |
|
51 | 53 |
/** DOCUMENT ME! */ |
... | ... | |
351 | 353 |
* @see com.iver.mdiApp.ui.MDIManager.View#viewActivated() |
352 | 354 |
*/ |
353 | 355 |
public void viewActivated() { |
354 |
// getMapControl().status = MapControl.DESACTUALIZADO; |
|
356 |
PluginServices.getMainFrame().getStatusBar().setMessage("1", |
|
357 |
FConstant.NAMES[getMapControl().getMapContext().getViewPort().getMapUnits()]); |
|
358 |
System.out.println("---------- 1 "+ FConstant.NAMES[getMapControl().getMapContext().getViewPort().getDistanceUnits()]); |
|
359 |
// getMapControl().status = MapControl.DESACTUALIZADO; |
|
355 | 360 |
// getMapControl().repaint(); |
356 | 361 |
} |
357 | 362 |
|
... | ... | |
372 | 377 |
} |
373 | 378 |
|
374 | 379 |
} |
380 |
|
|
381 |
/** |
|
382 |
* @see com.iver.andami.ui.mdiManager.ViewListener#viewClosed() |
|
383 |
*/ |
|
384 |
public void viewClosed() { |
|
385 |
///PluginServices.getMainFrame().getStatusBar().setMessage("1",""); |
|
386 |
} |
|
375 | 387 |
} |
Also available in: Unified diff