[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] Debugging a child eclipse with OpenFileFeature?
|
Within the IDE, the SWT.OpenDocument event is hooked in by the IDEApplication class via the org.eclipse.ui.internal.ide.application.DelayedEventsProcessor.
Brian.
> On 28-Nov-2016, at 12:40 PM, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
>
> Hi Ian,
>
> It is the C eclipse(.exe) that handles --launcher.openFile and sends
> the path to a hidden SWT window. Not sure how to reproduce that when
> launching from within Eclipse as that bypasses the launcher.
>
> Have a look at reuseWorkbench in
> features/org.eclipse.equinox.executable.feature/library/*/eclipse*.c
> (* is platform), this is in the equinox/rt.equinox.framework git repo.
>
> The receiver (for gtk) is in
> org.eclipse.swt.widgets.Display.signalProc(long, long, long), probably
> in similar places for other platforms.
>
> Jonah
> ~~~
> Jonah Graham
> Kichwa Coders Ltd.
> www.kichwacoders.com
>
>
> On 28 November 2016 at 17:26, Ian Pun <ipun@xxxxxxxxxx> wrote:
>> Hi, I'm trying to work my child eclipse to run with a path at the end of it
>> much like how it is done through opening eclipse through command line:
>>
>> ./eclipse /some/path/to/file
>>
>> I read a bit into this: https://wiki.eclipse.org/Eclipse/OpenFileFeature ,
>> which documents how to do it. But, putting --launcher.openFile with the
>> absolute path next to it in "Program Arguments" of my test configurations
>> does not open the file.
>>
>> Any suggestions?
>>
>> --
>> Ian Pun
>> Software Engineering Intern at Red Hat
>> Eclipse Team
>>
>> _______________________________________________
>> platform-ui-dev mailing list
>> platform-ui-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from
>> this list, visit
>> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev