Examples of NewTaskEditorInput


Examples of org.eclipse.mylyn.tasks.ui.editors.NewTaskEditorInput

    JtracRepositoryConnector connector = JtracPlugin.getDefault().getConnector();
    JtracTaskDataHandler taskDataHandler = (JtracTaskDataHandler) connector.getTaskDataHandler();
    RepositoryTaskData repositoryTaskData = new RepositoryTaskData(taskDataHandler.getAttributeFactory(),
        JtracRepositoryConnector.REPO_TYPE, taskRepository.getUrl(),
        TasksUiPlugin.getDefault().getNextNewRepositoryTaskId());
    NewTaskEditorInput editorInput = new NewTaskEditorInput(taskRepository, repositoryTaskData);
    IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
    TasksUiUtil.openEditor(editorInput, TaskEditor.ID_EDITOR, page);
    return true;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.