>>>like in RasMol, if I said:
>>> set picking distance
>>>Atom #1: [ARG]97:E.NH2 (1062)
>>>Atom #2: [ARG]173:E.NH2 (1722)
>>>Distance [ARG]97:E.NH2 - [ARG]173:E.NH2 = 19.211
>>
>>Are you saying that you get all this text sent to you as a single
>> string?
>>
> yes, in RasMol

But does it happen in Chime?

If not, then I will be very reluctant to add it.

At the present time I consider this entire scheme broken and I do not want
to add to the confusion by introducing new things.

If you want your JavaScript code to get information about measurements
then we should have an interface that allows you to query the applet about
the measurements ... and all the other state of the system. Parsing this
information out of strings is ridiculous.

(I may change my mind later ... but that is how I feel today :-(


>>I want you to be able to pick these things with just the mouse ...
>> single click for atom, double click for group, triple click for chain.
>>
>>
> Good, but not while running a script.

I don't understand.

Does a script stop execution when you say 'set picking distance'?

>>When you are selecting multiple items doesn't the same mouse gesture
>> generally 'toggle' the selection?
>>
>>
> That is good in deed, my I cite the already discussed Java guidelines:
> http://java.sun.com/products/jlf/ed2/book/HIG.Behavior.html#35603
>  Follow the general JFC-provided rules for selection in selectable lists
>
> and tables:
> 1. A click on an object deselects any existing selection and selects the
>  object.
> 2. A Shift-click on an object extends the selection from the most
> recently selected object to the current object.
>
> this means in context of biopolymere, follow the chain.
>
> 3. A Control-click on an object toggles its selection without affecting
> the selection of any other objects. This operation can result in
> disjoint selections.

Correct.


>>In response to 'show selected atoms', does MessageCallBack send the
>> string exactly as RasMol would send it? What happens with the newline
>> characters?
>>
>>
> no,
>  show selected group
> lists all the groups that have atoms selected and how many atoms e.g
> (2/17) if only two atoms of the group are currently selected
> one group per line
>  show selected atom
> lists one atom per line

Do I understand correctly that you want to try to extract all of this
information out of a string?

> because I don't use this in chime, I can't tell.

I am only interested in Chime behavior.

At this point I am not going to implement anything beyond what Chime does.

I think the design is flawed, bug-prone, and hard to use. Therefore, I do
not want to compound the problem (and create more future problems for
Jmol) by taking a bad idea and extending it.


Miguel





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to