From: Florian L. <fle...@us...> - 2005-10-04 13:12:34
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14848/src/net/sf/magicmap/client/gui/dialogs Modified Files: ViewOptionsDialog.java Log Message: Nur Kanten für Selektierten Knoten Option eingefügt Index: ViewOptionsDialog.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs/ViewOptionsDialog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ViewOptionsDialog.java 29 Sep 2005 14:48:19 -0000 1.2 --- ViewOptionsDialog.java 4 Oct 2005 13:12:24 -0000 1.3 *************** *** 28,31 **** --- 28,32 ---- private JCheckBox showEdgesBetweenLocations; private JCheckBox showEdges; + private JCheckBox showEdgesForSelectedNode; public static void showDialog(Frame owner){ *************** *** 39,43 **** private ViewOptionsDialog(Frame owner) { super(owner, GUIUtils.filterMnemonic(GUIUtils.i18n("viewoptions"))); ! setSize(256, 260); this.setResizable(false); --- 40,44 ---- private ViewOptionsDialog(Frame owner) { super(owner, GUIUtils.filterMnemonic(GUIUtils.i18n("viewoptions"))); ! setSize(306, 280); this.setResizable(false); *************** *** 76,81 **** builder.setRightRightDistance("showedgesbetweenlocations","showaccesspoints",0); showEdges = builder.addCheckBox(GUIUtils.i18n("showedges",false),"showedges",mapView.isShowEdges()); ! builder.setTopBottomDistance("showedges","showedgesbetweenlocations",10); builder.setLeftLeftDistance("showedges","showaccesspoints",0); builder.setRightRightDistance("showedges","showaccesspoints",0); --- 77,87 ---- builder.setRightRightDistance("showedgesbetweenlocations","showaccesspoints",0); + showEdgesForSelectedNode = builder.addCheckBox(GUIUtils.i18n("showedgesforselectednode",false),"showedgesforselectednode",mapView.isShowEdgesForSelectedNode()); + builder.setTopBottomDistance("showedgesforselectednode","showedgesbetweenlocations",10); + builder.setLeftLeftDistance("showedgesforselectednode","showaccesspoints",0); + builder.setRightRightDistance("showedgesforselectednode","showaccesspoints",0); + showEdges = builder.addCheckBox(GUIUtils.i18n("showedges",false),"showedges",mapView.isShowEdges()); ! builder.setTopBottomDistance("showedges","showedgesforselectednode",10); builder.setLeftLeftDistance("showedges","showaccesspoints",0); builder.setRightRightDistance("showedges","showaccesspoints",0); *************** *** 97,100 **** --- 103,107 ---- mapView.setShowEdges(showEdges.isSelected()); mapView.setShowEdgesBetweenLocations(showEdgesBetweenLocations.isSelected()); + mapView.setShowEdgesForSelectedNode(showEdgesForSelectedNode.isSelected()); mapView.setShowLocations(showLocations.isSelected()); MainGUI.getInstance().setUserDefinedView(); *************** *** 104,107 **** --- 111,115 ---- } else if ("SHOWEDGES".equals(e.getActionCommand()) && !showEdges.isSelected()){ showEdgesBetweenLocations.setSelected(false); + showEdgesForSelectedNode.setSelected(false); } |