Hi Miklos,

while not very prominent, the path is already displayed in the details.
If you scroll down to the very bottom you will see a "Properties of BaseData" 
section. There all base data properties that can be converted to string (among 
them "path") are shown.

Best,
Caspar

-----Ursprüngliche Nachricht-----
Von: Miklos Espak [mailto:m.es...@ucl.ac.uk] 
Gesendet: Dienstag, 3. Januar 2017 19:44
An: mitk-users
Betreff: [mitk-users] Show file path in Data Manager "Details..." dialog?

Hi,

if you open a file, the path of the containing directory is preserved as a 
"path" property of the data node, and the file name (without
extension) becomes the name of the node.

However, sometimes it would be useful to know the full path, including the file 
extension. E.g. the node can be renamed in the data manager, or there can be 
several files with the same name but different extension.

The full path can be retrieved from the BaseData "path" property, not from the 
DataNode.

Would it be a good idea to display the full file path in the "Details.." dialog 
of the Data Manager context menu?

I attached a screenshot about how it would look. In this solution the file path 
is printed by QmitkInfoDialog, but it could be done from an appropriate place 
in the BaseData hierarchy as well.

Cheers,
Miklos
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to