fix(modeling): rename (multi-select -> lasso)-tool

Key binding (for activation): l
This commit is contained in:
Nico Rehwaldt 2015-05-13 12:09:08 +02:00
parent 770e582e05
commit 22536aff50
8 changed files with 20 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
@font-face {
font-family: 'bpmn';
src: url('../font/bpmn.eot?3763319');
src: url('../font/bpmn.eot?3763319#iefix') format('embedded-opentype'),
url('../font/bpmn.woff?3763319') format('woff'),
url('../font/bpmn.ttf?3763319') format('truetype'),
url('../font/bpmn.svg?3763319#bpmn') format('svg');
src: url('../font/bpmn.eot?8685581');
src: url('../font/bpmn.eot?8685581#iefix') format('embedded-opentype'),
url('../font/bpmn.woff?8685581') format('woff'),
url('../font/bpmn.ttf?8685581') format('truetype'),
url('../font/bpmn.svg?8685581#bpmn') format('svg');
font-weight: normal;
font-style: normal;
}
@ -14,7 +14,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'bpmn';
src: url('../font/bpmn.svg?3763319#bpmn') format('svg');
src: url('../font/bpmn.svg?8685581#bpmn') format('svg');
}
}
*/
@ -149,4 +149,4 @@
.icon-participant:before { content: '\e85c'; } /* '' */
.icon-space-tool:before { content: '\e85f'; } /* '' */
.icon-connection-multi:before { content: '\e860'; } /* '' */
.icon-multi-select-tool:before { content: '\e862'; } /* '' */
.icon-lasso-tool:before { content: '\e862'; } /* '' */

Binary file not shown.

View File

@ -101,7 +101,7 @@
<glyph glyph-name="participant" unicode="&#xe85c;" d="m47 654l0-625 906 0 0 625z m857-48l0-533-670 0 0 533 670 0z m-810 0l94 0 0-533-94 0z" horiz-adv-x="1000" />
<glyph glyph-name="space-tool" unicode="&#xe85f;" d="m366 800l0-900 38 0 0 900-38 0z m233 0l0-900 38 0 0 900-38 0z m-394-287l-164-163 164-163 0 111 93 0 0 105-93 0 0 110z m595 0l0-108-94-1 0-106 94 0 0-111 163 163-163 163z" horiz-adv-x="1000" />
<glyph glyph-name="connection-multi" unicode="&#xe860;" d="m916 798l-410-109 64-95-486-327 25-38 486 328 62-92 259 333 0 0z m0-328l-411-109 151-224 260 333 0 0z m-409-245l-63-43 25-37 63 42-25 38z m-126-85l-62-42 25-38 62 43-25 37z m-133-90l-63-43 25-37 63 43-25 37z m-126-85l-38-26 25-37 38 26-25 37z" horiz-adv-x="1000" />
<glyph glyph-name="multi-select-tool" unicode="&#xe862;" d="m303 798l0-218 103 0 0 218-103 0z m-248-246l0-103 218 0 0 103-218 0z m379 0l0-103 219 0 0 103-219 0z m349-30l0-40 123 0 0-117 40 0 0 157-163 0z m-480-104l0-218 103 0 0 218-103 0z m603-159l0-77 40 0 0 77-40 0z m0-190l0-116-119 0 0-40 159 0 0 156-40 0z m-570-1l0-157 159 0 0 40-119 0 0 117-40 0z m264-117l0-40 82 0 0 40-82 0z" horiz-adv-x="1000" />
<glyph glyph-name="lasso-tool" unicode="&#xe862;" d="m303 798l0-218 103 0 0 218-103 0z m-248-246l0-103 218 0 0 103-218 0z m379 0l0-103 219 0 0 103-219 0z m349-30l0-40 123 0 0-117 40 0 0 157-163 0z m-480-104l0-218 103 0 0 218-103 0z m603-159l0-77 40 0 0 77-40 0z m0-190l0-116-119 0 0-40 159 0 0 156-40 0z m-570-1l0-157 159 0 0 40-119 0 0 117-40 0z m264-117l0-40 82 0 0 40-82 0z" horiz-adv-x="1000" />
</font>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Binary file not shown.

View File

@ -16,8 +16,8 @@ function BpmnKeyBindings(keyboard, spaceTool, lassoTool, directEditing, selectio
return true;
}
// M -> activate multi select tool
if (key === 77) {
// L -> activate lasso tool
if (key === 108) {
lassoTool.activateSelection();
return true;

View File

@ -59,10 +59,10 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
}
assign(actions, {
'multi-select-tool': {
'lasso-tool': {
group: 'tools',
className: 'icon-multi-select-tool',
title: 'Active the multi select tool',
className: 'icon-lasso-tool',
title: 'Activate the lasso tool',
action: {
click: function(event) {
lassoTool.activateSelection(event);