• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / MooseIDE / 20127420084

11 Dec 2025 08:56AM UTC coverage: 64.99% (-0.04%) from 65.034%
20127420084

Pull #1554

github

web-flow
Merge 9baf01fda into 50d028263
Pull Request #1554: using mooseButterfly icon in MooseMenu

0 of 4 new or added lines in 1 file covered. (0.0%)

12 existing lines in 1 file now uncovered.

21429 of 32973 relevant lines covered (64.99%)

1.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.72
/src/MooseIDE-ButterflyMap/MiButterflyMapBrowser.class.st
1
"
2
I am a Butterfly map. I can show incoming and outgoing dependencies from a central entity. It allows to navigate through several level of dependencies.
3
Accepted entities: a moose entity that is the central entity.
4

5
By default entities at left are all clients of the central entity, right ones are providers of the central entity. You can change these rules and custom the semantics of your butterfly map by playing with its settings.
6

7
Controls:
8

9
* Mouse over to highlight common inner boxes
10
* Mouse click to keep the highlight
11
* right click over a box, to use the menu
12
* right click over the view to use the general menu
13
* command+click to use the last tag.
14

15
* Mouse left to drag
16
* Arrrow keys to move the visualization around
17
* Scrolls bars to change the view's position
18
* M to collapse or expand the window
19
* I to zoom in
20
* O to zoom out
21
* Moouse Wheel to zoom in/out
22
* S to search entities by their name (several search can be applied)
23
* R to clear all searches
24

25
"
26
Class {
27
        #name : 'MiButterflyMapBrowser',
28
        #superclass : 'MiAbstractVisualizationBrowser',
29
        #category : 'MooseIDE-ButterflyMap-Browser',
30
        #package : 'MooseIDE-ButterflyMap',
31
        #tag : 'Browser'
32
}
33

34
{ #category : 'accessing' }
35
MiButterflyMapBrowser class >> mapClass [
2✔
36

2✔
37
        ^ MiButterflyMapVisualization
2✔
38
]
2✔
39

40
{ #category : 'world menu' }
41
MiButterflyMapBrowser class >> menuCommandOn: aBuilder [
×
42

×
43
        <worldMenu>
×
44
        <miBrowsersMenu>
×
45
        ^ self buildMenuItemIn: aBuilder
×
46
]
×
47

48
{ #category : 'world menu' }
NEW
49
MiButterflyMapBrowser class >> menuIconName [
×
NEW
50

×
NEW
51
        ^ #mooseButterfly
×
NEW
52
]
×
53

54
{ #category : 'world menu' }
55
MiButterflyMapBrowser class >> menuItem [
×
56

×
57
        ^ #ButterflyMapBrowser
×
58
]
×
59

60
{ #category : 'world menu' }
61
MiButterflyMapBrowser class >> menuPriority [
×
62

×
63
        ^ self menuVisualizationToolsPriority + 2
×
64
]
×
65

66
{ #category : 'instance creation' }
67
MiButterflyMapBrowser class >> newModel [
2✔
68

2✔
69
        ^ MiButterflyMapModel new
2✔
70
]
2✔
71

72
{ #category : 'instance creation' }
73
MiButterflyMapBrowser class >> open [
×
74
        <script>
×
75
        super open
×
76
]
×
77

78
{ #category : 'specs' }
79
MiButterflyMapBrowser class >> preferredExtent [
2✔
80

2✔
81
        ^ 850 @ 520
2✔
82
]
2✔
83

84
{ #category : 'specs' }
85
MiButterflyMapBrowser class >> title [
2✔
86

2✔
87
        ^ 'Butterfly map'
2✔
88
]
2✔
89

90
{ #category : 'testing' }
91
MiButterflyMapBrowser >> canFollowEntity: anObject [
2✔
92

2✔
93
        ^ anObject isMooseEntity
2✔
94
]
2✔
95

96
{ #category : 'actions' }
97
MiButterflyMapBrowser >> followEntity: anEntity [
2✔
98

2✔
99
        super followEntity: anEntity.
2✔
100
        self specModel currentEntity: anEntity
2✔
101
]
2✔
102

103
{ #category : 'initialization' }
104
MiButterflyMapBrowser >> initializeLayout [
2✔
105

2✔
106
        self layout: (SpScrollableLayout with: mainPresenter)
2✔
107
]
2✔
108

109
{ #category : 'initialization' }
110
MiButterflyMapBrowser >> initializePresenters [
2✔
111

2✔
112
        mainPresenter := self class mapClass owner: self.
2✔
113
        specModel browser: self.
2✔
114
        self initializeLayout
2✔
115
]
2✔
116

117
{ #category : 'brokerage' }
118
MiButterflyMapBrowser >> itemsFor: aClass [
×
119

×
120
        ^ self application itemsFor: aClass
×
121
]
×
122

123
{ #category : 'running' }
124
MiButterflyMapBrowser >> run [
×
125
        self deprecated: 'Use runVisualization method instead' transformWith: '`@receiver run' -> '`@receiver runVisualization'.
×
126
        self runVisualization 
×
127
]
×
128

129
{ #category : 'accessing' }
130
MiButterflyMapBrowser >> visualization [
×
131

×
132
        ^ mainPresenter
×
133
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc