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

View File

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