-
assigned issue to
Dynamically show "Delete from model" or "Delete from view"
When an user tap and hold on a goal, it will show "Delete" and "Delete with children". It would be nice to show "Delete" + "from model" or "from view". Thus, the user will know what he is doing.
In the method createDeleteImpactModelElementCommand(...)
of AbstractImpactModelElementController
, you can find a condition that will check if we will delete from the model or from the view.
I think the enumeration GoalOption
of GoalImpactViewEditHandler
should have the values DELETE_FROM_MODEL
and DELETE_FROM_VIEW
.
Using the previous condition, we can add the correct "Delete" to the Selector.
Comments (6)
-
reporter -
reporter References
#369: Rename hasToBeDeleted by shouldDeleteNodeFromModel→ <<cset 5f539ff44aef>>
-
reporter References
#369: Create an operation in abstractImpactModelElementControler in order to avoid to call shoulDeletedNodeFromModel again in the controler→ <<cset b2e002aadc7b>>
-
reporter References
#369: Rename hasToBeDeleted by shouldDeleteNodeFromModel→ <<cset 5f539ff44aef>>
-
reporter References
#369: Create an operation in abstractImpactModelElementControler in order to avoid to call shoulDeletedNodeFromModel again in the controler→ <<cset b2e002aadc7b>>
-
reporter - changed status to resolved
- Log in to comment