How to edit multiple fields from a ViewPart [message #188343] |
Tue, 19 July 2005 16:24  |
Eclipse User |
|
|
|
Originally posted by: jjefferies.acm.org
How would I perform direct edit on editparts through a viewpart?
Instead of performing direct edit (like in the Logic example), I need to
edit multiple fields in a view. For example, Name, Age, etc...
How can I display all the fields for selected editparts in a view, so that
I can edit any/all of the fields, rather than a field at a time.
Would each editpart need to implement ISelectionProvider, and the Viewpart
implement ISelectionListener?
Thanks in advance,
Jim
|
|
|
|
|
Re: How to edit multiple fields from a ViewPart [message #189531 is a reply to message #189250] |
Wed, 27 July 2005 13:12  |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
"Jim Jefferies" <jjefferies@acm.org> wrote in message
news:ae1993b05e830d111f2c43b4e75785d0$1@www.eclipse.org...
> I'm not too familiar with the Properties View and how to use it.
Maybe you should look into this first then. Why re-invent the wheel?
>
> What I have done is added an Eclipse ViewPart to the Editor and a
> TableViewer to that view.
>
> How could I go about populating the Table with the attributes from the
> selected editpart, and being able to edit these attributes?
>
> Are there any tutorials/examples on how to do this?
>
> Any advice is appreciated
> Thanks,
> Jim
>
|
|
|
Powered by
FUDForum. Page generated in 0.03746 seconds