-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from netgrif/NAB-327
[NAB-327] - Release 4.0.0
- Loading branch information
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/app/modeler/edit-mode/context-menu/menu-items/select-arcs-menu-item.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {MenuItem} from './menu-item'; | ||
import {SelectTool} from '../../services/modes/select-tool'; | ||
import {CanvasNodeElement} from '../../domain/canvas-node-element'; | ||
|
||
export class SelectArcsMenuItem extends MenuItem { | ||
|
||
constructor(tool: SelectTool, element: CanvasNodeElement<any, any>) { | ||
super( | ||
`Select connected arcs`, | ||
'sync_alt', | ||
() => { | ||
tool.selectConnectedArcs(element); | ||
} | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters