EclipseDSM/Eclipse-DSM-viewer — Issue #10: Plugin architecture
Author: KTannenberg
Created: 2012-02-22 04:54:52+00:00
State: open
Labels: Coding tasks, Project tasks

We must provide MVC pattern in plugin and also ensure that Model is only created once per current classe/package/project combination of files being analyzed.

About Model. All View transformations (such as folding classes and subpackages into package and vice versa) must be performed only over View, Model should not be modified after creation at all (until some of analyzed classes/packages are changed ofc). Maybe we should create class, that will represent Model, only with getters and build (compile etc) methods.

About View. Most possible some heir of Table will be used. In my opinion all transformations (folding, unfolding anything else implemented) should only modify Table to hide certain elements and not to remove them (and then rebuild table when they would be needed again, meh), maybe shrinking unnecessary items to zero height (width) would be enough for that.