outline view [message #172650] |
Mon, 21 March 2005 11:53 |
Eclipse User |
|
|
|
Originally posted by: sidus68.yahoo.com
hi! I am working on a graphical editor where each form contains one or
more panels, and each panel contains controls (label, text fields,
checkboxes, etc.). I have an outline view which displays the hierarchy,
for example:
- panel1
| |
| --- group1
| | |
| | --- label 1
| |
| --- lable2
|
+ panel2
because the panels may overlap, I would like to only show the currently
selected panel in the editor, i.e. when a panel or control is selected in
the outline view, hide all other panels in the editor. So I assume I would
need to know which tree item was selected, and show that panel and hide
the rest.
My tree edit parts implement ISelectionChangedListener. Assuming this is
correct, how do I add an edit part as a selection listener to my
ContentOutlinePage class, nested within my editor? or am I going about
this the wrong way?
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.03261 seconds