Search in sources :

Example 1 with UpdateStoryActivationStatus

use of org.obeonetwork.graal.design.command.UpdateStoryActivationStatus in project InformationSystem by ObeoNetwork.

the class UserStoriesView method updateUserStoryHighlightment.

public void updateUserStoryHighlightment() {
    if (getSelectedStories().size() == 1) {
        UserStory currentStory = getSelectedStories().get(0);
        getEditingDomain().getCommandStack().execute(new UpdateStoryActivationStatus(activeAnalysis, currentStory));
        viewer.refresh();
    }
}
Also used : UpdateStoryActivationStatus(org.obeonetwork.graal.design.command.UpdateStoryActivationStatus) UserStory(org.obeonetwork.graal.UserStory)

Aggregations

UserStory (org.obeonetwork.graal.UserStory)1 UpdateStoryActivationStatus (org.obeonetwork.graal.design.command.UpdateStoryActivationStatus)1