Lines Matching refs:priority

6547 	EventBus.prototype.on = function(events, priority, callback, that) {  argument
6551 if (isFunction(priority)) {
6553 callback = priority;
6554 priority = DEFAULT_PRIORITY$5;
6557 if (!isNumber(priority)) {
6576 priority: priority,
6592 EventBus.prototype.once = function(event, priority, callback, that) { argument
6595 if (isFunction(priority)) {
6597 callback = priority;
6598 priority = DEFAULT_PRIORITY$5;
6601 if (!isNumber(priority)) {
6620 this.on(event, priority, wrappedCallback);
6849 if (listener.priority < newListener.priority) {
16155 BaseViewer.prototype.on = function(event, priority, callback, target) { argument
16156 return this.get('eventBus').on(event, priority, callback, target);
16730 canvas, textRenderer, priority) { argument
16732 BaseRenderer.call(this, eventBus, priority);
21946 Keyboard.prototype.addListener = function(priority, listener, type) { argument
21947 if (isFunction(priority)) {
21949 listener = priority;
21950 priority = DEFAULT_PRIORITY$4;
21953 this._eventBus.on(type || KEYDOWN_EVENT, priority, listener);
26560 CommandInterceptor.prototype.on = function(events, hook, priority, handlerFn, unwrap, that) { argument
26565 handlerFn = priority;
26566 priority = hook;
26570 if (isFunction(priority)) {
26573 handlerFn = priority;
26574 priority = DEFAULT_PRIORITY$3;
26597 eventBus.on(fullEvent, priority, unwrap ? unwrapEvent(handlerFn, that) : handlerFn, that);
26634 CommandInterceptor.prototype[hook] = function(events, priority, handlerFn, unwrap, that) {
26639 handlerFn = priority;
26640 priority = events;
26644 this.on(events, hook, priority, handlerFn, unwrap, that);
27010 RuleProvider.prototype.addRule = function(actions, priority, fn) { argument
27020 self.canExecute(action, priority, function(context, action, event) {
31216 ContextPad.prototype.registerProvider = function(priority, provider) { argument
31218 provider = priority;
31219 priority = DEFAULT_PRIORITY$2;
31222 this._eventBus.on('contextPad.getProviders', priority, function(event) {
32221 PopupMenu.prototype.registerProvider = function(id, priority, provider) { argument
32223 provider = priority;
32224 priority = DEFAULT_PRIORITY$1;
32227 this._eventBus.on('popupMenu.getProviders.' + id, priority, function(event) {
32902 descriptor.priority = 1;
32917 descriptor.priority = 2;
32924 descriptor.priority = 3;
32934 descriptor.priority = 4;
33331 return elementData.descriptor.priority;
54445 Palette.prototype.registerProvider = function(priority, provider) { argument
54447 provider = priority;
54448 priority = DEFAULT_PRIORITY;
54451 this._eventBus.on('palette.getProviders', priority, function(event) {