Opened 5 years ago

Last modified 2 years ago

#13001 closed enhancement

[Patch] Add MainPanel — at Initial Version

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.06
Component: Core Version:
Keywords: gsoc-core Cc: Don-vip, bastiK, stoecker

Description

This is one more patch that restructures the Main class and pulls logic out of it.

A new class MainPanel is added to manage the MapFrame state and display the start panel. addLayer and removeLayer are now completely handled by the layer manager. I left the two special addLayer(layer, bounds) methods in main since they do not yet have a good replacement. The layer methods in main have been deprecated since they only proxy all calls to the layer manager now.

The layer manager got a new resetState() method. It can currently not handle failing removeLayer listeners, this is why the tests might still be in an unclean state. I'll work on that next week.

Change History (1)

Changed 5 years ago by michael2402

Note: See TracTickets for help on using tickets.