I've managed to get rid of IMultiRepositoryAdapter, but I
agree with
Marcin that we should create an interface like
IImportableRepository.
Cheers,
Piotr
Ps. I've removed following classes/interfaces from
org.eclipse.corona.container (connected with
IMultiRepositoryInterface):
IMultiRepositoryAdapter
IUIRepositoryAdapter
IUIRepositoryAdapterListener
UIRepositoryAdapterEvent
> -----Original Message-----
> From: corona-dev-bounces eclipse.org
[mailto:corona-dev-
> bounces eclipse.org] On Behalf Of Marcin Okraszewski
> Sent: Monday, March 19, 2007 4:10 PM
> To: Corona development
> Subject: Re: [corona-dev]
>
org.eclipse.corona.container.repository.IMultiRepositoryAdap
ter
>
> Don't know if checkout operation should be done with
fetchResource().
>
> I wonder if we have repository adapter factory, if we
could have for
> instance "IImportableRepository". If you can
get an adapter
> "IImportableRepository" then you can perform
import operation with
> simply IImportableRepository.import()...
>
> I think this approach is much more safer than semantic
overload of
> methods.
>
> Marcin
>
>
> Jaworowski, Piotr wrote:
> >
> > 1) I managed to get rid of IUIRepositoryAdapter,
> >
> > 2) I'll try to get rid of this
IMultiRepositoryAdapter; just need
some
> > more time.
> >
> > The reason for creating the
IMultiRepositoryAdapter was to be able
to
> > perform some operations like fetchResource();
open(); close() on
> > several RepositoryDescriptors in one open();
close();
fetchResource()
> > call in the background; and than inform listeners
that the operation
> > was completed, (please check the
WpRepositoryAdapter class, and
inner
> > class AdapterCheckoutOperation).
> >
> > Cheers,
> >
> > Piotr
> >
> > Ps. I'm trying to get rid of this. I'll let you
know about the
status.
> >
> >
------------------------------------------------------------
------------
> >
> > *From
corona-dev-bounces eclipse.org
> > [mailto:corona-dev-bounces eclipse.org] *On Behalf Of
*Everitt,
Glenn
> > *Sent Monday,
March 19, 2007 3:17 PM
> > *To Corona
development
> > *Subject
[corona-dev]
> >
org.eclipse.corona.container.repository.IMultiRepositoryAdap
ter
> >
> > Could someone write something up about the role
of
> > IMultiRepositoryAdapter? I'm afraid I don't
understand its purpose.
> >
> > Glenn
> >
> >
> > The contents of this e-mail are intended for the
named addressee
only.
> > It contains information that may be confidential.
Unless you are the
> > named addressee or an authorized designee, you may
not copy or use
it,
> > or disclose it to anyone else. If you received it
in error please
> > notify us immediately and then destroy it.
> >
> >
> > The contents of this e-mail are intended for the
named addressee
only.
> > It contains information that may be confidential.
Unless you are the
> > named addressee or an authorized designee, you may
not copy or use
it,
> > or disclose it to anyone else. If you received it
in error please
> > notify us immediately and then destroy it.
> >
------------------------------------------------------------
------------
> >
> > _______________________________________________
> > corona-dev mailing list
> > corona-dev eclipse.org
> > h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev
> >
> The contents of this e-mail are intended for the named
addressee only.
It
> contains information that may be confidential. Unless
you are the
named
> addressee or an authorized designee, you may not copy
or use it, or
> disclose it to anyone else. If you received it in error
please notify
us
> immediately and then destroy it.
> _______________________________________________
> corona-dev mailing list
> corona-dev eclipse.org
> h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev
The contents of this e-mail are intended for the named
addressee only. It contains information that may be
confidential. Unless you are the named addressee or an
authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify
us immediately and then destroy it.
_______________________________________________
corona-dev mailing list
corona-dev eclipse.org
h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev
|