bndtools/bndtools — pull request #350 by duckAsteroid (2012-03-01 21:43:32+00:00)
Title: Package decorator

Hello again all. I have taken another run at the package decorator idea.

With some useful feedback from *fhuberts* I have tweaked the code. Also have moved it off into a branch to keep things clean in my fork (sorry still learning the ways of git).

One comment from *fhuberts* was on the inefficiency of the code for loading `BndEditModel` for the current `JavaProject`. I must say I agree, it seems like *somebody* ought to have loaded this before. So I had a quick search around for an in memory copy of `BndEditModel` but couldn't find anything?

The approach used in the decorator is copied from what I saw used by bndtools in a couple of places - e.g. `bndtools.quickfix.AddBuildPackageProposal.apply(IDocument)`.

Happy to update my code to use a more efficient loading strategy for `BndEditModel` : but need some guidance from the masters! :-)