Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » sharing resources
sharing resources [message #69560] Tue, 10 June 2003 11:59 Go to next message
Eclipse UserFriend
Hi,

Does eclipse provide any tool to help the sharing of resources? I
Re: sharing resources [message #69662 is a reply to message #69560] Tue, 10 June 2003 14:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.no-spam.inf.ufsc.br

Luiz Fernando,

By "resources" do you mean files, folders and projects as defined by the
Resources plug-in API, or just objects in general?

I believe you are talking about the latter... well, in this case, you will
share objects created by your plug-in through its API (client plug-ins
will request your plug-in's objects), by passing objects to other
plug-ins through their APIs (your plug-in will be the client), or through
the extension point mechanism.

Not sure this helps, or even if I guessed the right meaning of
"resources".

Rafael
Re: sharing resources [message #69829 is a reply to message #69662] Tue, 10 June 2003 16:05 Go to previous messageGo to next message
Eclipse UserFriend
Rafael,

Actually you really guessed the right meaning of "resources" :)
I'm developing a graphical tool for modeling software agents, but I have
several editors and I need to keep some consistency beetwen the data in the
editors, the question is: where should I store the information? Does Eclipse
provides me some help to keep it consistent?

-thanks,
Luiz Fernando

<chaves@no-spam.inf.ufsc.br> escreveu na mensagem
news:bc57bo$290$1@rogue.oti.com...
> Luiz Fernando,
>
> By "resources" do you mean files, folders and projects as defined by the
> Resources plug-in API, or just objects in general?
>
> I believe you are talking about the latter... well, in this case, you will
> share objects created by your plug-in through its API (client plug-ins
> will request your plug-in's objects), by passing objects to other
> plug-ins through their APIs (your plug-in will be the client), or through
> the extension point mechanism.
>
> Not sure this helps, or even if I guessed the right meaning of
> "resources".
>
> Rafael
Re: sharing resources [message #70227 is a reply to message #69829] Tue, 10 June 2003 22:50 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.inf.nospam.ufsc.br

Luiz Fernando,

I think for your problem a careful design will be more helpful than any
tool. The strategy I would recommend is to clearly separate UI from model
objects and to make the UI objects (editors/views/actions) share the same
underlying model objects (whatever your domain is). The model objects
store/manage the information, the UI objects allow the user to see and
manipulate it. The UI related frameworks in Eclipse are designed to
support this separation.

Also, depending on how big your system is, I would suggest breaking it
into two or more plug-ins (e.g. one for model objects, another for UI).
And if the model objects can be reused outside Eclipse, you should
consider making their plug-in as less dependent on Eclipse as you can.

Good luck,

Rafael

Luiz Fernando Rodrigues wrote:

> Rafael,

> Actually you really guessed the right meaning of "resources" :)
> I'm developing a graphical tool for modeling software agents, but I have
> several editors and I need to keep some consistency beetwen the data in the
> editors, the question is: where should I store the information? Does Eclipse
> provides me some help to keep it consistent?

> -thanks,
> Luiz Fernando

> <chaves@no-spam.inf.ufsc.br> escreveu na mensagem
> news:bc57bo$290$1@rogue.oti.com...
> > Luiz Fernando,
> >
> > By "resources" do you mean files, folders and projects as defined by the
> > Resources plug-in API, or just objects in general?
> >
> > I believe you are talking about the latter... well, in this case, you will
> > share objects created by your plug-in through its API (client plug-ins
> > will request your plug-in's objects), by passing objects to other
> > plug-ins through their APIs (your plug-in will be the client), or through
> > the extension point mechanism.
> >
> > Not sure this helps, or even if I guessed the right meaning of
> > "resources".
> >
> > Rafael
Previous Topic:Stripping down CVS commands
Next Topic:Autostart plugin when perspective opened intially
Goto Forum:
  


Current Time: Mon Jul 14 00:05:32 EDT 2025

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

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

Back to the top