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 ?(Is there any API for this?)
icon5.gif  Get/Set Selection in RSE Explorer/TreeView ? [message #516040] 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 #537831 is a reply to message #516040] Thu, 03 June 2010 19:03 Go to previous messageGo to next 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
Re: Get/Set Selection in RSE Explorer/TreeView ? [message #556140 is a reply to message #537831] Tue, 31 August 2010 02:58 Go to previous messageGo to next message
boyeestudio is currently offline boyeestudioFriend
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] Tue, 31 August 2010 02:58 Go to previous message
boyeestudio is currently offline boyeestudioFriend
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:Set password for SSH connection
Next Topic:[solved] FTP Connection problem
Goto Forum:
  


Current Time: Tue Mar 19 08:07:17 GMT 2024

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

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

Back to the top