*/
private void btnLinkWorkPackageActionPerformed(ActionEvent evt) {//GEN-FIRST:event_btnLinkWorkPackageActionPerformed
WorkPackage wp = gantt.getSelectedWorkPackage();
//TODO Fix really edit and not add check?
if (wp != null && logic.getEmployee().isAllowedToEdit(wp)) {
new LinkWorkPackageDialog(logic, wp).setVisible(true);
}
}//GEN-LAST:event_btnLinkWorkPackageActionPerformed