From: Tobias H. <thu...@us...> - 2005-02-18 09:23:55
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21240/src/net/sf/magicmap/client/views Modified Files: MapView.java Log Message: Index: MapView.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views/MapView.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MapView.java 16 Feb 2005 18:38:49 -0000 1.3 --- MapView.java 18 Feb 2005 09:23:46 -0000 1.4 *************** *** 1075,1082 **** } Node node = findNode(v); ! if (node != null && (node.getType() == NodeModel.NODETYPE_LOCATION || node.getType() == NodeModel.NODETYPE_CLIENT) ! && node != Controller.getInstance().getClient()){ ! Controller.getInstance().setMeasurementViewLocal(false); ! Controller.getInstance().buildOtherMeasurement((AccessPointSeerNode) node); } else{ Controller.getInstance().setMeasurementViewLocal(true); --- 1075,1086 ---- } Node node = findNode(v); ! if (node != null && (node.getType() == NodeModel.NODETYPE_LOCATION || node.getType() == NodeModel.NODETYPE_CLIENT)) { ! if (node != Controller.getInstance().getClient()) { ! Controller.getInstance().setMeasurementViewLocal(false); ! Controller.getInstance().buildOtherMeasurement((AccessPointSeerNode) node); ! } ! Controller.getInstance().getMeasurementView().setTitle(GUIUtils.i18n("measurementfor") + " " + node.getDisplayName()); ! ! } else{ Controller.getInstance().setMeasurementViewLocal(true); |