Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » need PropertyGrid control
need PropertyGrid control [message #458715] Wed, 20 July 2005 00:04 Go to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
I need a property grid control (also known as a property list control), as
part of a preference pane. Does one exist in SWT, and if so, what's it
called? (Pardon my newbie-ness!)

What I'm looking for is something like the property grid in .NET; that is, a
multicolumn list where each entry is directly editable and new entries can
be created by clicking on a blank cell. (It's essentially the GUI of a
Map.)

Thanks!
Re: need PropertyGrid control [message #458721 is a reply to message #458715] Wed, 20 July 2005 01:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Walter Harley" <wharley@bea.com> wrote in message
news:dbk4ed$2f2$1@news.eclipse.org...
>I need a property grid control (also known as a property list control), as
>part of a preference pane. Does one exist in SWT, and if so, what's it
>called? (Pardon my newbie-ness!)
>
> What I'm looking for is something like the property grid in .NET; that is,
> a multicolumn list where each entry is directly editable and new entries
> can be created by clicking on a blank cell. (It's essentially the GUI of
> a Map.)
>
> Thanks!
There is the Properties View, but I don't think that is available in a
PreferencePage.
Also, it doesn't allow creation of new entries.
You may have to roll your own, using the Table widget and CellEditors.
---
Sunil
Re: need PropertyGrid control [message #458744 is a reply to message #458715] Wed, 20 July 2005 13:49 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See the following SWT snippets for examples of how to do this:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet88.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet124.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet149.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

There is also a JFace layer using CellEditors that you can use instead. The
PropertySheet is an example of how to use the JFace layer.

"Walter Harley" <wharley@bea.com> wrote in message
news:dbk4ed$2f2$1@news.eclipse.org...
>I need a property grid control (also known as a property list control), as
>part of a preference pane. Does one exist in SWT, and if so, what's it
>called? (Pardon my newbie-ness!)
>
> What I'm looking for is something like the property grid in .NET; that is,
> a multicolumn list where each entry is directly editable and new entries
> can be created by clicking on a blank cell. (It's essentially the GUI of
> a Map.)
>
> Thanks!
>
Previous Topic:Real time updates in Virtual Table
Next Topic:PocketPC and SWT - how to get started - bad major version error
Goto Forum:
  


Current Time: Wed Oct 21 00:13:27 GMT 2020

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

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

Back to the top