Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Changes in EMF Index

Hi Jan,

Things really start to fit together nicely in EMF Index now! I have a
question on this last refactoring (see below).

On Wed, Mar 4, 2009 at 17:09, Jan Köhnlein <jan.koehnlein@xxxxxxxxx> wrote:
>
> 1) Iteration of resource contents is no longer done by a static component
> (the IndexFeeder) but pluggable. That way, users can decide how deep the
> index should descent into their models.
> 2) I've introduced a generic way of listening to model resource changes on
> file level. See EmfResourceChangeListener.
> 3) The class IndexBuilderImpl notifies all registered resource change
> listeners of changes. This class is not depending on the UI, but used by the
> project builder. It allows similar behavior outside of eclipse.

I presume it should also be possible to plug an IndexFeeder and an
EmfResourceChangeListener (or multiple) into the IndexBuilderImpl used
by the incremental project builder. This hook went missing with the
last refactoring.

> 4) I've implemented a first shot at index event handling. Clients can now
> register to IndexChangeEvents on the index store.
> 5) Results retruned from a query are now Iterable<DescType> rather than
> collections. This will allow easier adaption to a JDBC backend, as well as
> scalable handling of results. To see how this can be incorporated into the
> you, have a look at the FIndEClassByType dialog.
>
> I hope not to cause too much confusion. I will face the open bugs, e.g.
> concurrency problems, on Friday.
>

Regards,

--knut


Back to the top