Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » outline view
outline view [message #172650] Mon, 21 March 2005 11:53
Eclipse UserFriend
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!
Previous Topic:Changing EditPart color
Next Topic:UndoRetargetAction and UndoAction?
Goto Forum:
  


Current Time: Fri Apr 26 07:33:50 GMT 2024

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

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

Back to the top