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:[RSE] File subsystem vs file service
Next Topic:Syntax errors in remote file not detected
Goto Forum:
  


Current Time: Mon Dec 22 02:10:43 GMT 2014

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

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