Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Get/Set Selection in RSE Explorer/TreeView ?(Is there any API for this?)
icon5.gif  Get/Set Selection in RSE Explorer/TreeView ? [message #516040] Mon, 22 February 2010 10:05 Go to next message
Ivashu  is currently offline Ivashu
Messages: 3
Registered: February 2010
Junior Member
Greetings !

I have traversed RSE API docs and several sites on the net,
trying to find out how to get/set a selection in RSE:s Explorer/TreeView.

My problem is getting from RSEUIPlugin.getTheSystemRegistryUI() to the TreeView? component in RSE Explorer that lets me set/get selections...

Any help appreciated !!

/Ivashu
Re: Get/Set Selection in RSE Explorer/TreeView ? [message #537831 is a reply to message #516040] Thu, 03 June 2010 15:03 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
Hi Ivashu,

Sorry for the delay getting back to you. Most of us committers have been
quite busy lately so we have not had a lot of time to respond here.

Below is an example of code to get at the Remote Systems view:
IWorkbenchPage page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage();

_systemViewPart = (SystemViewPart) page.showView(SystemViewPart.ID);

page.bringToTop(_systemViewPart);

Once you have the system view part, you can make a call like this:
_systemViewPart.getSystemView().getSelection();

Dave


"Ivashu" <ivashu@gmail.com> wrote in message
news:hlu6f1$do$1@build.eclipse.org...
> Greetings !
>
> I have traversed RSE API docs and several sites on the net,
> trying to find out how to get/set a selection in RSE:s Explorer/TreeView.
>
> My problem is getting from RSEUIPlugin.getTheSystemRegistryUI() to the
> TreeView? component in RSE Explorer that lets me set/get selections...
>
> Any help appreciated !!
>
> /Ivashu
Re: Get/Set Selection in RSE Explorer/TreeView ? [message #556140 is a reply to message #537831] Mon, 30 August 2010 22:58 Go to previous messageGo to next message
boyeestudio is currently offline boyeestudio
Messages: 9
Registered: July 2009
Junior Member
Hi,I have the same problem.
And the SystemViewPart can't be invoked in other plugin package.Why? How to fix this. Thanks!
Re: Get/Set Selection in RSE Explorer/TreeView ? [message #583718 is a reply to message #537831] Mon, 30 August 2010 22:58 Go to previous message
boyeestudio is currently offline boyeestudio
Messages: 9
Registered: July 2009
Junior Member
Hi,I have the same problem.
And the SystemViewPart can't be invoked in other plugin package.Why? How to fix this. Thanks!
Previous Topic:How to export the RSE as an eclipse RCP production?
Next Topic:How to export the RSE as an eclipse RCP production?
Goto Forum:
  


Current Time: Wed Aug 20 14:40:59 EDT 2014

Powered by FUDForum. Page generated in 0.02156 seconds