Package com.art.anette.client.ui.forms

Examples of com.art.anette.client.ui.forms.EditWorkPackageDialog


     * @param evt Wird nicht verwendet.
     */
    private void btnEditWorkPackageActionPerformed(ActionEvent evt) {//GEN-FIRST:event_btnEditWorkPackageActionPerformed
        WorkPackage wp = gantt.getSelectedWorkPackage();
        if (wp != null && logic.getEmployee().isAllowedToEdit(wp)) {
            new EditWorkPackageDialog(logic, wp.getEmployees(), wp, false, wp.getParent()).setVisible(true);
        }
    }//GEN-LAST:event_btnEditWorkPackageActionPerformed
View Full Code Here


     *
     * @param evt Wird nicht verwendet.
     */
    private void btnAddWorkPackageActionPerformed(ActionEvent evt) {//GEN-FIRST:event_btnAddWorkPackageActionPerformed
        if (logic.getEmployee().isAllowedToEdit(dataObject)) {
            new EditWorkPackageDialog(logic, ((Project) dataObject).getEmployees(), logic.getDBControl().createWorkPackage((Project) dataObject), true, (Project) dataObject).setVisible(true);
        }
    }//GEN-LAST:event_btnAddWorkPackageActionPerformed
View Full Code Here

TOP

Related Classes of com.art.anette.client.ui.forms.EditWorkPackageDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.