Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to create figures that look like text fields
How to create figures that look like text fields [message #210693] Fri, 03 March 2006 19:33 Go to next message
Eclipse UserFriend
Originally posted by: duncan.krebsnet.com

Hi,
I’m a total newbie to GEF and am trying to create a simple visual editor
for creating an input form. I’m currently working on designing a set of
figures that will be part of my editor and I’m trying to figure out how to
create figures that mimic the look of some of the standard SWT widgets.
For example, a form field figure will have a label and a visual but not
functional text input associated with it. How can I create a figure that
looks like the SWT text field input, do I have to do that in a custom
figure or is there one that I can extend? Another example would be
creating a figure that contains a combo box look widget. I've seen this be
done in other editors and am wondering how to do it myself!? Thanks.
Re: How to create figures that look like text fields [message #210701 is a reply to message #210693] Sat, 04 March 2006 00:24 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You could create a Label, and set its border to
SchemeBorder.SCHEMES.LOWERED.

"Duncan Krebs" <duncan@krebsnet.com> wrote in message
news:dab876cae07dbbf5b46f2485ac95ff93$1@www.eclipse.org...
> Hi, I
Previous Topic:Default connection anchor used after model persisted
Next Topic:Cannot automatically snap to grid!
Goto Forum:
  


Current Time: Wed Nov 30 03:36:23 GMT 2022

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

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

Back to the top