Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to use dialogs in editing
how to use dialogs in editing [message #227562] Wed, 06 December 2006 12:03 Go to next message
Eclipse User
Originally posted by: umair.tajammal.ericsson.com

Hi,

Is it possible to use dialogs to edit during direct edit. How can I use
SWT dialogs in direct edit? or How can I create dialogs using cell
editors. I need to edit all the information of a single editpart when
direct edit request is issued.

Regards,
Umair
Re: how to use dialogs in editing [message #227629 is a reply to message #227562] Fri, 08 December 2006 17:10 Go to previous messageGo to next message
Eclipse User
Originally posted by: none.unknown.com

You can just launch a dialog when your editpart gets the DirectEdit request.

"Umair" <umair.tajammal@ericsson.com> wrote in message
news:f83309b401882efc32e2b654843db85d$1@www.eclipse.org...
> Hi,
>
> Is it possible to use dialogs to edit during direct edit. How can I use
> SWT dialogs in direct edit? or How can I create dialogs using cell
> editors. I need to edit all the information of a single editpart when
> direct edit request is issued.
>
> Regards,
> Umair
>
>
Re: how to use dialogs in editing [message #228491 is a reply to message #227629] Mon, 25 December 2006 23:02 Go to previous messageGo to next message
Eclipse User
Originally posted by: umair.tajammal.ericsson.com

Hi,
At the moment I am using DialogCellEditor, CellEditorlocator and
DirectEditManager and successfully able to show a SWT dialog, I am yet to
connect it to Command, which I will figure out sooner or later. However,
there is not much help available for this kind of editing. This simple
feature has taken alot more time then it should have. Is there any
resouce/example where such SWT dialogs are used with GEF edit parts for
editing?

-Umair
Re: how to use dialogs in editing [message #228531 is a reply to message #228491] Tue, 26 December 2006 12:37 Go to previous message
Eclipse User
Originally posted by: none.unknown.com

You don't need a DialogCellEditor or CellEditorLocator, assuming where the
dialog pops up is not important. When you get a direct-edit request just
pop-up a dialog like you would from an action.

"Umair" <umair.tajammal@ericsson.com> wrote in message
news:1b62809a267b2caedbbf851777802859$1@www.eclipse.org...
> Hi,
> At the moment I am using DialogCellEditor, CellEditorlocator and
> DirectEditManager and successfully able to show a SWT dialog, I am yet to
> connect it to Command, which I will figure out sooner or later. However,
> there is not much help available for this kind of editing. This simple
> feature has taken alot more time then it should have. Is there any
> resouce/example where such SWT dialogs are used with GEF edit parts for
> editing?
>
> -Umair
>
Previous Topic:Question about realisation of swimlanes
Next Topic:ISelectionProvider error at runtime
Goto Forum:
  


Current Time: Fri Jul 25 11:21:59 EDT 2014

Powered by FUDForum. Page generated in 0.01664 seconds