Skip to content

Commit

Permalink
Shortcut name, best space event management
Browse files Browse the repository at this point in the history
  • Loading branch information
LabordePierre committed Nov 17, 2023
1 parent 96b7679 commit 2fcc701
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Pyramid/PyramidPluginEditOnRunning.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ PyramidPluginEditOnRunning class >> install [
PyramidPluginEditOnRunning class >> installBlUniverseListeners [

Beacon instance
when: BlParallelUniverseHostStartRequestSignal
send: #receiveBlParallelUniverseHostSpaceRequestSignal:
when: BlParallelUniverseOpenSpaceRequestSignal
send: #receiveBlParallelUniverseHostSpaceSignal:
to: self
]

Expand All @@ -87,7 +87,7 @@ PyramidPluginEditOnRunning class >> keyCombination [
]

{ #category : #'universe management' }
PyramidPluginEditOnRunning class >> receiveBlParallelUniverseHostSpaceRequestSignal: anEvent [
PyramidPluginEditOnRunning class >> receiveBlParallelUniverseHostSpaceSignal: anEvent [

BlSpace spaceWithId: anEvent spaceId do: [ :e | self addShortcutInSpace: e ]
]
Expand All @@ -106,6 +106,7 @@ PyramidPluginEditOnRunning class >> shortcut [

^ shortcut ifNil: [
shortcut := BlShortcutWithAction new
name: 'Pyramid edition shortcut';
combination: self keyCombination;
action: [ :event | self doShortcutAction: event ] ]
]
Expand Down

0 comments on commit 2fcc701

Please sign in to comment.