Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP » info on rse project
info on rse project [message #14173] Thu, 18 September 2008 07:35 Go to next message
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,
hope this is the right place where I can ask this question ...

I have got an rcp application that deal with a server via corba and use a
few views to display information present in a db (a tree view for the foders
and table view for the file contents).

I just got to see the RSE project ...
I was wandering how difficult would to implement the "logic/communication"
layer ... so that all the other operation like move copy delete and above
all opening editor on files.

any help or something to read would be appreciated.

Kar
Re: info on rse project [message #14207 is a reply to message #14173] Tue, 23 September 2008 14:16 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
Hello Kar,

the right newsgroup for RSE is actually
news:eclipse.dsdp.tm

Regarding your question, what you need to do is actually
implement the IFileService interface for your kind of
communication layer, as well as extend IConnectorService.
The rest is a bit of syntactic sugar, so it shouldn't be
too bad.

You can look at existing RSE source code to see how it has
been done for the FTP or SSH connections. Feel free to ask
if you have more questions.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

Kar wrote:
> Hi all,
> hope this is the right place where I can ask this question ...
>
> I have got an rcp application that deal with a server via corba and use
> a few views to display information present in a db (a tree view for the
> foders and table view for the file contents).
>
> I just got to see the RSE project ...
> I was wandering how difficult would to implement the
> "logic/communication" layer ... so that all the other operation like
> move copy delete and above all opening editor on files.
>
> any help or something to read would be appreciated.
>
> Kar
Re: info on rse project [message #14224 is a reply to message #14207] Wed, 24 September 2008 03:41 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Thanks Martin ... I was already reading the code in the ftp example ...

thanks a lot
Kar


"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:48D93281.60809@windriver.com...
> Hello Kar,
>
> the right newsgroup for RSE is actually
> news:eclipse.dsdp.tm
>
> Regarding your question, what you need to do is actually
> implement the IFileService interface for your kind of
> communication layer, as well as extend IConnectorService.
> The rest is a bit of syntactic sugar, so it shouldn't be
> too bad.
>
> You can look at existing RSE source code to see how it has
> been done for the FTP or SSH connections. Feel free to ask
> if you have more questions.
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
> Kar wrote:
>> Hi all,
>> hope this is the right place where I can ask this question ...
>>
>> I have got an rcp application that deal with a server via corba and use a
>> few views to display information present in a db (a tree view for the
>> foders and table view for the file contents).
>>
>> I just got to see the RSE project ...
>> I was wandering how difficult would to implement the
>> "logic/communication" layer ... so that all the other operation like move
>> copy delete and above all opening editor on files.
>>
>> any help or something to read would be appreciated.
>>
>> Kar
Re: info on rse project [message #14241 is a reply to message #14224] Tue, 30 September 2008 06:22 Go to previous message
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,

I manage following the Martin's hint to recreate a
FileService/ConnectorService plug-ins (based on the ftp example).

I was wondering now hot to go ahead.
what I would love to achieve is a new view which will help me to display the
content of my db (files/folders) and from there stick actions like:
- open and editor on a file
- import export file
- ...

I cannot use the rse connection view because I want to create a new view to
use in my rcp application.

I did play few weeks ago with the eclipse file system
(org.eclipse.core.filesystem) and I manage to create a quick example. What I
had to do with the efs was just

EFS.getFileSystem("schema").getStore(uris)
and build a treeviewer based on the IFileStore input ...

------

What shall I do now, what is the correct way to interact/initialize my rse
service?

I believe I just should
MyService . new ()
- set user/ pass/ hot
- connect
- getFile (root)

and move from there?
is that correct ...

The second bit will be to see how the RSE (I believe is the SystemViewPart)
deals with opening editors on a file.

Regards
Kar






"Kar" <carmeloscala@hotmail.com> wrote in message
news:gbcqvh$ab6$1@build.eclipse.org...
> Thanks Martin ... I was already reading the code in the ftp example ...
>
> thanks a lot
> Kar
>
>
> "Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
> news:48D93281.60809@windriver.com...
>> Hello Kar,
>>
>> the right newsgroup for RSE is actually
>> news:eclipse.dsdp.tm
>>
>> Regarding your question, what you need to do is actually
>> implement the IFileService interface for your kind of
>> communication layer, as well as extend IConnectorService.
>> The rest is a bit of syntactic sugar, so it shouldn't be
>> too bad.
>>
>> You can look at existing RSE source code to see how it has
>> been done for the FTP or SSH connections. Feel free to ask
>> if you have more questions.
>>
>> Cheers,
>> --
>> Martin Oberhuber, Senior Member of Technical Staff, Wind River
>> Target Management Project Lead, DSDP PMC Member
>> http://www.eclipse.org/dsdp/tm
>>
>> Kar wrote:
>>> Hi all,
>>> hope this is the right place where I can ask this question ...
>>>
>>> I have got an rcp application that deal with a server via corba and use
>>> a few views to display information present in a db (a tree view for the
>>> foders and table view for the file contents).
>>>
>>> I just got to see the RSE project ...
>>> I was wandering how difficult would to implement the
>>> "logic/communication" layer ... so that all the other operation like
>>> move copy delete and above all opening editor on files.
>>>
>>> any help or something to read would be appreciated.
>>>
>>> Kar
>
Re: info on rse project [message #572211 is a reply to message #14173] Tue, 23 September 2008 14:16 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
Hello Kar,

the right newsgroup for RSE is actually
news:eclipse.dsdp.tm

Regarding your question, what you need to do is actually
implement the IFileService interface for your kind of
communication layer, as well as extend IConnectorService.
The rest is a bit of syntactic sugar, so it shouldn't be
too bad.

You can look at existing RSE source code to see how it has
been done for the FTP or SSH connections. Feel free to ask
if you have more questions.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

Kar wrote:
> Hi all,
> hope this is the right place where I can ask this question ...
>
> I have got an rcp application that deal with a server via corba and use
> a few views to display information present in a db (a tree view for the
> foders and table view for the file contents).
>
> I just got to see the RSE project ...
> I was wandering how difficult would to implement the
> "logic/communication" layer ... so that all the other operation like
> move copy delete and above all opening editor on files.
>
> any help or something to read would be appreciated.
>
> Kar
Re: info on rse project [message #572235 is a reply to message #14207] Wed, 24 September 2008 03:41 Go to previous message
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Thanks Martin ... I was already reading the code in the ftp example ...

thanks a lot
Kar


"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:48D93281.60809@windriver.com...
> Hello Kar,
>
> the right newsgroup for RSE is actually
> news:eclipse.dsdp.tm
>
> Regarding your question, what you need to do is actually
> implement the IFileService interface for your kind of
> communication layer, as well as extend IConnectorService.
> The rest is a bit of syntactic sugar, so it shouldn't be
> too bad.
>
> You can look at existing RSE source code to see how it has
> been done for the FTP or SSH connections. Feel free to ask
> if you have more questions.
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
> Kar wrote:
>> Hi all,
>> hope this is the right place where I can ask this question ...
>>
>> I have got an rcp application that deal with a server via corba and use a
>> few views to display information present in a db (a tree view for the
>> foders and table view for the file contents).
>>
>> I just got to see the RSE project ...
>> I was wandering how difficult would to implement the
>> "logic/communication" layer ... so that all the other operation like move
>> copy delete and above all opening editor on files.
>>
>> any help or something to read would be appreciated.
>>
>> Kar
Re: info on rse project [message #572268 is a reply to message #14224] Tue, 30 September 2008 06:22 Go to previous message
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,

I manage following the Martin's hint to recreate a
FileService/ConnectorService plug-ins (based on the ftp example).

I was wondering now hot to go ahead.
what I would love to achieve is a new view which will help me to display the
content of my db (files/folders) and from there stick actions like:
- open and editor on a file
- import export file
- ...

I cannot use the rse connection view because I want to create a new view to
use in my rcp application.

I did play few weeks ago with the eclipse file system
(org.eclipse.core.filesystem) and I manage to create a quick example. What I
had to do with the efs was just

EFS.getFileSystem("schema").getStore(uris)
and build a treeviewer based on the IFileStore input ...

------

What shall I do now, what is the correct way to interact/initialize my rse
service?

I believe I just should
MyService . new ()
- set user/ pass/ hot
- connect
- getFile (root)

and move from there?
is that correct ...

The second bit will be to see how the RSE (I believe is the SystemViewPart)
deals with opening editors on a file.

Regards
Kar






"Kar" <carmeloscala@hotmail.com> wrote in message
news:gbcqvh$ab6$1@build.eclipse.org...
> Thanks Martin ... I was already reading the code in the ftp example ...
>
> thanks a lot
> Kar
>
>
> "Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
> news:48D93281.60809@windriver.com...
>> Hello Kar,
>>
>> the right newsgroup for RSE is actually
>> news:eclipse.dsdp.tm
>>
>> Regarding your question, what you need to do is actually
>> implement the IFileService interface for your kind of
>> communication layer, as well as extend IConnectorService.
>> The rest is a bit of syntactic sugar, so it shouldn't be
>> too bad.
>>
>> You can look at existing RSE source code to see how it has
>> been done for the FTP or SSH connections. Feel free to ask
>> if you have more questions.
>>
>> Cheers,
>> --
>> Martin Oberhuber, Senior Member of Technical Staff, Wind River
>> Target Management Project Lead, DSDP PMC Member
>> http://www.eclipse.org/dsdp/tm
>>
>> Kar wrote:
>>> Hi all,
>>> hope this is the right place where I can ask this question ...
>>>
>>> I have got an rcp application that deal with a server via corba and use
>>> a few views to display information present in a db (a tree view for the
>>> foders and table view for the file contents).
>>>
>>> I just got to see the RSE project ...
>>> I was wandering how difficult would to implement the
>>> "logic/communication" layer ... so that all the other operation like
>>> move copy delete and above all opening editor on files.
>>>
>>> any help or something to read would be appreciated.
>>>
>>> Kar
>
Previous Topic:gdb integration
Next Topic:WebDAV: any plans?
Goto Forum:
  


Current Time: Tue Jul 29 08:48:29 EDT 2014

Powered by FUDForum. Page generated in 0.03820 seconds