private void RemoveDocumentFactories() { _documentService.Factories.Remove(_textureDocumentFactory); _textureDocumentFactory = null; }
private void AddDocumentFactories() { _textureDocumentFactory = new TextureDocumentFactory(Editor); _documentService.Factories.Add(_textureDocumentFactory); }