editpart.performrequest [message #114801] |
Thu, 29 January 2004 22:38  |
Eclipse User |
|
|
|
Originally posted by: david_michonneau.hotmail.com
Hi,
What is the typical use of EditPart.PeformRequest function? Is it used to
trigger application level commands (such as opening a dialog box)? Or is it
for something else?
Thanks,
David
|
|
|
|
|
Re: editpart.performrequest [message #115446 is a reply to message #115265] |
Tue, 03 February 2004 13:05  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Yes, press F2 in the logic example while a "label" is selected, will send a
request to perform direct editing. See DirectEditAction and how it is used
in the Logic Example.
"David Michonneau" <david_michonneau@hotmail.com> wrote in message
news:bvm8lm$hvn$1@eclipse.org...
> Thanks, is there any example of an implementation using performRequest to
> trigger an application level command?
>
> Thanks,
>
> David
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bve02a$t1e$1@eclipse.org...
> > Yes, that is a good example. It is used for whenever you want to
delegate
> > the implementation of something like that to the editpart. For some
apps
> > this feels "cleaner", for others it is required because editparts may be
> the
> > means of extending an editor's capability.
> >
> > "David Michonneau" <david_michonneau@hotmail.com> wrote in message
> > news:bvcjeu$9uf$1@eclipse.org...
> > > Hi,
> > >
> > > What is the typical use of EditPart.PeformRequest function? Is it used
> to
> > > trigger application level commands (such as opening a dialog box)? Or
is
> > it
> > > for something else?
> > >
> > > Thanks,
> > >
> > > David
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07920 seconds