Hey,
Does anyone know how to generate an outline of a source in an editor? I'm trying to write a plug-in for eclipse, for MIPS, but I'm not too sure on how to show the outline.
I know that I have to override the getadapter method in the editor, making it return a MyContentOutline or something. MyContentoutline extends contentoutline.
However, my biggest problems are:
1.) When I type in MyContentOutline extends ContentOutlinePage, I get an error on ContentOutlinePage. I tried importing org.eclipse.ui.views.contentoutline.ContentOutlinePage, but it still doesn't recognize it. google is of no help.
2.) After I do have getadapter done, and MyContentOutlnePage done, how do I make a view read off of that adapter?
Thanks!
Does anyone know how to generate an outline of a source in an editor? I'm trying to write a plug-in for eclipse, for MIPS, but I'm not too sure on how to show the outline.
I know that I have to override the getadapter method in the editor, making it return a MyContentOutline or something. MyContentoutline extends contentoutline.
However, my biggest problems are:
1.) When I type in MyContentOutline extends ContentOutlinePage, I get an error on ContentOutlinePage. I tried importing org.eclipse.ui.views.contentoutline.ContentOutlinePage, but it still doesn't recognize it. google is of no help.
2.) After I do have getadapter done, and MyContentOutlnePage done, how do I make a view read off of that adapter?
Thanks!