Package com.art.anette.client.controller

Examples of com.art.anette.client.controller.TaskModel


     */
    private void treeTasksValueChanged(TreeSelectionEvent evt) {
        DataObject o = ProgressUtils.getSelectedObjectInTree(treeTasks);
        if (o != null) {
            if (o instanceof WorkPackage) {
                TaskModel model = logic.getTaskModel((WorkPackage) o);
                tblTaskList.setModel(model);
                tblTaskList.setRowSorter(model.getRowSorter());
                tblTaskList.getColumn(lang.getString("ColName")).setPreferredWidth(200);
                btnAddTask.setEnabled(((WorkPackage) o).hasEmployee(logic.getEmployee()));
                btnEditTask.setEnabled(false);
                btnDeleteTask.setEnabled(false);
                btnSelect.setEnabled(false);
View Full Code Here

TOP

Related Classes of com.art.anette.client.controller.TaskModel

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.