Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2D - Editable TextBox
Draw2D - Editable TextBox [message #160750] Tue, 07 December 2004 12:00 Go to next message
Eclipse UserFriend
Originally posted by: dee101_1999.yahoo.com

I'm new to the whole area of draw2D & GEF. I've been working with the
examples and now want to add an editable text-box, like the
'org.eclipse.swt.widgets.Text' widget in SWT.

Should I use 'org.eclipse.draw2d.text'? I looked at the
'org.eclipse.draw2d.examples.text', but they seemed more concerned with
displaying text, rather than creating a textbox that is a selectable user
interface object, that allows the user to enter and modify text.

Thanks,
Jen
Re: Draw2D - Editable TextBox [message #160758 is a reply to message #160750] Tue, 07 December 2004 12:09 Go to previous messageGo to next message
Cyril Chéné is currently offline Cyril ChénéFriend
Messages: 19
Registered: July 2009
Location: France
Junior Member
You should look the Schema Diagram example =

( http://www.eclipse.org/articles/Article-GEF-editor/gef-schem a-editor.ht=
ml)

There's an "EditableLabel" component that may be useful to you.

Cyril

Le Tue, 7 Dec 2004 12:00:23 +0000 (UTC), Jen <dee101_1999@yahoo.com> a =

=E9crit :

> I'm new to the whole area of draw2D & GEF. I've been working with the=
=

> examples and now want to add an editable text-box, like the =

> 'org.eclipse.swt.widgets.Text' widget in SWT.
>
> Should I use 'org.eclipse.draw2d.text'? I looked at the =

> 'org.eclipse.draw2d.examples.text', but they seemed more concerned wit=
h =

> displaying text, rather than creating a textbox that is a selectable =

> user interface object, that allows the user to enter and modify text. =
=

> Thanks,
> Jen
>
Re: Draw2D - Editable TextBox [message #160813 is a reply to message #160750] Tue, 07 December 2004 16:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

For now, everyone is using CellEditors. see CellEditorManager, and
DIRECT_EDIT request type.

"Jen" <dee101_1999@yahoo.com> wrote in message
news:cp460n$mi$1@www.eclipse.org...
> I'm new to the whole area of draw2D & GEF. I've been working with the
> examples and now want to add an editable text-box, like the
> 'org.eclipse.swt.widgets.Text' widget in SWT.
>
> Should I use 'org.eclipse.draw2d.text'? I looked at the
> 'org.eclipse.draw2d.examples.text', but they seemed more concerned with
> displaying text, rather than creating a textbox that is a selectable user
> interface object, that allows the user to enter and modify text.
>
> Thanks,
> Jen
>
Re: Draw2D - Editable TextBox [message #160980 is a reply to message #160813] Wed, 08 December 2004 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dee101_1999.yahoo.com

Are there any examples that incorporate these?

Randy Hudson wrote:

> For now, everyone is using CellEditors. see CellEditorManager, and
> DIRECT_EDIT request type.

> "Jen" <dee101_1999@yahoo.com> wrote in message
> news:cp460n$mi$1@www.eclipse.org...
>> I'm new to the whole area of draw2D & GEF. I've been working with the
>> examples and now want to add an editable text-box, like the
>> 'org.eclipse.swt.widgets.Text' widget in SWT.
>>
>> Should I use 'org.eclipse.draw2d.text'? I looked at the
>> 'org.eclipse.draw2d.examples.text', but they seemed more concerned with
>> displaying text, rather than creating a textbox that is a selectable user
>> interface object, that allows the user to enter and modify text.
>>
>> Thanks,
>> Jen
>>
Re: Draw2D - Editable TextBox [message #161010 is a reply to message #160980] Wed, 08 December 2004 16:12 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Yes, Logic and Flow example. Use F2 to rename a label or activity.


"Jen" <dee101_1999@yahoo.com> wrote in message
news:cp6n02$4eb$1@www.eclipse.org...
> Are there any examples that incorporate these?
>
> Randy Hudson wrote:
>
> > For now, everyone is using CellEditors. see CellEditorManager, and
> > DIRECT_EDIT request type.
>
> > "Jen" <dee101_1999@yahoo.com> wrote in message
> > news:cp460n$mi$1@www.eclipse.org...
> >> I'm new to the whole area of draw2D & GEF. I've been working with the
> >> examples and now want to add an editable text-box, like the
> >> 'org.eclipse.swt.widgets.Text' widget in SWT.
> >>
> >> Should I use 'org.eclipse.draw2d.text'? I looked at the
> >> 'org.eclipse.draw2d.examples.text', but they seemed more concerned with
> >> displaying text, rather than creating a textbox that is a selectable
user
> >> interface object, that allows the user to enter and modify text.
> >>
> >> Thanks,
> >> Jen
> >>
>
>
Previous Topic:New article: A Shape Diagram Editor
Next Topic:implementing cut/copy/paste
Goto Forum:
  


Current Time: Thu Apr 25 15:13:28 GMT 2024

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

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

Back to the top