Revize 08b0266b
Přidáno uživatelem Martin Matas před téměř 6 roky(ů)
sources/imiger-core/src/main/webapp/js/timeline/cz/kajda/timeline/Timeline.js | ||
---|---|---|
358 | 358 |
this._fireEvent("dataChanged", this._dataSource); |
359 | 359 |
}, |
360 | 360 |
|
361 |
/** |
|
362 |
* @private |
|
363 |
* Hides alreade excluded nodes. |
|
364 |
*/ |
|
365 |
_initialExclude : function() { |
|
366 |
if(!this._dataSource) return; |
|
367 |
|
|
368 |
var alreadyExcluded = app.sidebarComponent.unconnectedNodeListComponent.nodeList; |
|
369 |
for (var i = 0; i < alreadyExcluded.length; i++) { |
|
370 |
var entity = this.getEntities().get(alreadyExcluded[i].id); |
|
371 |
entity.setVisibility(false); |
|
372 |
} |
|
373 |
this.redraw(); |
|
374 |
}, |
|
375 |
|
|
361 | 376 |
/** |
362 | 377 |
* @private |
363 | 378 |
* Shows or hides guidelines displaying boundary moments of the entity. |
... | ... | |
841 | 856 |
setDataSource : function(source) { |
842 | 857 |
this._dataSource = source; |
843 | 858 |
this._processData(); |
859 |
this._initialExclude(); |
|
844 | 860 |
}, |
845 | 861 |
|
846 | 862 |
/** |
Také k dispozici: Unified diff
Initial exclude of already excluded nodes in IMiGEr (refs #7562)