MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000009Scoring Application Prototype[All Projects] Generalpublic2014-05-14 00:442014-05-28 16:35
Reporterptrue 
Assigned Toptrue 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionSprint #5Fixed in VersionSprint #5 
Summary0000009: Combine actions and commands
DescriptionTry to combine UI actions and Document command classes so that we don't need to create two classes for each command.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000021)
ptrue (developer)
2014-05-28 16:35

Looks like this is not a good idea.
AppAction has only one instance per application. This instance is added to the menu and to the toolbar if needed.
Instance of the DocumentCommand is created every time the command is executed. This instance is stored to the history and its undo/redo methods are called when needed.
Therefore combining these types would be unnatural and would bring many problems.

- Issue History
Date Modified Username Field Change
2014-05-14 00:44 ptrue New Issue
2014-05-14 00:44 ptrue Status new => assigned
2014-05-14 00:44 ptrue Assigned To => ptrue
2014-05-14 02:02 administrator Target Version => Sprint 0000004
2014-05-14 02:04 administrator Status assigned => new
2014-05-22 22:49 administrator Status new => assigned
2014-05-22 22:49 administrator Target Version Sprint 0000004 => Sprint 0000005
2014-05-28 16:35 ptrue Note Added: 0000021
2014-05-28 16:35 ptrue Status assigned => resolved
2014-05-28 16:35 ptrue Fixed in Version => Sprint 0000005
2014-05-28 16:35 ptrue Resolution open => won't fix


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker