title: EMF Tree View Load Resource Hook
body: <p>I want to execute code and/or change the implementation of the "Load Resource..." context menu option (see pictures below) in the default tree view for ecore model instances. What part of the code executes when a resource is imported, where can I hook into it?</p>
  
  <p>The "Load Resource..." context menu option for an instance of a model backed by an ecore model:</p>
  
  <p><img src="https://i.stack.imgur.com/OS9F6.png" alt="The &quot;Load Resource...&quot; context menu option for an instance of a model backed by an ecore model"></p>
  
  <p>The windows that opens to load a resource (another model instance):</p>
  
  <p><img src="https://i.stack.imgur.com/cOFJF.png" alt="The windows that opens to load a resource (another model instance)"></p>