Author: kono
Date: 2012-06-18 16:42:32 -0700 (Mon, 18 Jun 2012)
New Revision: 29612

Modified:
   
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/editor/EdgeBendValueEditor.java
Log:
Instruction text is updated for each platform.

Modified: 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/editor/EdgeBendValueEditor.java
===================================================================
--- 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/editor/EdgeBendValueEditor.java
     2012-06-18 23:34:57 UTC (rev 29611)
+++ 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/editor/EdgeBendValueEditor.java
     2012-06-18 23:42:32 UTC (rev 29612)
@@ -80,7 +80,12 @@
 
                // Create Dummy View for this editor
                JPanel innerPanel = new JPanel();
-               innerPanel.setBorder(new TitledBorder("CTRL-Click to add new 
Edge Handle / Drag Handles to adjust Bend"));
+               final String osName = 
System.getProperty("os.name").toLowerCase();
+               if(osName.contains("mac"))
+                       innerPanel.setBorder(new TitledBorder("Command-click to 
add new Edge Handle / Drag Handles to adjust Bend"));
+               else
+                       innerPanel.setBorder(new TitledBorder("Alt-Click to add 
new Edge Handle / Drag Handles to adjust Bend"));
+
                setPreferredSize(DEF_PANEL_SIZE);
                setLayout(new BorderLayout());
                add(innerPanel, BorderLayout.CENTER);

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to