Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse newbie question: hacking Eclipse code to integrate Eclipse generated GUI with Java app
Eclipse newbie question: hacking Eclipse code to integrate Eclipse generated GUI with Java app [message #164334] Mon, 01 December 2003 16:39 Go to next message
Eclipse UserFriend
Originally posted by: rajeshk.andrew.cmu.edu

Hi all,
I need to use some Eclipse generated GUI code with a Java application.
To do this we decided to have the Java application and Eclipse run in
the same JVM, make our plugin the default feature with which Eclipse
starts up and use threads to comunicate (since directly interfacing the
EMF generated editor code with the Java app was highly non-trivial).

Now what I need to do is to access the Eclipse code which invokes the
model creation wizards. I need to change that code in order to invoke
the model creation code in a particular way and pass back results to the
Java application.

Can anyone point me where to look for this in the Eclipse code? The
books on Eclipse do not give any information about this and the only
source of information I can think of is the newsgroup.

thanks for considering,
-rajeshk
Re: Eclipse newbie question: hacking Eclipse code to integrate Eclipse generated GUI with Java app [message #164342 is a reply to message #164334] Mon, 01 December 2003 16:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rajeshk.andrew.cmu.edu

I could not use the debugger to locate the code I need because I have
been unable to run the Eclipse which I built from the downloaded sources
inside Eclipse - I can only run it by clicking on the generated
eclipse exe file in the windows explorer.

Rajesh Kumar wrote:

> Hi all,
> I need to use some Eclipse generated GUI code with a Java application.
> To do this we decided to have the Java application and Eclipse run in
> the same JVM, make our plugin the default feature with which Eclipse
> starts up and use threads to comunicate (since directly interfacing the
> EMF generated editor code with the Java app was highly non-trivial).
>
> Now what I need to do is to access the Eclipse code which invokes the
> model creation wizards. I need to change that code in order to invoke
> the model creation code in a particular way and pass back results to the
> Java application.
>
> Can anyone point me where to look for this in the Eclipse code? The
> books on Eclipse do not give any information about this and the only
> source of information I can think of is the newsgroup.
>
> thanks for considering,
> -rajeshk
>
Re: Eclipse newbie question: hacking Eclipse code to integrate Eclipse generated GUI with Java app [message #164428 is a reply to message #164342] Mon, 01 December 2003 21:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

You don't need the downloaded sources for this because source is included in
the Eclipse SDK package. All you need to do is use a binary import.
Debugging and searching for types becomes very easy this way. See
http://www.manning.com/gallardo/Eclipse_ch8.zip (free download) for details.

--
Ed Burnette, co-author, Eclipse in Action
www.eclipsepowered.org

"Rajesh Kumar" <rajeshk@andrew.cmu.edu> wrote in message
news:bqgcf0$12p$1@eclipse.org...
> I could not use the debugger to locate the code I need because I have
> been unable to run the Eclipse which I built from the downloaded sources
> inside Eclipse - I can only run it by clicking on the generated
> eclipse exe file in the windows explorer.
>
> Rajesh Kumar wrote:
Debugger keeps crashing [message #164445 is a reply to message #164428] Mon, 01 December 2003 23:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rajeshk.andrew.cmu.edu

when I run a plugin in the debugger I keep getting the "Not Responding"
message and I have to kill the runtime workbench process

This started happening after I put in "-Xmx256M" in the vm args to get
rid of the "Out of Memory" errors which I was getting. Any fixes to this ?
Re: Debugger keeps crashing [message #165640 is a reply to message #164445] Wed, 03 December 2003 21:52 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

I'd check for a typo in those vm args. Run-time workbench adds a few more vm
args to establish the debugger connection so your vm args must be
interfering with the ones Eclipse adds somehow.

--
Ed


"Rajesh Kumar" <rajeshk@andrew.cmu.edu> wrote in message
news:bqh46q$ohh$1@eclipse.org...
> when I run a plugin in the debugger I keep getting the "Not Responding"
> message and I have to kill the runtime workbench process
>
> This started happening after I put in "-Xmx256M" in the vm args to get
> rid of the "Out of Memory" errors which I was getting. Any fixes to this ?
>
Previous Topic:How to create a Project at runtime
Next Topic:Can icon for custom perscpective be changed
Goto Forum:
  


Current Time: Thu May 08 17:32:26 EDT 2025

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

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

Back to the top