Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Get/Set Selection in RSE Explorer/TreeView ?
Get/Set Selection in RSE Explorer/TreeView ? [message #583084] Mon, 22 February 2010 15:05 Go to next message
Ivashu  is currently offline Ivashu Friend
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 #583339 is a reply to message #583084] Thu, 03 June 2010 19:03 Go to previous message
David McKnight is currently offline David McKnightFriend
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
Previous Topic:Set password for SSH connection
Next Topic:FTP Connection problem
Goto Forum:
  


Current Time: Thu Apr 25 01:12:26 GMT 2024

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

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

Back to the top