Lines Matching defs:canExecute
61 event.canExecute = fileManager.isOnDrive();
70 event.canExecute = fileManager.isOnDrive();
81 event.canExecute = fileManager.isOnDrive() && fileManager.isCtrlKeyPressed();
82 event.command.setHidden(!event.canExecute);
90 event.canExecute = true;
114 * @param {{execute:function, canExecute:function}} handler Handler to use.
127 node.addEventListener('canExecute', function(event) {
129 handler.canExecute.apply(handler, [event].concat(args));
163 canExecute: function(event, document) {
164 event.canExecute = document.queryCommandEnabled(event.command.id);
184 canExecute: function(event) {
187 event.canExecute = (rootType == RootType.ARCHIVE ||
189 event.command.setHidden(!event.canExecute);
219 canExecute: function(event, fileManager, directoryModel) {
224 event.canExecute = removable && !isReadOnly;
248 canExecute: function(event, navigationList) {
250 event.canExecute = (rootType != RootType.DRIVE);
261 canExecute: function(event, fileManager, directoryModel) {
262 event.canExecute = !fileManager.isOnReadonlyDirectory() &&
281 canExecute: function(event, fileManager) {
282 event.canExecute = (fileManager.dialogType == DialogType.FULL_PAGE);
293 canExecute: CommandUtil.canExecuteAlways
303 canExecute: function(event, fileManager) {
305 event.canExecute = !fileManager.isOnReadonlyDirectory() &&
316 canExecute: function(event, document, fileTransferController) {
317 event.canExecute = (fileTransferController &&
329 canExecute: function(event, fileManager) {
331 event.canExecute =
349 canExecute: CommandUtil.canExecuteAlways
359 canExecute: CommandUtil.canExecuteVisibleOnDriveOnly
369 canExecute: CommandUtil.canExecuteVisibleOnDriveWithCtrlKeyOnly
379 canExecute: CommandUtil.canExecuteVisibleOnDriveOnly
397 canExecute: function(event, fileManager) {
399 event.canExecute = tasks && tasks.size() > 1;
411 canExecute: function(event, fileManager) {
412 event.canExecute = !fileManager.isRenamingInProgress();
423 canExecute: function(event, navigationList, index) {
424 event.canExecute = index > 0 && index <= navigationList.dataModel.length;
483 canExecute: function(event, fileManager) {
490 event.canExecute = true;
494 event.canExecute = false;
533 canExecute: function(event, fileManager) {
535 event.canExecute = !fileManager.isOnReadonlyDirectory() &&
548 canExecute: function(event, fileManager) {
550 event.canExecute = fileManager.isOnDrive() &&
575 canExecute: function(event, fileManager) {
597 event.canExecute =
621 canExecute: function(event, fileManager) {
634 event.canExecute = isShortcut && eligible;
635 event.command.setHidden(!event.canExecute);
646 canExecute: CommandUtil.canExecuteAlways
656 canExecute: CommandUtil.canExecuteAlways
666 canExecute: CommandUtil.canExecuteAlways