Module cmd

Module cmd 

Source
Expand description

Common commands.

Statics§

CAN_COPY_VAR
Enable/disable on_copy and on_pre_copy command handles.
CAN_CUT_VAR
Enable/disable on_cut and on_pre_cut command handles.
CAN_NEW_VAR
Enable/disable on_new and on_pre_new command handles.
CAN_OPEN_VAR
Enable/disable on_open and on_pre_open command handles.
CAN_PASTE_VAR
Enable/disable on_paste and on_pre_paste command handles.
CAN_SAVE_AS_VAR
Enable/disable on_save_as and on_pre_save_as command handles.
CAN_SAVE_VAR
Enable/disable on_save and on_pre_save command handles.
CAN_SETTINGS_VAR
Enable/disable on_settings and on_pre_settings command handles.
CONTEXT_MENU_CMD
Represents the context menu open action.
NEW_CMD
Represents the new action.
OPEN_CMD
Represents the open action.
SAVE_AS_CMD
Represents the save-as action.
SAVE_CMD
Represents the save action.
SETTINGS_CMD
Represents the open settings action.

Functions§

can_copy
P Defines if on_copy and on_pre_copy command handles are enabled in the context.
can_cut
P Defines if on_cut and on_pre_cut command handles are enabled in the context.
can_new
P Defines if on_new and on_pre_new command handles are enabled in the context.
can_open
P Defines if on_open and on_pre_open command handles are enabled in the context.
can_paste
P Defines if on_paste and on_pre_paste command handles are enabled in the context.
can_save
P Defines if on_save and on_pre_save command handles are enabled in the context.
can_save_as
P Defines if on_save_as and on_pre_save_as command handles are enabled in the context.
can_settings
P Defines if on_settings and on_pre_settings command handles are enabled in the context.
on_copy
P On copy command.
on_cut
P On cut command.
on_new
P On new command.
on_open
P On open command.
on_paste
P On paste command.
on_pre_copy
P Preview on_copy command.
on_pre_cut
P Preview on_cut command.
on_pre_new
P Preview on_new command.
on_pre_open
P Preview on_open command.
on_pre_paste
P Preview on_paste command.
on_pre_save
P Preview on_save command.
on_pre_save_as
P Preview on_save_as command.
on_pre_settings
P Preview on_settings command.
on_save
P On save command.
on_save_as
P On save-as command.
on_settings
P On settings command.