Lines Matching refs:action

22028 	  function addListener(action, fn) {  argument
22030 if (editorActions.isRegistered(action)) {
27018 actions.forEach(function(action) { argument
27020 self.canExecute(action, priority, function(context, action, event) { argument
27996 Rules.prototype.allowed = function(action, context) { argument
28002 allowed = commandStack.canExecute(action, context);
31265 ContextPad.prototype.trigger = function(action, event, autoActivate) { argument
31279 handler = entry.action;
31285 if (action === 'click') {
31289 if (handler[action]) {
31290 return handler[action](originalEvent, element, autoActivate);
32370 if (entry.action) {
32371 return entry.action.call(null, event, entry);
35493 ReplaceMenuProvider.prototype._createMenuEntry = function(definition, element, action) { argument
35506 action = action || replaceAction;
35512 action: action property in AnonymousFunctionf8d14cd138000.menuEntry
35565 action: toggleLoopEntry,
35576 action: toggleLoopEntry,
35587 action: toggleLoopEntry,
35624 action: toggleIsCollection,
35664 action: toggleParticipantMultiplicity,
35691 action: function(event, entry) { method in AnonymousFunctionf8d14cd138400.adHocEntry
36117 entries.replace.action.click(event, shape);
36227 action: {
36257 action: {
36273 action: {
36286 action: {
36299 action: {
36399 action: {
36437 action: {
36451 action: {
36465 action: {
36494 action: {
36946 EditorActions.prototype.trigger = function(action, opts) { argument
36947 if (!this._actions[action]) {
36948 throw error(action, NOT_REGISTERED_ERROR);
36951 return this._actions[action](opts);
36984 forEach(actions, function(listener, action) { argument
36985 self._registerAction(action, listener);
36995 EditorActions.prototype._registerAction = function(action, listener) { argument
36996 if (this.isRegistered(action)) {
36997 throw error(action, IS_REGISTERED_ERROR);
37000 this._actions[action] = listener;
37008 EditorActions.prototype.unregister = function(action) { argument
37009 if (!this.isRegistered(action)) {
37010 throw error(action, NOT_REGISTERED_ERROR);
37013 this._actions[action] = undefined;
37032 EditorActions.prototype.isRegistered = function(action) { argument
37033 return !!this._actions[action];
37037 function error(action, message) { argument
37038 return new Error(action + ' ' + message);
38197 function addListener(action, fn) { argument
38199 if (editorActions.isRegistered(action)) {
45729 var action = { command: command, context: context }; class in AnonymousFunctionf8d14cd14b400
45731 this._pushAction(action);
45732 this._internalExecute(action);
45733 this._popAction(action);
45759 var action = { command: command, context: context }; class in AnonymousFunctionf8d14cd14b500
45763 var result = this._fire(command, 'canExecute', action);
45798 var action = this._getUndoAction(),
45801 if (action) {
45804 this._pushAction(action);
45806 while (action) {
45807 this._internalUndo(action);
45810 if (!next || next.id !== action.id) {
45814 action = next;
45826 var action = this._getRedoAction(),
45829 if (action) {
45832 this._pushAction(action);
45834 while (action) {
45835 this._internalExecute(action, true);
45838 if (!next || next.id !== action.id) {
45842 action = next;
45900 CommandStack.prototype._internalUndo = function(action) { argument
45903 var command = action.command,
45904 context = action.context;
45910 self._fire(command, 'revert', action);
45916 self._revertedAction(action);
45918 self._fire(command, 'reverted', action);
45962 CommandStack.prototype._internalExecute = function(action, redo) { argument
45965 var command = action.command,
45966 context = action.context;
45974 this._pushAction(action);
45977 this._fire(command, 'preExecute', action);
45983 this._fire(command, 'preExecuted', action);
45989 self._fire(command, 'execute', action);
45998 self._executedAction(action, redo);
46000 self._fire(command, 'executed', action);
46004 this._fire(command, 'postExecute', action);
46010 this._fire(command, 'postExecuted', action);
46013 this._popAction(action);
46017 CommandStack.prototype._pushAction = function(action) { argument
46025 …throw new Error('illegal invocation in <execute> or <revert> phase (action: ' + action.command + '…
46028 if (!action.id) {
46029 action.id = (baseAction && baseAction.id) || this._createId();
46032 actions.push(action);
46069 CommandStack.prototype._executedAction = function(action, redo) { argument
46073 this._stack.splice(stackIdx, this._stack.length, action);
46078 CommandStack.prototype._revertedAction = function(action) { argument
46254 Tooltips.prototype.trigger = function(action, event) { argument
46264 if (action === 'mouseover' && tooltip.timeout) {
46268 if (action === 'mouseout' && tooltip.timeout) {
54635 Palette.prototype.trigger = function(action, event, autoActivate) { argument
54653 handler = entry.action;
54659 if (action === 'click') {
54663 if (handler[action]) {
54664 handler[action](originalEvent, autoActivate);
55455 action: {
55493 action: {
55503 action: {
55513 action: {
55523 action: {
55565 action: {
55574 action: {