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 Meaning
Multiple Selection Boolean Determines whether the dialog allows multiple selections.
Initial Selection Boolean Determines whether the dialog field will be initialized with the selected resource.
Prompt Text Boolean Determines whether a prompt text is expected as input parameter.
Project Nature Boolean Determines whether a project nature is expected as input parameter.
Project Name Boolean Determines whether a project name is expected as input parameter.
Selection Type Selection Defines 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 Allowed 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 will be written in the file descriptor.