LimitingResourceQueueElement oldElement) {
try {
Task task = oldElement.getTask();
EditTaskController editTaskController = getEditController(editTaskWindow);
editTaskController.showEditFormResourceAllocationFromLimitingResources(task);
// New resource allocation or resource allocation modified ?
if (editTaskController.getStatus() == Messagebox.OK) {
// Update resource allocation for element
LimitingResourceQueueElement newElement = copyFrom(oldElement,
getQueueElementFrom(task));