From: Tobias H. <thu...@us...> - 2005-08-31 11:59:30
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2890/src/net/sf/magicmap/client/views Modified Files: MapView.java Log Message: + Marked position for metric declaration + Changed MagicMetric field to NodeModelMetric Index: MapView.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views/MapView.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** MapView.java 15 Jul 2005 16:40:05 -0000 1.10 --- MapView.java 31 Aug 2005 11:59:16 -0000 1.11 *************** *** 26,29 **** --- 26,30 ---- import net.sf.magicmap.client.algorithms.MagicMetric; + import net.sf.magicmap.client.algorithms.NodeModelMetric; import net.sf.magicmap.client.controller.Controller; import net.sf.magicmap.client.gui.PACWGraphDraw; *************** *** 90,94 **** private HashMap locationLocationMap; ! private MagicMetric metric; private boolean showEdgesBetweenLocations = true; --- 91,95 ---- private HashMap locationLocationMap; ! private NodeModelMetric metric; private boolean showEdgesBetweenLocations = true; *************** *** 118,121 **** --- 119,125 ---- this.model = null; this.setFrameIcon(GUIBuilder.getToolIcon(GUIConstants.ICON_MAP)); + + // TODO Hier kann eine andere Metrik verwendet werden + this.metric = new MagicMetric(); // Zwischenspeicher für Kanten Client => Location |