/*******************************************/ static CallerComponent() { GlobalSearchMenu.Activate(); GH.Instances.CanvasCreated += (canvas) => { canvas.DocumentChanged += (sender, e) => { if (e.OldDocument != null) { DocumentListener.OnDocumentClosing(e.OldDocument.FilePath); } if (e.NewDocument != null) { DocumentListener.OnDocumentEndOpening(e.NewDocument.FilePath); } m_CurrentLoadingDocument = null; }; }; }
public RapidDocumentListener() { DocumentListener.SetListener(this); }
public MyDocumentListener() { DocumentListener.SetListener(this); }