[Dune] [#938] Add method level() to DefaultLevelGridView

Dune flyspray at dune-project.org
Mon Jun 27 14:41:13 CEST 2011


The following task has a new comment added:

FS#938 - Add method level() to DefaultLevelGridView
User who did this - Martin Nolte (nolte)

Actually, the old LevelGridPart (the old "version" of a LevelGridView) contained a method level. To my knowledge, on the developer meeting 2008 in Heidelberg, on which the GridViews were introduced, the method level was discussed and voted against. The argument was that this method does not make sense on a LeafGridView.

Notice further that there is (currently) no special interface for a LevelGridView. There is only an interface for a GridView, which has to be able to model both, the LevelGridView and the LeafGridView. Introducing the method to a LevelGridView would mean introducing the method to a LeafGridView (where it is doubted that this method makes sense; the LeafGridPart always returned grid().maxLevel()).

Would it be possible for you to sketch a scenario where this method is useful? I don't remember the old arguments from 2008 anymore.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the Dune mailing list