Feature Requests item #3485115, was opened at 2012-02-06 14:21
Message generated for change (Comment added) made by azh4
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=3485115&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface Improvements
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Andriy Zhugayevych (azh4)
Assigned to: Bob Hanson (hansonr)
Summary: buttons for frequently used commands

Initial Comment:
Can we add buttons and/or keyboard shortcuts to frequently used commands in 
Jmol application? Jmol toolbar has a lot of space for adding new buttons.

My personal frequently used commands are (top seven):
1) "Console".
2) "Style/Labels/With Atom Number" and  "/With Atom Name".
3) "Color/Labels/???" - here two mutually contrasting color schemes must be 
added. Usually "red" makes labels visible for organics. Buy the way, gray by 
default labels on gray carbons are usually invisible.
4) "Color/Background/???" - switch between black and white.
5) "Style/Unit cell" and "/Axes".
6) "Style/Atoms/Show hydrogens".
7) "Style/Scheme/Ball and Stick" and "/Wireframe".

----------------------------------------------------------------------

Comment By: Andriy Zhugayevych (azh4)
Date: 2012-02-07 10:06

Message:
Yes, the list is personal but it is the summary of my few years use of Jmol
and several years use of related software. In any case the current Jmol
toolbar (I have Jmol 12.2 for Windows 7) has a lot of space to add new
buttons even if they are not the best buttons to add. Buy the way in my
personal experience I rarely, if ever, use the buttons 2,3,4,6,7,8,9,12.
Therefore we may not expect to satisfy all the users.

----------------------------------------------------------------------

Comment By: Ted Cohen (buckyb)
Date: 2012-02-07 03:02

Message:
It seems to me that the approach to this request is to parallel the design
of the custom menu feature. Angel is correct, buttons have to be personal.
Jmol developers can not decide in advance what collection of buttons is
best for everyone. But if the user creates an array of button/script/title
triplets and passes it to Jmol, the default Jmol tool bar could be replaced
with a custom tool bar.  Specifying the script part of the triplet would be
identical to how it is done when creating a custom menu. Creating the
button part is a little bit trickier.  I am thinking that if the string
passed as the first element of the triplet contained a slash, the string
would be assumed to be a path to the icon that should appear on the tool
bar. If it does not contain a slash, then a generic button would be used
with the text in the string centered in it.  The title string (optional)
would be used for a tool tip when you hover over the button on the tool
bar. 

As a separate "keymap" feature, the user could create an array of triplets
in the form key/shift mask/script. The key would be the normal key number
and the shift mask would be something like 1=left shift, 2=right shift,
4=either shift, 8=left ctrl, 16=right ctrl, 32=either ctrl, 64=left alt,
128=right alt, 256=either alt, 512=cm, 1024=windows. The user would add
together the mask values that they want and pass the sum in the array.The
third "script" parameter would work as it does in the existing custom menu
feature.

I think it would be pretty straight forward to write up a spec on how the
features could/should work. What would be much more difficult is to figure
out who could write the code and when.  I can't speak at all about to how
to prioritize this request with others. 

----------------------------------------------------------------------

Comment By: Angel Herraez (aherraez)
Date: 2012-02-07 00:55

Message:
Andriy, the problem there is that "personal". What should or not go there?
How about the macro utility?
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=3485115&group
_id=23629


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=3485115&group_id=23629

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to