new RunFilterCommand(filter, app)
- Source:
Run filter command.
Parameters:
Name | Type | Description |
---|---|---|
filter |
object | The filter to run. |
app |
dwv.App | The associated application. |
Methods
execute()
- Source:
Execute the command.
Fires:
getName() → {string}
- Source:
Get the command name.
Returns:
The command name.
- Type
- string
onExecute(_event)
- Source:
Handle an execute event.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The execute event with type and id. |
onUndo(_event)
- Source:
Handle an undo event.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The undo event with type and id. |
undo()
- Source:
Undo the command.
Fires:
Events
filterrun
- Source:
Properties:
Name | Type | Description |
---|---|---|
type |
string | The event type: filterrun. |
id |
number | The id of the run command. |
Filter run event.
Type:
- object
filterundo
- Source:
Properties:
Name | Type | Description |
---|---|---|
type |
string | The event type: filterundo. |
id |
number | The id of the undone run command. |
Filter undo event.
Type:
- object