[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: How to create figures that look like text fields
|
You could create a Label, and set its border to
SchemeBorder.SCHEMES.LOWERED.
"Duncan Krebs" <duncan@xxxxxxxxxxxx> wrote in message
news:dab876cae07dbbf5b46f2485ac95ff93$1@xxxxxxxxxxxxxxxxxx
> 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.
>