I'm trying to get away from using internals but I can't find the API equivalent for many things.
I need to do a 2 main things programmatically: 1. Create a TaskList that shows up on the Mylyn TaskList UI 2. Create/Modify Tasks on a Bugzilla server. Any help on showing me the API equivalent of the below internals would be very helpful: //BugzillaRepositoryConnector is internal BugzillaRepositoryConnector connector; //TasksUiPlugin.getDefault() is internal TasksUiPlugin.getDefault().getPreferenceStore().setValue( ITasksUiPreferenceConstants.REPOSITORY_SYNCH_SCHEDULE_ENABLED, false); //TasksUiPlugin.getRepositoryManager() is internal manager = TasksUiPlugin.getRepositoryManager(); //internal manager.addRepository(repository); TaskList taskList = TasksUiPlugin.getTaskList(); // manager.getRepositoryConnector is internal AbstractRepositoryConnector abstractRepositoryClient = manager.getRepositoryConnector(BugzillaCorePlugin.CONNECTOR_KIND); //BugzillaRepositoryConnector is internal connector = (BugzillaRepositoryConnector) abstractRepositoryClient; //connector.getTaskData() is internal connector.getTaskData(repository, existingTaskId, new NullProgressMonitor()); //how to create a task w/o using internals? TasksUiInternal.createTaskData(repository, taskMappingInit, taskMappingSelect, null); //TaskCategory is internal TaskCategory taskCategory = new TaskCategory(taskCategoryName); //all internal connector.getTaskDataHandler().initializeTaskData(repository, taskDataNew[0], new DefaultTaskMapping(), new NullProgressMonitor()); _______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
