Select Resource

Function:

This tool opens the Eclipse Resource Selection dialog box. The tool returns the path to the selected Eclipse resource. It supports mass processing.

Tool Attributes:

Attribute Type Description
Multiple Selection Boolean Specifies whether the dialog enables multiple selections.
Initial Selection Boolean Specifies whether the dialog field is initialized with the selected resource.
Prompt Text Boolean Specifies whether a prompt text is expected as input parameter.
Project Nature Boolean Specifies whether a project nature is expected as input parameter.
Project Name Boolean Specifies whether a project name is expected as input parameter.
Selection Type Selection Specifies the Eclipse resource type that can be selected.

Valid values are: Any, Project, Folder, File, From Parameter.

From Parameter means the Eclipse resource type is defined by a tool input parameter.

Parameters:

Parameter # I/O Type Description
1 [O] I String/MassProcessing Eclipse resource ID(s) to be preselected.

Only enabled if the attribute "Initial Selection" is set to "true".

2 [O] I String Dialog prompt text.
3 [O] I String A regular expression on project natures to filter projects to be shown in dialog.
4 [O] I String A regular expression on project names to filter projects to be shown in dialog.
5 [O] I String Type of resources to be selected. Valid values are: any, project, folder, file (only relevant, if the tool attribute "Selection Type" is set to "From Parameter").
6 [M] O File/String/MassProcessing Eclipse paths to the selected Eclipse resources.

Details:

If the output parameter type is "File", the paths of all selected Eclipse resources are written in the file descriptor.