protected void run(List/*<Task>*/ selection) throws Exception {
if (selection.size()!=1) {
return;
}
final GanttTask[] tasks = new GanttTask[] {(GanttTask)selection.get(0)};
GanttDialogProperties pd = new GanttDialogProperties(tasks);
mySelectionManager.setUserInputConsumer(pd);
pd.show(myProject, getUIFacade());
if (pd.change) {
myProject.setModified(true);
// setRowHeight(rowHeight);
// getResourcePanel().getResourceTreeTableModel()
// .updateResources();