Przeglądaj źródła

Make the manager protected

Steven Silvester 9 lat temu
rodzic
commit
70c5e8afae
1 zmienionych plików z 7 dodań i 7 usunięć
  1. 7 7
      src/filehandler/handler.ts

+ 7 - 7
src/filehandler/handler.ts

@@ -68,13 +68,6 @@ abstract class AbstractFileHandler<T extends Widget> implements IMessageFilter {
     return [];
   }
 
-  /**
-   * Get the contents manager used by the handler.
-   */
-  get manager(): IContentsManager {
-    return this._manager;
-  }
-
   /**
    * Find a widget given a path.
    */
@@ -250,6 +243,13 @@ abstract class AbstractFileHandler<T extends Widget> implements IMessageFilter {
     return false;
   }
 
+  /**
+   * Get the contents manager used by the handler.
+   */
+  protected get manager(): IContentsManager {
+    return this._manager;
+  }
+
   /**
    * Get options use to fetch the model contents from disk.
    */