Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to edit multiple fields from a ViewPart
How to edit multiple fields from a ViewPart [message #188343] Tue, 19 July 2005 20:24 Go to next message
Eclipse UserFriend
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 #188492 is a reply to message #188343] Wed, 20 July 2005 20:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

How is this different from the properties view?

"Jim Jefferies" <jjefferies@acm.org> wrote in message
news:d335594db98c995875f231db1dba022e$1@www.eclipse.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 #189250 is a reply to message #188492] Tue, 26 July 2005 19:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jjefferies.acm.org

I'm not too familiar with the Properties View and how to use it.

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
Re: How to edit multiple fields from a ViewPart [message #189531 is a reply to message #189250] Wed, 27 July 2005 17:12 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:ACTIVE SELECTION PROVIDER PROBLEM!!!!!!!!
Next Topic:SnapFeedbackPolicy resource management bug?
Goto Forum:
  


Current Time: Thu Dec 26 23:38:09 GMT 2024

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

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

Back to the top