Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Help about OutLine
Help about OutLine [message #541181] Fri, 18 June 2010 14:48 Go to next message
Rodrigo Antonio is currently offline Rodrigo AntonioFriend
Messages: 17
Registered: June 2010
Location: São Paulo - Brasil
Junior Member
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 15:47]

Report message to a moderator

Re: Help about OutLine [message #541280 is a reply to message #541181] Sat, 19 June 2010 12:02 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
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 18:10 Go to previous message
Rodrigo Antonio is currently offline Rodrigo AntonioFriend
Messages: 17
Registered: June 2010
Location: São Paulo - Brasil
Junior Member
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 18:21]

Report message to a 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: Thu Apr 25 19:05:50 GMT 2024

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

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

Back to the top