Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Active Project Handling - Howto
Active Project Handling - Howto [message #33510] Fri, 20 March 2009 13:40 Go to next message
Luciano Bozzi is currently offline Luciano Bozzi
Messages: 8
Registered: July 2009
Junior Member
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] Thu, 26 March 2009 00:30 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
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 #33934 is a reply to message #33879] Thu, 26 March 2009 09:18 Go to previous message
Luciano Bozzi is currently offline Luciano Bozzi
Messages: 8
Registered: July 2009
Junior Member
Thank you Martin,
and sorry for the off-topic.

--Luciano
Re: Active Project Handling - Howto [message #580095 is a reply to message #33510] Thu, 26 March 2009 00:30 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
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 #580129 is a reply to message #33879] Thu, 26 March 2009 09:18 Go to previous message
Luciano Bozzi is currently offline Luciano Bozzi
Messages: 8
Registered: July 2009
Junior Member
Thank you Martin,
and sorry for the off-topic.

--Luciano
Previous Topic:Invalid project path: Include path not found
Next Topic:help on SaveAs
Goto Forum:
  


Current Time: Mon Oct 20 13:07:50 GMT 2014

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

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