feat(palette): add DataStore entry

Related to #345
This commit is contained in:
Nico Rehwaldt 2016-01-25 21:29:16 +01:00 committed by pedesen
parent 28e845984d
commit ca979b4c05
2 changed files with 4 additions and 1 deletions

View File

@ -120,6 +120,9 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
'create.data-object': createAction( 'create.data-object': createAction(
'bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object' 'bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object'
), ),
'create.data-store': createAction(
'bpmn:DataStoreReference', 'data-store', 'bpmn-icon-data-store'
),
'create.subprocess-expanded': createAction( 'create.subprocess-expanded': createAction(
'bpmn:SubProcess', 'activity', 'bpmn-icon-subprocess-expanded', 'Create expanded SubProcess', 'bpmn:SubProcess', 'activity', 'bpmn-icon-subprocess-expanded', 'Create expanded SubProcess',
{ isExpanded: true } { isExpanded: true }

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(11); expect(entries.length).to.equal(12);
})); }));
}); });