dialogs/IDManager.py
author Edouard Tisserant
Mon, 19 Nov 2018 10:39:50 +0100
changeset 2338 2c3222433244
parent 2337 8689ce77076f
child 2428 e0f16317668e
permissions -rw-r--r--
Renaming servicetype into scheme.
from __future__ import absolute_import

import wx
from connectors import ConnectorSchemes, EditorClassFromScheme
from controls.DiscoveryPanel import DiscoveryPanel
from controls.IDBrowser import IDBrowser

class IDManager(wx.Dialog):
    def __init__(self, parent, ctr):
        self.ctr = ctr
        wx.Dialog.__init__(self,
                           name='IDManager', parent=parent,
                           title=_('URI Editor'),
                           style=wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER)
        # start IDBrowser in manager mode
        self.browser = IDBrowser(self, ctr)