Changes between Version 1 and Version 2 of Ticket #6953, comment 23
- Timestamp:
- 2011-11-12T21:03:54+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6953, comment 23
v1 v2 1 1 I have a feeling that all button-related methods should be removed from ToggleDialog. All showing/hiding/setting hidden-preferences for button should go to IconToggleButton class, or, better, to HidebleButton interface. 2 2 3 Elsewhere we can not makeunified show-hide-button logic for MapModes and ToggleDialogs.3 Elsewhere we can not implement unified show-hide-button logic for MapModes and ToggleDialogs in MapFrame. 4 4 5 5 Only problem is informing ToggleDialog about its button show-hide. Some events should be added to IconToggleButton (buttonShown, buttonHidden, listened in ToggleDialog) or something else... 6 6 7 But this need rather big refactoring (removing 4 public methods) and can lead to plugin recompilation. 8 7 9 Maybe I am not right.


