Attached is an example of what that looks like, with links made by hand. Base 
has links to two subclasses, each of which has a link back to base, and the foo 
method in each subclass is linked back to the foo method in Base, which has 
links back to the two replacement versions.  Also attached is the outline 
itself, so you can move around it with the backlinks plugin.  Couple of known 
bugs:
 - on initial load the links pane is not updated, needs fixing - when a linked 
node is copy / pasted (e.g. to create a second subclass) the pasted   node has 
links to the same nodes the original had, but those nodes don't have links   
back to the pasted node.  This gets fixed by clicking backlink's rescan button 
or a   save / load cycle.  Could be handled with a hook if it was a major 
problem.
Cheers -Terry


 
      From: 'Terry Brown' via leo-editor <[email protected]>
 To: "[email protected]" <[email protected]> 
 Sent: Tuesday, February 16, 2016 12:01 PM
 Subject: Re: Use case for clones/views/attributes
   
One approach would be to use the backlinks plugin machinery - wouldn't be that 
hard to parse an outline to automatically create links from subclass to parent 
class, and inherited / overwritten methods.
Cheers -Terry
 
      From: john lunzer <[email protected]>
 To: leo-editor <[email protected]> 
 Sent: Tuesday, February 16, 2016 9:59 AM
 Subject: Use case for clones/views/attributes
  
I want to view a class's "full" definition including all the methods from its 
parent class in a unified format. I think this could be done using clones as it 
would involve putting nodes from different parents in the same sub-tree, but 
seems like it would be a big effort to get there. I'm wondering if it can be 
done and if it can't it might be a potential use case for views and threads.-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


   
 -- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


   

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Attachment: parentage.leo
Description: Binary data

Reply via email to