Feature Requests item #1699227, was opened at 2007-04-12 15:31
Message generated for change (Comment added) made by nicove
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1699227&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: Closed
Priority: 5
Private: No
Submitted By: Angel Herraez (aherraez)
>Assigned to: Nicolas (nicove)
Summary: support for multiple file loading via app menu
Initial Comment:
Now that Jmol can load several files together, it would be interesting to have
this functionality built into the application's top menu bar. (Specially so
since it is cumbersome to load files from different locations in the hard disk
via the console; the open file GUI is much more friendly.)
At a minimum, we should have support for "load append". It could be done with a
checkbox "add to existing models" in the Open dialog box.
Better, also the choice to select several files (from the same folder), if that
is possible in the Java dialog box. (Like in Windows at least, using Ctrl+click)
----------------------------------------------------------------------
>Comment By: Nicolas (nicove)
Date: 2007-05-01 20:56
Message:
Logged In: YES
user_id=1096197
Originator: NO
Done and committed.
As Bob pointed out, it's probably far from perfect (not everything is
updated) but it seems to work.
----------------------------------------------------------------------
Comment By: Angel Herraez (aherraez)
Date: 2007-05-01 20:29
Message:
Logged In: YES
user_id=1065324
Originator: YES
If feasible, the checkbox would be nicer, IMO.
----------------------------------------------------------------------
Comment By: Nicolas (nicove)
Date: 2007-05-01 19:50
Message:
Logged In: YES
user_id=1096197
Originator: NO
I have no problem adding it, even if it's not perfect.
How should we do it :
- adding a menu item ?
- adding a checkbox in the Open File dialog ?
----------------------------------------------------------------------
Comment By: Angel Herraez (aherraez)
Date: 2007-05-01 19:34
Message:
Logged In: YES
user_id=1065324
Originator: YES
Certainly, the animation controls in the app are not very capable, but
even so for a single multimodel file.
To me, the ability to browse the local file system using GUI, and pick up
several files from different places is of great use. The animation control
can be issued from console, but the multiple loading cannot, unless the app
and all the molecule files are together in the same folder --which is not
my case--.
So, if there is no technical trouble, I vote for adding this capability to
the app, even if not backed by full frame control functionality.
Thanks for your efforts.
----------------------------------------------------------------------
Comment By: Bob Hanson (hansonr)
Date: 2007-05-01 18:55
Message:
Logged In: YES
user_id=1082841
Originator: NO
I've added the necessary menu item, but I'm not satisfied and am concerned
that this is a much bigger deal than one might think. Append creates a new
frame, but without the proper controls to access that frame, it appears
initially that nothing has happened. To do this properly we would need a
better set of animation controls, which we just don't have, and I really
think Bioclipse is the platform for this sort of development. I think the
Jmol application animation controls are not up to it. Now, if someone wants
to update that, it would be great, but I think this should probably be part
of that package.
Nico, the action is simply
viewer.scriptWait("load append " + Escape.escape(filename));
Shall I commit this change to Jmol.java and GuiMap.java, or just let it
go?
----------------------------------------------------------------------
Comment By: Nicolas (nicove)
Date: 2007-05-01 17:55
Message:
Logged In: YES
user_id=1096197
Originator: NO
Modifying the Open dialog box should be quite easy (since we already have
FilePreview class).
Bob, after that, is it difficult to call "load append" from
org.openscience.org.jmol.app.Jmol.OpenAction instead of "load" ?
----------------------------------------------------------------------
Comment By: Bob Hanson (hansonr)
Date: 2007-05-01 15:52
Message:
Logged In: YES
user_id=1082841
Originator: NO
A good idea; not going to happen until someone comes along with an
interest in developing the app as a "real" application and not just a
testing tool. It needs a lot of work; mostly we've said that Bioclipse
takes that role for us now.
So for now you are stuck with just using the command line.
On the other hand, the first idea sounds simple enough. Maybe just a menu
item "Load append"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1699227&group_id=23629
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers