5.7.3 Tree Table

Description:

A tree table is an SWT component which has some of the proeprties of a tree (e.g. nodes which can be expanded or collapsed) and some of the properties of a table (e.g. rows and columns).

Because the forward slash (/) is a special symbol for trees, if you want to use a slash as part of your parameter value, you have to mask it. See the section later in this document 9 for more details.

Synopsis:

New Actions
Name Type Parameters
Check Selection by Value(s) (Specify Column) c

String:Text
String:Operator
Integer:Column

SWT_SwtTree_VerifySelectedValueAtColumn
Select Entry by Indexpath (Specify Column) e

String:Path Type
Integer:Pre-ascend
String:Indexpath
Integer:Number of Clicks
Integer:Column
Integer:Mouse Button

SWT_SwtTree_SelectByIndexPathAtColumn
Select Entry by Textpath (Specify Column) e

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator
Integer:Number of Clicks
Integer:Column
Integer:Mouse Button

SWT_SwtTree_SelectByTextPathAtColumn

Inherited Actions
Name Type Parameters Inherited from
Check Enablement c

Boolean:Enabled

Graphics Component (abstract)
Check Enablement of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Enabled
Integer:Mouse Button

Graphics Component (abstract)
Check Enablement of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Enabled
Integer:Mouse Button

Graphics Component (abstract)
Check Enablement of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Enabled
Integer:Mouse Button

Graphics Component (abstract)
Check Enablement of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Enabled
Integer:Mouse Button

Graphics Component (abstract)
Check Existence c

Boolean:Exists

Graphics Component (abstract)
Check Existence of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Exists
Integer:Mouse Button

Graphics Component (abstract)
Check Existence of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Exists
Integer:Mouse Button

Graphics Component (abstract)
Check Existence of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Exists
Integer:Mouse Button

Graphics Component (abstract)
Check Existence of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Exists
Integer:Mouse Button

Graphics Component (abstract)
Check Existence of Node by Indexpath c

String:Path Type
Integer:Pre-ascend
String:Indexpath
Boolean:Exists

Tree (concrete)
Check Existence of Node by Textpath c

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator
Boolean:Exists

Tree (concrete)
Check Focus c

Boolean:Has Focus

Graphics Component (abstract)
Check Property c

String:Property Name
String:Property Value
String:Operator

Graphics Component (abstract)
Check Selection of Checkbox by Indexpath c

String:Path Type
Integer:Pre-ascend
String:Indexpath
Boolean:Checked

(SWT) Tree (swt)
Check Selection of Checkbox by Textpath c

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator
Boolean:Checked

(SWT) Tree (swt)
Check Selection of Checkbox on Selected Node c

Boolean:Checked

(SWT) Tree (swt)
Check Selection of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Selected
Integer:Mouse Button

Graphics Component (abstract)
Check Selection of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Selected
Integer:Mouse Button

Graphics Component (abstract)
Check Selection of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Selected
Integer:Mouse Button

Graphics Component (abstract)
Check Selection of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Selected
Integer:Mouse Button

Graphics Component (abstract)
Check Text (Mouse Position) c

String:Text
String:Operator

Tree (concrete)
Check Text of Selected Node(s) c

String:Text
String:Operator

Tree (concrete)
Click e

Integer:Number of Clicks
Integer:Mouse Button

Graphics Component (abstract)
Click in Component e

Integer:Number of Clicks
Integer:Mouse Button
Integer:x-position
String:x-units
Integer:y-position
String:y-units

Graphics Component (abstract)
Collapse Node by Indexpath e

String:Path Type
Integer:Pre-ascend
String:Indexpath

Tree (concrete)
Collapse Node by Textpath e

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator

Tree (concrete)
Drag e

Integer:Mouse Button
String:Modifier Keys
Integer:x-position
String:x-units
Integer:y-position
String:y-units

Graphics Component (abstract)
Drag Node by Indexpath e

Integer:Mouse Button
String:Modifier Keys
String:Path Type
Integer:Pre-ascend
String:Tree Indexpath

Tree (concrete)
Drag Node by Textpath e

Integer:Mouse Button
String:Modifier Keys
String:Path Type
Integer:Pre-ascend
String:Tree Textpath
String:Operator

Tree (concrete)
Drop e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
Integer:Delay before drop (milliseconds)

Graphics Component (abstract)
Drop on Node by Indexpath e

String:Path Type
Integer:Pre-ascend
String:Tree Indexpath
Integer:Delay before drop (milliseconds)

Tree (concrete)
Drop on Node by Textpath e

String:Path Type
Integer:Pre-ascend
String:Tree Textpath
String:Operator
Integer:Delay before drop (milliseconds)

Tree (concrete)
Expand Node by Indexpath e

String:Path Type
Integer:Pre-ascend
String:Indexpath

Tree (concrete)
Expand Node by Textpath e

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator

Tree (concrete)
Move e

String:Direction
Integer:Number of Nodes
Integer:Number of Clicks

Tree (concrete)
Select Context Menu Entry by Indexpath e

String:Indexpath
Integer:Mouse Button

Graphics Component (abstract)
Select Context Menu Entry by Indexpath (Specify Position) e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Integer:Mouse Button

Graphics Component (abstract)
Select Context Menu Entry by Textpath e

String:Textpath
String:Operator
Integer:Mouse Button

Graphics Component (abstract)
Select Context Menu Entry by Textpath (Specify Position) e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Menupath
String:Operator
Integer:Mouse Button

Graphics Component (abstract)
Select Node by Indexpath e

String:Path Type
Integer:Pre-ascend
String:Indexpath
Integer:Number of Clicks
Integer:Mouse Button
String:Extend Selection

Tree (concrete)
Select Node by Textpath e

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator
Integer:Number of Clicks
Integer:Mouse Button
String:Extend Selection

Tree (concrete)
Show Text e

String:Text
Integer:Text Size (in points)
Integer:Time per Word (in milliseconds)
Integer:Window Width (in pixels)

Graphics Component (abstract)
Store Property e

Variable:Variable Name
String:Property Name

Graphics Component (abstract)
Store Text at Mouse Position e

Variable:Variable Name

Tree (concrete)
Store Text of Selected Node e

Variable:Variable Name

Tree (concrete)
Toggle Checkbox on Node by Indexpath e

String:Path Type
Integer:Pre-ascend
String:Indexpath

(SWT) Tree (swt)
Toggle Checkbox on Node by Textpath e

String:Path Type
Integer:Pre-ascend
String:Textpath
String:Operator

(SWT) Tree (swt)
Wait for Component e

Integer:Timeout in ms
Integer:Delay after Visibility

Graphics Component (abstract)


Check Selection by Value(s) (Specify Column) (Tree Table)

Parameters
Name Data Type Values Default
Text String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Column Integer - 1


Select Entry by Indexpath (Specify Column) (Tree Table)

Parameters
Name Data Type Values Default
Path Type String absolute
relative
absolute

Name Data Type Values Default
Pre-ascend Integer - 0

\includegraphics[height=2cm]{lightbulb} The Pre-ascend parameter is simply ignored for absolute paths.

Name Data Type Values Default
Indexpath String - none

Use this parameter to specify the indexpath of the subtree you want to select. Make sure you give the whole path (either starting from the top of the tree, or at the position defined by the pre-ascend and path type parameters).

Name Data Type Values Default
Number of Clicks Integer - 1

Name Data Type Values Default
Column Integer - 1

Name Data Type Values Default
Mouse Button Integer 1
2
3
1


Select Entry by Textpath (Specify Column) (Tree Table)

Parameters
Name Data Type Values Default
Path Type String absolute
relative
absolute

Name Data Type Values Default
Pre-ascend Integer - 0

\includegraphics[height=2cm]{lightbulb} The Pre-ascend parameter is simply ignored for absolute paths.

Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath of the subtree you want to select. Make sure you give the whole path (either starting from the top of the tree, or at the position defined by the pre-ascend and path type parameters).

\includegraphics[height=2cm]{lightbulb} When you use a regular expression for a textpath, bear in mind that each subpath is considered separately. The first path which corresponds to each subpath will be chosen. It is therefore advisable to make your regular expressions as unambiguous as possible.

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Number of Clicks Integer - 1

Name Data Type Values Default
Column Integer - 1

Name Data Type Values Default
Mouse Button Integer 1
2
3
1



Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.