예제 #1
0
        public override void InitializePlugin(IPoderosaWorld poderosa) {
            _instance = this;
            base.InitializePlugin(poderosa);
            _sessionMap = new TypedHashtable<ISession, SessionHost>();
            _documentMap = new TypedHashtable<IPoderosaDocument, DocumentHost>();
            _docViewRelationHandler = poderosa.PluginManager.CreateExtensionPoint("org.poderosa.core.sessions.docViewRelationHandler", typeof(IDocViewRelationEventHandler), this);
            _activeDocumentChangeListeners = new ListenerList<IActiveDocumentChangeListener>();
            _activeDocumentChangeListeners.Add(new WindowCaptionManager());

            _sessionListeners = new ListenerList<ISessionListener>();
        }
예제 #2
0
        public override void InitializePlugin(IPoderosaWorld poderosa)
        {
            _instance = this;
            base.InitializePlugin(poderosa);
            _sessionMap                    = new TypedHashtable <ISession, SessionHost>();
            _documentMap                   = new TypedHashtable <IPoderosaDocument, DocumentHost>();
            _docViewRelationHandler        = poderosa.PluginManager.CreateExtensionPoint("org.poderosa.core.sessions.docViewRelationHandler", typeof(IDocViewRelationEventHandler), this);
            _activeDocumentChangeListeners = new ListenerList <IActiveDocumentChangeListener>();
            _activeDocumentChangeListeners.Add(new WindowCaptionManager());

            _sessionListeners = new ListenerList <ISessionListener>();
        }
예제 #3
0
 public DocumentHost(SessionManagerPlugin manager, SessionHost sessionHost, IPoderosaDocument document) {
     _manager = manager;
     _sessionHost = sessionHost;
     _document = document;
 }
예제 #4
0
 public SessionHost(SessionManagerPlugin parent, ISession session) {
     _parent = parent;
     _session = session;
     _documents = new List<IPoderosaDocument>();
 }
예제 #5
0
 public DocumentHost(SessionManagerPlugin manager, SessionHost sessionHost, IPoderosaDocument document)
 {
     _manager     = manager;
     _sessionHost = sessionHost;
     _document    = document;
 }
예제 #6
0
 public SessionHost(SessionManagerPlugin parent, ISession session)
 {
     _parent    = parent;
     _session   = session;
     _documents = new List <IPoderosaDocument>();
 }