Package net.sourceforge.ganttproject

Examples of net.sourceforge.ganttproject.GanttTask


        // todo REMOVE TASK FROM TASKHIERARCHY
        // fireTaskRemoved(tasktoRemove,myTaskContainment.getContainer(tasktoRemove));
    }

    public GanttTask createTask() {
        GanttTask result = createTask(-1);
        return result;
    }
View Full Code Here


     * (non-Javadoc)
     *
     * @see net.sourceforge.ganttproject.task.TaskManager#createTask(int)
     */
    public GanttTask createTask(int taskID) {
        GanttTask result = new GanttTask("", new GanttCalendar(), 1, this,
                taskID);
        if (result.getTaskID() >= getMaxID()) {
            setMaxID(result.getTaskID() + 1);
        }
        // result.setTaskID(taskID);
        // getTaskHierarchy().move(result, getRootTask());
        // result.move(getRootTask());
        fireTaskAdded(result);
View Full Code Here

TOP

Related Classes of net.sourceforge.ganttproject.GanttTask

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.