blob: eb9e4ad195027abc66c7d1f8833d750d8c0bc339 [file] [log] [blame]
#
# Menu: Examples > VisibleWhen > Display Files Location
# Kudos: Arthur Daussy
# Description: {This script can be use to display the location of script into the workspace.}
#VisibleWhen:[With selection {
# Iterable {
# InstanceOf "org.eclipse.core.resources.IFile"
# }
#}]
# License: EPL 1.0
#
selectionModule = loadModule("SelectionModule")
print "Selected files location:\n"
for file in selectionModule.getIterableSelection():
print file.getLocation()