Package net.sourceforge.ganttproject.action

Examples of net.sourceforge.ganttproject.action.NewTaskAction


        rootNode = new TaskNode(getTaskManager().getRootTask());
    }

    public Action[] getPopupMenuActions() {
        List actions = new ArrayList();
        actions.add(new NewTaskAction((IGanttProject) appli));
        if (!Mediator.getTaskSelectionManager().getSelectedTasks().isEmpty()) {
            actions.add(getTaskPropertiesAction());
            // }
            actions.add(createMenuAction(GanttProject.correctLabel(language
                    .getText("deleteTask")), "/icons/delete_16.gif"));
View Full Code Here


        //miPaste = new JMenuItem(myPasteAction);
        mEdit.add(getViewManager().getPasteAction());
        mEdit.addSeparator();
        miOptions = createNewItem("/icons/settings_16.gif");
        mEdit.add(miOptions);
        myNewTaskAction = new NewTaskAction((IGanttProject) this);
        mTask.add(myNewTaskAction);
        miDeleteTask = createNewItem("/icons/delete_16.gif");
        mTask.add(miDeleteTask);
        myTaskPropertiesAction = new TaskPropertiesAction(getProject(), Mediator.getTaskSelectionManager(), getUIFacade());
        mTask.add(myTaskPropertiesAction);
View Full Code Here

TOP

Related Classes of net.sourceforge.ganttproject.action.NewTaskAction

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.