5.3.1 Figure Canvas

Description:

Synopsis:

New Actions
Name Type Parameters
Check Figure Existence e

String:Textpath
String:Operator
Boolean:Exists

GEF_FigureCanvas_CheckFigureExists
Check Figure Property c

String:Textpath
String:Text Operator
String:Property Name
String:Property Value
String:Value Operator

GEF_FigureCanvas_VerifyFigureProperty
Check Tool Existence e

String:Textpath
String:Operator
Boolean:Exists

GEF_FigureCanvas_CheckToolExists
Click Connection e

String:Source Text Path
String:Source Operator
String:Target Text Path
String:Target Operator
Integer:Number of Clicks
Integer:Mouse Button

GEF_FigureCanvas_ClickConnection
Click Figure e

String:Textpath
String:Operator
Integer:Number of Clicks
Integer:Mouse Button

GEF_FigureCanvas_ClickFigure
Click in Figure e

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

GEF_FigureCanvas_ClickInFigure
Drag Figure e

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

GEF_FigureCanvas_DragFigure
Drop on Figure e

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

GEF_FigureCanvas_DropOnFigure
Select Tool e

String:Textpath
String:Operator
Integer:Number of Clicks

GEF_FigureCanvas_SelectToolByTextPath

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 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 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)
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)
Drag e

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

Graphics Component (abstract)
Drop e

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

Graphics Component (abstract)
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)
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)
Wait for Component e

Integer:Timeout in ms
Integer:Delay after Visibility

Graphics Component (abstract)


Check Figure Existence (Figure Canvas)

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to enter the textpath to the figure you want to check.

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

Name Data Type Values Default
Exists Boolean true
false
true


Check Figure Property (Figure Canvas)

\includegraphics[height=2cm]{lightbulb} If the property is private, it cannot be checked, as Jubula has no access to it.

Parameters
Name Data Type Values Default
Textpath String - none

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

Use this parameter to enter the operator you wish to use for the textpath to the figure.

\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
Property Name String - none

Name Data Type Values Default
Property Value String - none

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

Use this paramter to specify the operator you wish to use for the Value parameter.


Check Tool Existence (Figure Canvas)

Use this action to check whether a tool entry exists.

Parameters
Name Data Type Values Default
Textpath String - none

Use this paramter to enter the textpath to the tool you want to check.

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

Name Data Type Values Default
Exists Boolean true
false
true


Click Connection (Figure Canvas)

Use this action to click a connection between two figures.

Parameters
Name Data Type Values Default
Source Text Path String - none

Use this parameter to enter the textpath of the first figure that has this connection.

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

Name Data Type Values Default
Target Text Path String - none

Use this parameter to specify the textpath of the second figure which has this connection.

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

Name Data Type Values Default
Number of Clicks Integer - 1

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


Click Figure (Figure Canvas)

Use this action to click a figure you specify on the canvas.

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath to the figure you want to click.

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
Mouse Button Integer 1
2
3
1


Click in Figure (Figure Canvas)

Use this action to click within a figure you specify. The place to click in the figure is given with X and Y units.

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath to the figure you want to click in.

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
Mouse Button Integer 1
2
3
1

Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent


Drag Figure (Figure Canvas)

If you want to drag multiple items, use an action to select the items you want to drag before using the drag action.

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath to the figure you want to drag.

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

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

Name Data Type Values Default
Modifier Keys String none
shift
control
alt
meta
cmd
mod
none

Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent


Drop on Figure (Figure Canvas)

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath to the figure you want to drop onto.

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Delay before drop (milliseconds) Integer - 100


Select Tool (Figure Canvas)

Use this action to select a tool from the panel in the figure canvas.

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to specify the textpath to the tool you want to select.

Use the GEF Inspector View to find out the textpath of items on the canvas -->User Manual [*].

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

Name Data Type Values Default
Number of Clicks Integer - 1



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