chore(palette): temporarily remove lanes

Do not confuse people with the unfinished lane support.
Lanes shall be restored once we have layouting + visual feedback in
place.
This commit is contained in:
Nico Rehwaldt 2015-09-02 16:02:59 +02:00
parent e78e4c94a3
commit 7ba323b0a1
2 changed files with 7 additions and 2 deletions

View File

@ -58,9 +58,11 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
create.start(event, elementFactory.createParticipantShape(collapsed));
}
/* TODO(nre): restore once not broken anymore
function createLane(event) {
create.start(event, elementFactory.createShape({ type: 'bpmn:Lane' }));
}
*/
assign(actions, {
'lasso-tool': {
@ -114,7 +116,9 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
dragstart: createParticipant,
click: createParticipant
}
},
}
/* TODO(nre): restore once not broken anymore
,
'create.lane': {
group: 'collaboration',
className: 'icon-lane',
@ -124,6 +128,7 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
click: createLane
}
}
*/
});
return actions;

View File

@ -27,7 +27,7 @@ describe('features/palette', function() {
var entries = domQuery.all('.entry', paletteElement);
// then
expect(entries.length).to.equal(10);
expect(entries.length).to.equal(9);
}));
});