Submit | Open tickets | Closed tickets

[ Ticket #1170 ] ability to select a directory in file chooser
Date:
07/05/12 15:39
Submitted by:
B_Fristensky
Assigned to:
Alvare
Category:
bioLegato
Priority:
7
Ticket group:
New Feature Request
Resolution:
Resolved
Summary:
ability to select a directory in file chooser
Original submission:
Currently, the BioLegato file chooser will only allow you to select a file in the file chooser. eg.

var "protfile"
type file
label "MULTIPLY-ALIGNED PROTEIN FILE"
default ""

I would also like to be able to select a directory eg.

var "protfile"
type directory
label "MULTIPLY-ALIGNED PROTEIN FILE"
default ""


BioLegato should also give an error message if type is file and you select directory, or type is directory and you select a file.
Please log in to add comments and receive followups via email.
Followups
Comment Date By
The file chooser refuses to select a directory. I think there is a simple API switch that tells the chooser whether you want to select a file or a directory.

See birch --> File --> Switch

For an example. This works if you type in the name of the directory (eg. /home/psgendb) but the file chooser won't let you select a directory.

One other thing: Notice that in the "BIRCH directory" text box, "$BIRCH" is shown, rather than the value that the environment variable evaluates to.
08/11/12 14:33 B_Fristensky
One change from the below PCD code -- instead of type directory, the implementation uses type dir, as follows:

var "protfile"
type dir
label "MULTIPLY-ALIGNED PROTEIN FILE"
default ""
08/09/12 16:42 Alvare
No results for "Dependent on ticket"
No results for "Dependent on Task"
No other tickets are dependent on this ticket
Ticket change history
Field Old value Date By
status_id Open 09/28/12 15:07 B_Fristensky
resolution_id Not Resolved 09/28/12 15:07 B_Fristensky
close_date 08/09/12 16:43 09/28/12 15:07 B_Fristensky
status_id Closed 08/11/12 14:33 B_Fristensky
resolution_id Resolved 08/11/12 14:33 B_Fristensky
status_id Open 08/09/12 16:43 Alvare
resolution_id Not Resolved 08/09/12 16:43 Alvare
close_date 12/31/69 19:00 08/09/12 16:43 Alvare
priority 3 08/08/12 18:17 B_Fristensky
status_id Pending 07/05/12 15:39 B_Fristensky
priority 5 07/05/12 15:39 B_Fristensky
assigned_to unset 07/05/12 15:39 B_Fristensky
resolution_id Unset 07/05/12 15:39 B_Fristensky

© 1998-2025 Scilico, LLC. All rights reserved.