fix broken gaphor run again.
git-svn-id: file:///Users/arjan/backup/gaphor/gaphor/trunk@1261 a8418922-720d-0410-834f-a69b97ada669
This commit is contained in:
parent
8a8acb4c7b
commit
79e573b23b
@ -11,7 +11,7 @@ class GUIManager(object):
|
||||
interface.implements(IService)
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
self._ui_components = dict()
|
||||
|
||||
main_window = property(lambda s: s._main_window)
|
||||
|
||||
|
@ -18,7 +18,7 @@ from gaphor.ui.menufactory import toolbox_to_menu
|
||||
from gaphor.ui.objectinspector import ObjectInspector
|
||||
|
||||
|
||||
from interfaces import IDiagramElementReceivedFocus
|
||||
from interfaces import IUIComponent, IDiagramElementReceivedFocus
|
||||
from gaphor.interfaces import IServiceEvent
|
||||
from zope import component
|
||||
|
||||
@ -27,7 +27,7 @@ class MainWindow(AbstractWindow):
|
||||
The main window for the application.
|
||||
It contains a Namespace-based tree view and a menu and a statusbar.
|
||||
"""
|
||||
interface.implements(IService, IActionProvider)
|
||||
interface.implements(IUIComponent, IActionProvider)
|
||||
|
||||
properties = inject('properties')
|
||||
element_factory = inject('element_factory')
|
||||
|
Loading…
x
Reference in New Issue
Block a user