Lines Matching refs:id

99 	            var id = hat(bits, base);
100 } while (Object.hasOwnProperty.call(hats, id));
102 hats[id] = data;
103 return id;
107 fn.get = function (id) { argument
108 return fn.hats[id];
111 fn.set = function (id, value) {
112 fn.hats[id] = value;
159 var id;
162 id = prefix + this.next(true);
163 } while (this.assigned(id)); // claim {prefix}{random}
166 this.claim(id, element); // return
168 return id;
178 Ids.prototype.claim = function (id, element) { argument
179 this._seed.set(id, element || true);
189 Ids.prototype.assigned = function (id) { argument
190 return this._seed.get(id) || false;
199 Ids.prototype.unclaim = function (id) { argument
200 delete this._seed.hats[id];
209 id;
211 for (id in hats) {
212 this.unclaim(id);
2600 isTopLevel && groupBy(elements, function(e) { return e.id; })
2605 if (topLevel[c.source.id] && topLevel[c.target.id]) {
2606 topLevel[c.id] = [ c ];
2611 if (allShapes[c.source.id] && allShapes[c.target.id]) {
2612 enclosedConnections[c.id] = enclosedElements[c.id] = c;
2615 allConnections[c.id] = c;
2620 enclosedElements[element.id] = element;
2625 enclosedConnections[element.id] = allConnections[element.id] = element;
2629 allShapes[element.id] = element;
2734 filteredElements[element.id] = element;
2737 filteredElements[element.id] = element;
2744 filteredElements[element.id] = element;
2746 filteredElements[element.id] = element;
4632 id: '__implicitroot' + name, property in AnonymousFunctionf8d14cd15a00.rootElement
4747 if (!element.id) {
4752 container = this._elementRegistry._elements[element.id];
4825 if (!element.id) {
4945 if (!element.id) {
4949 if (this._elementRegistry.get(element.id)) {
4950 throw new Error('element with id ' + element.id + ' already exists');
5052 element = elementRegistry.get(element.id || element);
5610 var id = element.id;
5612 this._validateId(id);
5615 attr(gfx, ELEMENT_ID, id);
5618 attr(secondaryGfx, ELEMENT_ID, id);
5621 this._elements[id] = { element: element, gfx: gfx, secondaryGfx: secondaryGfx };
5631 id = element.id || element,
5632 container = id && elements[id];
5643 delete elements[id];
5671 element.id = newId;
5684 var id = filter.id || filter;
5686 var container = this._elements[id];
5694 attr(gfx, ELEMENT_ID, id);
5713 var id;
5716 id = filter;
5718 id = filter && attr(filter, ELEMENT_ID);
5721 var container = this._elements[id];
5757 var id = keys[i],
5758 container = map[id],
5786 Object.keys(map).forEach(function(id) { argument
5787 var container = map[id],
5811 var id = filter.id || filter;
5813 var container = this._elements[id];
5825 ElementRegistry.prototype._validateId = function(id) { argument
5826 if (!id) {
5830 if (this._elements[id]) {
5831 throw new Error('element with id ' + id + ' already added');
6425 if (!attrs.id) {
6426 attrs.id = type + '_' + (this._uid++);
7139 map[e.parent.id] = e.parent;
9547 id;
9550 id = element.get(idProperty.name);
9552 if (id) {
9555 if (!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(id)) {
9556 throw new Error('illegal ID <' + id + '>');
9559 if (elementsById[id]) {
9560 throw error$1('duplicate ID <' + id + '>');
9563 elementsById[id] = element;
9629 this.element.id = this.body;
9635 id: ''
9748 id: value
9759 id: v
10153 var reference = elementsById[r.id];
10158 message: 'unresolved reference <' + r.id + '>',
10161 value: r.id
10580 .append('<' + this.tagName + '>' + this.element.id + '</' + this.tagName + '>')
10990 value = value.id;
10995 values.push(v.id);
14940 return '<' + e.$type + (e.id ? ' id="' + e.id : '') + '" />';
14990 handledElements[element.id] = element;
14994 return handledElements[element.id];
16325 return element.id === diagramId;
16420 id;
16425 for (id in elementsById) {
16426 ids.claim(id, elementsById[id]);
16744 function addMarker(id, options) { argument
16769 id: id,
16788 markers[id] = marker;
16798 var id = type + '-' + colorEscape(fill) + '-' + colorEscape(stroke) + '-' + rendererId;
16800 if (!markers[id]) {
16801 createMarker(id, type, fill, stroke);
16804 return 'url(#' + id + ')';
16807 function createMarker(id, type, fill, stroke) { argument
16813 addMarker(id, {
16828 addMarker(id, {
16842 addMarker(id, {
16857 addMarker(id, {
16873 addMarker(id, {
16889 addMarker(id, {
16904 addMarker(id, {
18767 id: 'helper-svg',
19724 id: semantic.id,
19912 var host = this._elementRegistry.get(hostSemantic.id),
19951 id: semantic.id + '_label',
20016 return this._elementRegistry.get(semantic.id);
20936 var shape = elementRegistry.get(event.context.shape.id);
20940 return shape.id === selectedShape.id;
21181 search = { id: search }; property in AnonymousFunctionf8d14cd11c300.search
21203 return search.id ? this._overlays[search.id] : null;
21237 if (!element.id) {
21253 var id = this._ids.next();
21256 id: id,
21264 return id;
21297 delete self._overlays[overlay.id];
21346 attr$1(container.html, 'data-container-id', element.id);
21446 var id = overlay.id,
21465 …htmlContainer = domify('<div class="djs-overlay" data-overlay-id="' + id + '" style="position: abs…
21485 this._overlays[id] = overlay;
21591 self.remove(o.id);
24124 this.id = uniqueId();
24169 if (!simultaneous[otherRecognizer.id]) {
24170 simultaneous[otherRecognizer.id] = otherRecognizer;
24187 delete this.simultaneous[otherRecognizer.id];
24242 return !!this.simultaneous[otherRecognizer.id];
26110 id: connection.source.id,
26126 id: connection.target.id,
26133 accumulator[ currentValue.id + '__weight_' + currentValue.weight ] = currentValue;
26692 return element.parent.id;
26700 return find(autoResize, matchPattern({ id: element.id }));
27421 return elementRegistry.get(element.id);
28487 gfx = query('.djs-bendpoints[data-element-id="' + cssEscape(element.id) + '"]', layer);
28491 attr(gfx, { 'data-element-id': element.id });
31248 forEach(entriesOrUpdater, function(entry, id) { argument
31249 entries[id] = entry;
31332 forEach(entries, function(entry, id) { argument
31337 attr$1(control, 'data-action', id);
31607 var markerId = marker.id;
31616 clonedMarker.id = clonedMarkerId;
31635 var reference = idToReference(this._clonedMarkers[ markerId ].id);
31652 var id = referenceToId(attr(node, markerType));
31654 return query('marker#' + id, parentNode || document);
31676 function idToReference(id) { argument
31677 return 'url(#' + id + ')';
32221 PopupMenu.prototype.registerProvider = function(id, priority, provider) { argument
32227 this._eventBus.on('popupMenu.getProviders.' + id, priority, function(event) {
32271 PopupMenu.prototype.open = function(element, id, position) { argument
32273 var providers = this._getProviders(id);
32280 throw new Error('No registered providers for: ' + id);
32294 className: id,
32375 PopupMenu.prototype._getProviders = function(id) { argument
32378 type: 'popupMenu.getProviders.' + id,
32396 var id = entry.id;
32398 if (!id) {
32402 entries[id] = omit(entry, [ 'id' ]);
32413 forEach(entriesOrUpdater, function(entry, id) { argument
32414 entries[id] = entry;
32435 var id = entry.id;
32437 if (!id) {
32441 entries[id] = omit(entry, [ 'id' ]);
32452 forEach(entriesOrUpdater, function(entry, id) { argument
32453 entries[id] = entry;
32637 forEach(entries, function(entry, id) { argument
32638 var entryContainer = self._createEntry(entry, id);
32653 PopupMenu.prototype._createEntry = function(entry, id) { argument
32666 attr$1(entryContainer, DATA_REF, id);
32904 descriptor.id = element.id;
32912 descriptor.parent = element.parent.id;
32919 descriptor.host = element.host.id;
32926 descriptor.source = element.source.id;
32927 descriptor.target = element.target.id;
32936 descriptor.labelTarget = element.labelTarget.id;
33123 element = cache[ descriptor.id ] = self.createConnection(attrs);
33133 element = cache[ descriptor.id ] = self.createLabel(attrs);
33144 element = cache[ descriptor.id ] = self.createShape(attrs);
33186 source = find(elements, matchPattern({ id: element.source.id }));
33187 target = find(elements, matchPattern({ id: element.target.id }));
33195 labelTarget = find(elements, matchPattern({ id: element.labelTarget.id }));
33474 descriptor.default = businessObject.default.id;
33522 if (key === descriptor.id) {
33525 array.push(descriptor.id);
33835 ModdleCopy.prototype._copyId = function(id, element) { argument
33838 if (this._moddle.ids.assigned(id)) {
33842 this._moddle.ids.claim(id, element);
33843 return id;
35511 id: definition.actionName, property in AnonymousFunctionf8d14cd138000.menuEntry
35561 id: 'toggle-parallel-mi',
35572 id: 'toggle-sequential-mi',
35583 id: 'toggle-loop',
35620 id: 'toggle-is-collection',
35660 id: 'toggle-participant-multiplicity',
35687 id: 'toggle-adhoc', property in AnonymousFunctionf8d14cd138400.adHocEntry
37539 if (!elementRegistry.get(shape.id)) {
38963 classes(group).add(CLS_RESIZER + '-' + element.id);
40159 return !!find(rootElements, matchPattern({ id: rootElement.id }));
42634 id: businessObject.id + '_label',
42980 throw new Error('connection#' + connection.id + ': no waypoints');
43265 matchPattern({ id: element.businessObject.default.id })
43410 modeling.unclaimId(oldShape.businessObject.id, oldShape.businessObject);
43411 modeling.updateProperties(newShape, { id: oldShape.id });
43749 var id = shape.id;
43754 minDimensions[ id ] = PARTICIPANT_MIN_DIMENSIONS;
43756 minDimensions[ id ] = {
43765 minDimensions[ id ] = SUB_PROCESS_MIN_DIMENSIONS;
43769 minDimensions[ id ] = TEXT_ANNOTATION_MIN_DIMENSIONS;
44048 moddle.ids.unclaim(shapeBo.processRef.id);
44051 modeling.unclaimId(shapeBo.id, shapeBo);
44060 modeling.unclaimId(connectionBo.id, connectionBo);
44067 moddle.ids.unclaim(rootElementBo.id);
44996 oldElementId: element.id,
45007 oldElementId: element.id,
45023 oldElementId: element.id,
45036 oldElementId: element.id,
45043 oldElementId: element.id,
45500 throw new Error('no order for <' + element.id + '>');
45520 … throw new Error('no parent for <' + element.id + '> in <' + (newParent && newParent.id) + '>');
45810 if (!next || next.id !== action.id) {
45838 if (!next || next.id !== action.id) {
46028 if (!action.id) {
46029 action.id = (baseAction && baseAction.id) || this._createId();
46239 var id = this._ids.next();
46242 id: id
46251 return id;
46282 Tooltips.prototype.get = function(id) { argument
46284 if (typeof id !== 'string') {
46285 id = id.id;
46288 return this._tooltips[id];
46329 Tooltips.prototype.remove = function(id) { argument
46331 var tooltip = this.get(id);
46339 delete this._tooltips[tooltip.id];
46367 var id = tooltip.id,
46383 …htmlContainer = domify('<div data-tooltip-id="' + id + '" class="' + tooltipClass + '" style="posi…
46399 this._tooltips[id] = tooltip;
46567 if (!enclosedElements[label.id]) {
46746 closure.add(attacher, closure.topLevel[attacher.host.id]);
46953 if (element.host && ids[element.host.id]) {
47636 var resizingShapeMinDimensions = minDimensions && minDimensions[ resizingShape.id ];
48034 if (!element.id && this._needsId(element)) {
48035 element.id = this._model.ids.nextPrefixed(prefix, element);
48640 element: businessObject.id,
48641 parent: newParent.id
48833 id: businessObject.id + '_di'
48838 id: businessObject.id + '_di'
48842 id: businessObject.id + '_di'
48897 id: businessObject.id
49252 cache[ element.id ] = isNumber(parentIndex) ?
49254 cache[ element.source.id ],
49255 cache[ element.target.id ],
49262 cache[ element.source.id ],
49263 cache[ element.target.id ],
49278 cache[ element.id ] = isNumber(parentIndex) ?
49513 if (!elementRegistry.get(element.id)) {
49950 modeling.moveShape(shape, delta, topLevel[shape.id] && !keepParent && newParent, {
49959 var sourceMoved = !!allShapes[c.source.id],
49960 targetMoved = !!allShapes[c.target.id];
49962 if (enclosedConnections[c.id] && sourceMoved && targetMoved) {
49963 modeling.moveConnection(c, delta, topLevel[c.id] && !keepParent && newParent);
50481 oldBounds[shape.id] = getBounds(shape);
50585 connection, source, oldBounds[source.id]
50589 connection, target, oldBounds[target.id]
50716 result[element.id] = element.hidden;
50745 element.hidden = lastState[element.id];
50913 forEach(this.getHandlers(), function(handler, id) { argument
50914 commandStack.registerHandler(id, handler);
51497 changed.push(elementRegistry.get(properties[DEFAULT_FLOW].id));
51501 changed.push(elementRegistry.get(businessObject[DEFAULT_FLOW].id));
52053 if (!participantCache[root.id]) {
52054 participantCache[root.id] = collectLanes(root);
52057 return participantCache[root.id];
52186 id = context.id,
52191 ids.claim(id, element);
52193 ids.unclaim(id);
52202 id = context.id,
52207 ids.unclaim(id);
52209 ids.claim(id, element);
52381 id: businessObject.id + '_label',
52610 Modeling.prototype.claimId = function(id, moddleElement) { argument
52612 id: id,
52619 Modeling.prototype.unclaimId = function(id, moddleElement) { argument
52621 id: id,
54126 if (ids[element.id]) {
54271 } else if (context.canExecute && target && target.id !== parent.id) {
54344 find(elements, matchPattern({ id: element.source.id })) &&
54345 find(elements, matchPattern({ id: element.target.id }))
54354 return size(groupBy(elements, function(e) { return e.parent && e.parent.id; })) !== 1;
54532 Palette.prototype._getProviders = function(id) { argument
54588 forEach(entries, function(entry, id) { argument
54608 attr$1(control, 'data-action', id);
54816 forEach(entriesOrUpdater, function(entry, id) { argument
54817 entries[id] = entry;
55622 var id = replacement.oldElementId;
55629 if (context.visualReplacements[id]) {
55633 var element = elementRegistry.get(id);
55643 var gfx = query('[data-element-id="' + cssEscape(element.id) + '"]', context.dragGroup);
55652 context.visualReplacements[id] = dragger;
55667 forEach(visualReplacements, function(dragger, id) { argument
55669 var originalGfx = query('[data-element-id="' + cssEscape(id) + '"]', context.dragGroup);
55677 if (visualReplacements[id]) {
55678 delete visualReplacements[id];
56006 var targetId = target.id || target;
56155 if (elementRegistry.get(shape.id)) {
56242 if (this._elementRegistry.get(shape.id)) {
56315 var isMove = !!this._elementRegistry.get(shape.id);
56323 …snapContext.setSnapOrigin(connection.id + '-docking', getDockingSnapOrigin(docking, isMove, event)…
56331 …snapContext.setSnapOrigin(connection.id + '-docking', getDockingSnapOrigin(docking, isMove, event)…
56364 if (elementRegistry.get(shape.id)) {
56371 snapPoints.add(connection.id + '-docking', docking.original || docking);
56376 if (elementRegistry.get(shape.id)) {
56384 snapPoints.add(connection.id + '-docking', docking.original || docking);
56968 var id = result.element.id;
56969 var node = self._createResultNode(result, id);
56970 self._results[id] = {
57060 SearchPad.prototype._createResultNode = function(result, id) { argument
57071 attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE, id);
57175 var id = attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE);
57176 var element = this._results[id].element;
57196 var id = attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE);
57197 var element = this._results[id].element;
57386 secondaryTokens: matchAndSplit(element.id, pattern),
57397 return getLabel(element.element) + element.element.id;