Active Project Handling - Howto [message #33510] |
Fri, 20 March 2009 09:40  |
Eclipse User |
|
|
|
Hi all,
I'm developing a plug-in to manage projects that deals with DSPs and FPGAs
related files, and I should handle inside plug-in code which Project is
actually selected by the user.
I've already declared a sampleHandler with which I'm managing a custom
toolbar button, but I cannot identify the active project inside the
Workbench.
Thanks in advance for any suggestion/tip.
Regards,
--Luciano
|
|
|
Re: Active Project Handling - Howto [message #33879 is a reply to message #33510] |
Wed, 25 March 2009 20:30   |
Eclipse User |
|
|
|
Hello Luciano,
Please ask on
eclipse.platform
or
eclipse.newcomer.
Tentatively I'd assume that you want an ISelectionService:
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/wrkAdv_services.htm
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/ui/package-summary.html
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Luciano Bozzi wrote:
> Hi all,
> I'm developing a plug-in to manage projects that deals with DSPs and
> FPGAs related files, and I should handle inside plug-in code which
> Project is actually selected by the user.
> I've already declared a sampleHandler with which I'm managing a custom
> toolbar button, but I cannot identify the active project inside the
> Workbench.
>
> Thanks in advance for any suggestion/tip.
>
> Regards,
> --Luciano
>
|
|
|
|
Re: Active Project Handling - Howto [message #580095 is a reply to message #33510] |
Wed, 25 March 2009 20:30   |
Eclipse User |
|
|
|
Hello Luciano,
Please ask on
eclipse.platform
or
eclipse.newcomer.
Tentatively I'd assume that you want an ISelectionService:
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/wrkAdv_services.htm
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/ui/package-summary.html
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Luciano Bozzi wrote:
> Hi all,
> I'm developing a plug-in to manage projects that deals with DSPs and
> FPGAs related files, and I should handle inside plug-in code which
> Project is actually selected by the user.
> I've already declared a sampleHandler with which I'm managing a custom
> toolbar button, but I cannot identify the active project inside the
> Workbench.
>
> Thanks in advance for any suggestion/tip.
>
> Regards,
> --Luciano
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05145 seconds