Hi,
this is the weekly status report for the GSoC 2014 project Snippet
Sharing Infrastructure [1].
What I have done this week:
Last week I worked on Bug 439213
(ISnippetRepository should know
its SnippetRepositoryConfiguration). This is
needed before other bugs like Bug 438684
(Remove repository on preference
page should also delete snippet repo on disk) can
be fixed.
Therefore the emf model for snipmatch which was located in the
*.snipmatch.rcp project was splitted.
The part containing the definition of SnippetRepositoryConfiguration
and DefaultConfigurationProvider were moved to
*.snipmatch. The definition of subtypes like GitSnippetRepository
remains in the model located in *.snipmatch.rcp. [2]
Beside of that I start improving the way changes of configurations
are processed.
At the moment after every modification of a configuration the old
one is removed (from the list of configurations) and the new one is
added. This implies that after every change the repositories are
closed and opened which is not always necessary (e.g. when only
changing the name). The idea is that the repository itself should be
informed about the changes and be able to decide if a close (open)
operation is needed or not. At the moment I am doing some research
about the notifications emf provides for the modeled elements. One
problem is that if I change a configuration I get a notification for
every field I changed. But I would like to get only one notification
which indicates that a configuration has changed.
What I have planned for the next week:
I planed for the next week to continue fixing the open bugs. There
are some minor changes on Bug 439213
and some more research on emf notifications to do.
Regards,
Olav
[1] https://docs.google.com/document/d/1IKXw25w_LsM6xi1Lun48g7Trm_tat6Tgt4HIcVfUT4M/edit#heading=h.f5cmiw24j8xe
[2] https://git.eclipse.org/r/#/c/29659/
|