-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef8b77a
commit e83a67f
Showing
3 changed files
with
6 additions
and
140 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,12 @@ | |
# Get ready for Python 3 | ||
|
||
|
||
__author__ = "Frédéric Brugnot <[email protected]>" | ||
__authors__ = ( | ||
"Frédéric Brugnot <[email protected]>", | ||
"Julien Cochuyt <[email protected]>", | ||
"André-Abush Clause <[email protected]>", | ||
"Gatien Bouyssou <[email protected]>", | ||
) | ||
|
||
|
||
import threading | ||
|
@@ -130,29 +135,6 @@ def event_treeInterceptor_gainFocus(self, treeInterceptor, firstGainFocus): | |
#browseMode.reportPassThrough(treeInterceptor) | ||
self.send(eventName="updateNodeManager", treeInterceptor=treeInterceptor) | ||
|
||
def event_checkWebAppManager(self): | ||
# TODO: Should not be triggered anymore | ||
log.error("event_checkWebAppManager") | ||
focus = api.getFocusObject() | ||
webApp = focus.webAccess.webModule if isinstance(focus, WebAccessObject) else None | ||
TRACE("event_checkWebAppManager: webApp={webApp}".format( | ||
webApp=id(webApp) if webApp is not None else None | ||
)) | ||
if webApp: | ||
treeInterceptor = focus.treeInterceptor | ||
if treeInterceptor: | ||
#webApp.treeInterceptor = treeInterceptor | ||
nodeManager = getattr(treeInterceptor, "nodeManager", None) | ||
TRACE( | ||
"event_checkWebAppManager: " | ||
"nodeManager={nodeManager}".format( | ||
nodeManager=id(nodeManager) | ||
if nodeManager is not None else None | ||
) | ||
) | ||
if nodeManager: | ||
webApp.markerManager.update(nodeManager) | ||
|
||
def event_updateNodeManager(self, treeInterceptor): | ||
if not ( | ||
isinstance(treeInterceptor, WebAccessBmdti) | ||
|
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