|
|
Re: [Draw2d] Inline Editing of Labels [message #12838 is a reply to message #12778] |
Tue, 09 July 2002 18:41 |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
Guy's correct. On double-click, the default SelectEditPartTracker will send
a "performRequest(Request)" message to the EditPart, with the type being
RequestConstants.REQ_DIRECT_EDIT. Note that this is sent to all edit parts,
and that they can ignore the request if they wish.
performRequest(..) is new API introduced to ask EditParts to do things in an
extensible way.
"Guy Slade" <gslade@us.ibm.com> wrote in message
news:agf2sf$vl6$1@rogue.oti.com...
> In the logic sample there is an example of this. Drop a label and if you
> double click on it you can directly edit the label text. Take a look at
the
> example. The class DirectEditManager is a starting point for you.
>
> Guy
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04790 seconds