Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Functions You Call
These are functions that Enterprise Architect provides for you to call.
Function |
Action |
Return Value |
See also |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NewSearch(name, group, guid, taskcount) |
Create a new search object to be included in WorkflowSearches. Initialize each member.
|
The created search |
|||||||||||||||||||||||||
NewTask(name, conditioncount) |
Create a new task object to be included in a search. Initialize each member.
|
The created task |
|
||||||||||||||||||||||||
NewCondition(column, operator, value) |
Create a new condition object to be included in a task. Initialize each member.
|
The created condition |
|
||||||||||||||||||||||||
SetLastError(message, outputMethod) |
Called on user input to the following element properties:
It logs and/or reports the provided message to the user. It can be called within the functions:
For example:
public function AllowPhaseUpdate( OldValue, NewValue )
AllowPhaseUpdate = false
SetLastError "No updating to phase allowed", "messagebox"
end function
Parameters: message: Text outputMethod can be "messagebox", "statusbar" or "outputwindow". outputmethod is case sensitive.
|
The message |
|