Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DND on text editor
DND on text editor [message #139120] Mon, 21 June 2004 16:28 Go to next message
Eclipse UserFriend
Originally posted by: turker.keskinpala.vanderbilt.edu

Hi all,

I am working on a plugin where I need to drag from a graphical editor and
drop onto a regular editor where my source code is. I know it is possible to
drop onto a graphical editor but I am not sure if it is possible to drop
onto a regular editor.

Is this possible? If yes, what would be the way to go for that?

Thanks,
Turker Keskinpala
Re: DND on text editor [message #139144 is a reply to message #139120] Mon, 21 June 2004 18:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

It is possible, but it conflicts with normal interaction of the graphical
editor. You could require a modifier key like CTRL to be pressed?

"Turker Keskinpala" <turker.keskinpala@vanderbilt.edu> wrote in message
news:cb72be$2jg$1@eclipse.org...
> Hi all,
>
> I am working on a plugin where I need to drag from a graphical editor and
> drop onto a regular editor where my source code is. I know it is possible
to
> drop onto a graphical editor but I am not sure if it is possible to drop
> onto a regular editor.
>
> Is this possible? If yes, what would be the way to go for that?
>
> Thanks,
> Turker Keskinpala
>
>
Re: DND on text editor [message #139154 is a reply to message #139144] Mon, 21 June 2004 18:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: turker.keskinpala.vanderbilt.edu

Thank you for your quick reply. It can require CTRL to be pressed.

I guess where I am having problem understanding is that how it will be
possible to add a listener to the java editor. May be I should just extend
the original java editor and create my own editor???

Do I just add the listener to an editor like adding a listener to a
graphical editor?

I am confused because most of the articles that I read refer to viewers and
graphical editors.

I appreciate your help...Thanks...


"Randy Hudson" <none@us.ibm.com> wrote in message
news:cb78pm$hbn$1@eclipse.org...
> It is possible, but it conflicts with normal interaction of the graphical
> editor. You could require a modifier key like CTRL to be pressed?
>
> "Turker Keskinpala" <turker.keskinpala@vanderbilt.edu> wrote in message
> news:cb72be$2jg$1@eclipse.org...
> > Hi all,
> >
> > I am working on a plugin where I need to drag from a graphical editor
and
> > drop onto a regular editor where my source code is. I know it is
possible
> to
> > drop onto a graphical editor but I am not sure if it is possible to drop
> > onto a regular editor.
> >
> > Is this possible? If yes, what would be the way to go for that?
> >
> > Thanks,
> > Turker Keskinpala
> >
> >
>
>
Re: DND on text editor [message #139163 is a reply to message #139154] Mon, 21 June 2004 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I was referring to the "drag from graphical" part. Drop on Text editor
would require an extension point. It may not exist.

"Turker Keskinpala" <turker.keskinpala@vanderbilt.edu> wrote in message
news:cb796q$icd$1@eclipse.org...
> Thank you for your quick reply. It can require CTRL to be pressed.
>
> I guess where I am having problem understanding is that how it will be
> possible to add a listener to the java editor. May be I should just extend
> the original java editor and create my own editor???
>
> Do I just add the listener to an editor like adding a listener to a
> graphical editor?
>
> I am confused because most of the articles that I read refer to viewers
and
> graphical editors.
>
> I appreciate your help...Thanks...
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cb78pm$hbn$1@eclipse.org...
> > It is possible, but it conflicts with normal interaction of the
graphical
> > editor. You could require a modifier key like CTRL to be pressed?
> >
> > "Turker Keskinpala" <turker.keskinpala@vanderbilt.edu> wrote in message
> > news:cb72be$2jg$1@eclipse.org...
> > > Hi all,
> > >
> > > I am working on a plugin where I need to drag from a graphical editor
> and
> > > drop onto a regular editor where my source code is. I know it is
> possible
> > to
> > > drop onto a graphical editor but I am not sure if it is possible to
drop
> > > onto a regular editor.
> > >
> > > Is this possible? If yes, what would be the way to go for that?
> > >
> > > Thanks,
> > > Turker Keskinpala
> > >
> > >
> >
> >
>
>
Previous Topic:How to detect mousemotion events for figure with children
Next Topic:Refreshing after a Preference change
Goto Forum:
  


Current Time: Thu Apr 25 14:16:59 GMT 2024

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

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

Back to the top