Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Help with design decision needed
Help with design decision needed [message #447537] Mon, 10 April 2006 04:11
Eclipse UserFriend
Originally posted by: maren.settekorn.infineon.com

Hallo,

In my first ever RCP I have a TreeView with different kinds of Objects,
and when there is one Item in the Tree selected, I want to show the
properties of the selected Object in an other view (or editor, or form),
some of these properties may be modified, some not.

Whats the best way to do that?

I tried using forms, writing a form as content of an other form whenever
the Selection changes implementing my own ISelectionListener, but I don't
know how to get the form to redraw, so the contents of the inner form look
always the same. The methods redraw and update don't seem to have any
effect.

When I use an editor, I instantiate a new EditorInput when the selection
changes, and open a new editor. How do I get rid of the old editor? I only
ever want one open editor (or whatever) with properties.

Has anyone some good advise for me?
Thanks in advance Maren
Previous Topic:how to internationalize ViewPart's min/max/restore buttons?
Next Topic:Starting RCP with a cmd-line parameter?
Goto Forum:
  


Current Time: Sun Oct 26 00:03:11 EDT 2025

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

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

Back to the top