Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-tm-dev] create rse connections programmatically.

thank you for your tip, david and martin.

you know i'm so new in plugin development and i cannot really follow your instructions below. but i've already developed a plugin view with a tree. now, the only job left is to customize the end tree node model class "Server" into "rse connection".

i don't think it will take you too much time and would you mind finishing this for me? of course i will pay you for this. make me an offer please!

regard, wei.
ps: the attachment is my project.


----- Original Message ----
From: David McKnight <dmcknigh@xxxxxxxxxx>
To: "Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>
Cc: Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx>; Wei Zhang <zhangwei_2000_2000@xxxxxxxxx>
Sent: Wednesday, March 21, 2007 6:41:34 PM
Subject: RE: [dsdp-tm-dev] create rse connections programmatically.


Hi Wei,

For what you want to do, the current Remote Systems view will not work.  You could write your own view and reuse much of the RSE functionality.  In particular, you could have the label and content provider make use of the SystemView adapters for the RSE model objects which you use.

For a simple example, you could take a look at: SystemScratchpadViewProvider.   This is what the scratchpad view does to display the same sorts of things that the Remote Systems view displays.  In this case, you'd need to provide a new model object for these "connection folders" as well as it's corresponding adapter.

____________________________________
David McKnight    
Phone:   905-413-3902 , T/L:  969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail:       D1/YFY/8200/TOR
____________________________________



"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

21/03/2007 01:21 PM

To
"Wei Zhang" <zhangwei_2000_2000@xxxxxxxxx>, David McKnight/Toronto/IBM@IBMCA
cc
"Target Management developer discussions" <dsdp-tm-dev@xxxxxxxxxxx>
Subject
RE: [dsdp-tm-dev] create rse connections programmatically.







Hello Wei,

I'm afraid that what you want to do is not possible
with our official API. It may be possible by deriving
from RSE SystemView, and implementing a custom
SystemViewContentProvider.

I'm copying the dsdp-tm-dev list. Please CC the list
for all such kinds of requests, since there might be
others who know the answer better than any individual.

DaveM, can you help?

Thanks,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

> -----Original Message-----
> From: Wei Zhang [mailto:zhangwei_2000_2000@xxxxxxxxx]
> Sent: Wednesday, March 21, 2007 5:52 PM
> To: Oberhuber, Martin
> Subject: Re: [dsdp-tm-dev] create rse connections programmatically.
>
> thanks martin,
>
> my task is a little bit more than my last question. i should
> customize rse primary
>                                                      Remote Systems view so that it
> contains nothing but a tree structure and have connections as
> end tree nodes:
>
> -folder
>   -folder1
>      -connection1
>         -files
>         -shells
>      -connection2
>         -files
>
>         -shells
>   -folder2
>        -connection3
>           -files
>
>           -shells
>
> is it possible?
> regard,wei.
> ps: sorry, i'm quite new in plugin world.
>
>
>
> ----- Original Message ----
> From: "Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>
> To: Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx>
> Sent: Wednesday, March 21, 2007 4:16:56 PM
> Subject: RE: [dsdp-tm-dev] create rse connections programmatically.
>
> Hello Wei,
>
> exactly this question was answered by the TM Tutorial
> at this year's EclipseCon. Tutorial materials as well
> as sample code are available. See
>
> http://wiki.eclipse.org/index.php/TM_and_RSE_FAQ#How_can_I_lea
> rn_program
> ming_with_RSE.3F
>
> Cheers,
> --
> Martin Oberhuber
> Wind River Systems, Inc.
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
> > -----Original Message-----
> > From: dsdp-tm-dev-bounces@xxxxxxxxxxx
> > [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Wei Zhang
> > Sent: Wednesday, March 21, 2007 4:09 PM
> > To: dsdp-tm-dev@xxxxxxxxxxx
> > Subject: [dsdp-tm-dev] create rse connections programmatically.
> >
> > hello there,
> >
> > i would like to extend rse and generate connections in rse
> > prospective programmatically. could anybody tell me how?
> >
> > regard,wei.
> >
> >
> >
> >  
> > ______________________________________________________________
> > ______________________
> > Food fight? Enjoy some healthy debate
> > in the Yahoo! Answers Food & Drink Q&A.
> > http://answers.yahoo.com/dir/?link=list&sid=396545367
> > _______________________________________________
> > dsdp-tm-dev mailing list
> > dsdp-tm-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
> >
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>
>
>
>
>
>  
> ______________________________________________________________
> ______________________
> It's here! Your new message!  
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
>




Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

Attachment: org.eclipse.ui.examples.zip
Description: Zip archive


Back to the top