Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Help about OutLine
Help about OutLine [message #541181] Fri, 18 June 2010 10:48 Go to next message
Eclipse UserFriend
Hello there everyone, I'm new here. I have a small doubt, I managed to do the outline of my language work, but would like to create sub folders within it.

Today it looks like this:
- ModuloName 
------- Property 
------- Property 
------- Property 
------- method
------- method
------- method 
------- method 
------- method 

I wish that you become like this: 
- ModuloName 
---- Properties 
------- Property 
------- Property 
------- Property 
--- Methods 
------- method 
------- method 
------- method 
------- method 
------- method 

I managed to make some changes in my class that extends the SourceElementRequestVisitor, but do not know if it is the most appropriate place.

Does anyone have an idea?

I'm sorry for english, I am Brazilian and I do not understand much ....

Thanks,
Rodrigo

[Updated on: Fri, 18 June 2010 11:47] by Moderator

Re: Help about OutLine [message #541280 is a reply to message #541181] Sat, 19 June 2010 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rodrigo,

If you try to do it at the SourceElement* level then you should report "Properties" and "Methods" as model elements, it will work,
but I am not sure if you need this imaginable elements in every module.

Another option is the content provider in ScriptOutlinePage (if you need additional flexibility in this class please post you suggestions).

However, I can't imagine subfolders in Java Editor. And I am not sure how it should work if you want to sort members alphabetically/by source position.

Regards,
Alex
Re: Help about OutLine [message #541603 is a reply to message #541280] Mon, 21 June 2010 14:10 Go to previous message
Eclipse UserFriend
Alex

Thank you for your attention,

Actually I would like to insert items in the sub tree of the Outline, not the Java Editor.

For example:

If we edit a java source in eclipse, and this source contains a sub class, it appears as another level of the outline (as a sub item of the class in question).

I'll try to understand better how outline works.


Thank a lot.

Rodrigo

[Updated on: Mon, 21 June 2010 14:21] by Moderator

Previous Topic:Extending Eclipse itself with, say, Python
Next Topic:Trying to install DLTK but Galileo Software Repository not found
Goto Forum:
  


Current Time: Sat Jul 12 23:15:53 EDT 2025

Powered by FUDForum. Page generated in 0.05353 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top