### Eclipse Workspace Patch 1.0 #P org.eclipse.mylyn.tasks.bugs Index: .settings/.api_filters =================================================================== RCS file: .settings/.api_filters diff -N .settings/.api_filters --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ .settings/.api_filters 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: META-INF/MANIFEST.MF =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/META-INF/MANIFEST.MF,v retrieving revision 1.16 diff -u -r1.16 MANIFEST.MF --- META-INF/MANIFEST.MF 3 Feb 2010 17:13:37 -0000 1.16 +++ META-INF/MANIFEST.MF 28 Feb 2010 22:51:06 -0000 @@ -15,10 +15,10 @@ Bundle-Vendor: %Bundle-Vendor Bundle-ClassPath: . Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Export-Package: org.eclipse.mylyn.internal.provisional.tasks.bugs, - org.eclipse.mylyn.internal.tasks.bugs;x-internal:=true, +Export-Package: org.eclipse.mylyn.internal.tasks.bugs;x-internal:=true, org.eclipse.mylyn.internal.tasks.bugs.actions;x-internal:=true, - org.eclipse.mylyn.internal.tasks.bugs.wizards;x-internal:=true + org.eclipse.mylyn.internal.tasks.bugs.wizards;x-internal:=true, + org.eclipse.mylyn.tasks.bugs Bundle-Localization: plugin Bundle-ActivationPolicy: lazy Bundle-Activator: org.eclipse.mylyn.internal.tasks.bugs.TasksBugsPlugin Index: plugin.xml =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/plugin.xml,v retrieving revision 1.15 diff -u -r1.15 plugin.xml --- plugin.xml 24 Jul 2009 12:03:49 -0000 1.15 +++ plugin.xml 28 Feb 2010 22:51:06 -0000 @@ -11,9 +11,7 @@ --> - - - - - - - - - - Extension point for mapping plug-in ids to task repositories. Deprecated and no longer used since 3.2. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3.0 - - - - - - - - - - - - Copyright (c) 2009 Tasktop Technologies and others. -All rights reserved. This program and the accompanying materials -are made available under the terms of the Eclipse Public License v1.0 -which accompanies this distribution, and is available at -http://www.eclipse.org/legal/epl-v10.html - - - - Index: schema/support.exsd =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/schema/support.exsd,v retrieving revision 1.6 diff -u -r1.6 support.exsd --- schema/support.exsd 9 Nov 2009 13:58:06 -0000 1.6 +++ schema/support.exsd 28 Feb 2010 22:51:06 -0000 @@ -13,7 +13,7 @@ - + @@ -301,7 +301,7 @@ - + @@ -313,7 +313,7 @@ - 3.2 + 3.4 Index: schema/taskContributors.exsd =================================================================== RCS file: schema/taskContributors.exsd diff -N schema/taskContributors.exsd --- schema/taskContributors.exsd 9 Nov 2009 13:58:06 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,97 +0,0 @@ - - - - - - - - - Extension point for mapping plug-in ids to task properties Deprecated and no longer used since 3.2. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3.0 - - - - - - - - - - - - Copyright (c) 2009 Tasktop Technologies and others. -All rights reserved. This program and the accompanying materials -are made available under the terms of the Eclipse Public License v1.0 -which accompanies this distribution, and is available at -http://www.eclipse.org/legal/epl-v10.html - - - - Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractSupportHandler.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractSupportHandler.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractSupportHandler.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractSupportHandler.java 24 Jul 2009 12:03:49 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -import org.eclipse.core.runtime.IProgressMonitor; - -/** - * @author Steffen Pingel - * @since 3.2 - */ -public class AbstractSupportHandler { - - /** - * @since 3.2 - */ - public void preProcess(ISupportRequest request) { - } - - /** - * @since 3.2 - */ - public void process(ITaskContribution contribution, IProgressMonitor monitor) { - } - - /** - * @since 3.2 - */ - public void postProcess(ISupportResponse response, IProgressMonitor monitor) { - } - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractTaskContributor.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractTaskContributor.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractTaskContributor.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/AbstractTaskContributor.java 24 Jul 2009 12:03:49 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,69 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -import java.util.Map; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.mylyn.tasks.core.data.TaskData; -import org.eclipse.mylyn.tasks.ui.editors.TaskEditorInput; - -/** - * @author Steffen Pingel - * @since 3.0 - * @deprecated use {@link AbstractSupportHandler} instead, as of 3.2 all taskContributor extensions are ignored - */ -@Deprecated -public abstract class AbstractTaskContributor { - - /** - * @since 3.2 - */ - public void preProcess(ISupportRequest request) { - } - - /** - * @since 3.0 - */ - public abstract Map getAttributes(IStatus status); - - /** - * Returns the id of an editor that should be used to open the {@link TaskEditorInput} with the task. - * - * @param status - * the status - * @return id of editor - * @since 3.0 - */ - public String getEditorId(IStatus status) { - return null; - } - - /** - * @since 3.2 - */ - public void process(ITaskContribution contribution) { - } - - /** - * @since 3.0 - */ - public void postProcess(IStatus status, TaskData taskData) { - } - - /** - * @since 3.2 - */ - public void postProcess(ISupportResponse response) { - } - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProduct.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProduct.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProduct.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProduct.java 24 Jul 2009 12:03:49 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -/** - * @author Steffen Pingel - * @since 3.2 - * @noextend This interface is not intended to be extended by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface IProduct { - - public abstract String getName(); - - public abstract String getDescription(); - - public abstract String getId(); - - public abstract IProvider getProvider(); - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProvider.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProvider.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProvider.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/IProvider.java 24 Jul 2009 12:03:49 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -/** - * @author Steffen Pingel - * @since 3.2 - * @noextend This interface is not intended to be extended by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface IProvider { - - public abstract String getName(); - - public abstract String getDescription(); - - public abstract String getId(); - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportRequest.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportRequest.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportRequest.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportRequest.java 24 Jul 2009 12:03:49 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -import org.eclipse.core.runtime.IStatus; - -/** - * @author Steffen Pingel - * @since 3.2 - * @noextend This interface is not intended to be extended by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface ISupportRequest { - - public ITaskContribution getOrCreateContribution(IProduct product); - - public ITaskContribution getDefaultContribution(); - - public IStatus getStatus(); - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportResponse.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportResponse.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportResponse.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ISupportResponse.java 24 Jul 2009 12:03:49 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.mylyn.tasks.core.data.TaskData; - -/** - * @author Steffen Pingel - * @since 3.2 - * @noextend This interface is not intended to be extended by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface ISupportResponse { - - public IProduct getProduct(); - - public IStatus getStatus(); - - public TaskData getTaskData(); - -} Index: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ITaskContribution.java =================================================================== RCS file: src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ITaskContribution.java diff -N src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ITaskContribution.java --- src/org/eclipse/mylyn/internal/provisional/tasks/bugs/ITaskContribution.java 24 Jul 2009 12:03:49 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2009 Tasktop Technologies and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tasktop Technologies - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.provisional.tasks.bugs; - -import org.eclipse.core.runtime.IStatus; - -/** - * @author Steffen Pingel - * @since 3.2 - * @noextend This interface is not intended to be extended by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface ITaskContribution { - - /** - * Appends text to the description of the task. - */ - public abstract void appendToDescription(String text); - - public abstract String getAttribute(String name); - - public abstract IProduct getProduct(); - - public abstract IStatus getStatus(); - - public abstract boolean isHandled(); - - public abstract void setAttribute(String name, String value); - - public abstract void setHandled(boolean handled); - -} Index: src/org/eclipse/mylyn/internal/tasks/bugs/AttributeTaskMapper.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/AttributeTaskMapper.java,v retrieving revision 1.19 diff -u -r1.19 AttributeTaskMapper.java --- src/org/eclipse/mylyn/internal/tasks/bugs/AttributeTaskMapper.java 24 Jul 2009 12:03:49 -0000 1.19 +++ src/org/eclipse/mylyn/internal/tasks/bugs/AttributeTaskMapper.java 28 Feb 2010 22:51:06 -0000 @@ -18,10 +18,10 @@ import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ISupportResponse; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.ISupportResponse; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.tasks.core.ITaskMapping; import org.eclipse.mylyn.tasks.core.TaskRepository; import org.eclipse.mylyn.tasks.core.data.TaskData; Index: src/org/eclipse/mylyn/internal/tasks/bugs/DefaultSupportHandler.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/DefaultSupportHandler.java,v retrieving revision 1.4 diff -u -r1.4 DefaultSupportHandler.java --- src/org/eclipse/mylyn/internal/tasks/bugs/DefaultSupportHandler.java 20 Nov 2009 21:15:47 -0000 1.4 +++ src/org/eclipse/mylyn/internal/tasks/bugs/DefaultSupportHandler.java 28 Feb 2010 22:51:06 -0000 @@ -21,12 +21,12 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.AbstractSupportHandler; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ISupportRequest; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ISupportResponse; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.internal.tasks.bugs.wizards.ErrorLogStatus; import org.eclipse.mylyn.internal.tasks.bugs.wizards.ProductStatus; +import org.eclipse.mylyn.tasks.bugs.AbstractSupportHandler; +import org.eclipse.mylyn.tasks.bugs.ISupportRequest; +import org.eclipse.mylyn.tasks.bugs.ISupportResponse; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector; import org.eclipse.mylyn.tasks.core.ITaskMapping; import org.eclipse.mylyn.tasks.core.TaskMapping; Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportCategory.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportCategory.java,v retrieving revision 1.4 diff -u -r1.4 SupportCategory.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportCategory.java 24 Jul 2009 12:03:49 -0000 1.4 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportCategory.java 28 Feb 2010 22:51:06 -0000 @@ -15,7 +15,7 @@ import java.util.Collections; import java.util.List; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; +import org.eclipse.mylyn.tasks.bugs.IProvider; public class SupportCategory extends AbstractSupportElement { Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportHandlerManager.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportHandlerManager.java,v retrieving revision 1.3 diff -u -r1.3 SupportHandlerManager.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportHandlerManager.java 24 Jul 2009 12:03:49 -0000 1.3 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportHandlerManager.java 28 Feb 2010 22:51:06 -0000 @@ -25,9 +25,9 @@ import org.eclipse.core.runtime.SafeRunner; import org.eclipse.core.runtime.Status; import org.eclipse.mylyn.commons.core.StatusHandler; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.AbstractSupportHandler; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ISupportResponse; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; +import org.eclipse.mylyn.tasks.bugs.AbstractSupportHandler; +import org.eclipse.mylyn.tasks.bugs.ISupportResponse; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; /** * @author Steffen Pingel Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportProduct.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportProduct.java,v retrieving revision 1.4 diff -u -r1.4 SupportProduct.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportProduct.java 24 Jul 2009 12:03:49 -0000 1.4 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportProduct.java 28 Feb 2010 22:51:06 -0000 @@ -16,8 +16,8 @@ import java.util.TreeMap; import org.eclipse.core.runtime.IBundleGroup; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.IProvider; /** * @author Steffen Pingel Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportProvider.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportProvider.java,v retrieving revision 1.4 diff -u -r1.4 SupportProvider.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportProvider.java 24 Jul 2009 12:03:49 -0000 1.4 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportProvider.java 28 Feb 2010 22:51:06 -0000 @@ -14,8 +14,8 @@ import java.util.ArrayList; import java.util.List; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.IProvider; /** * @author Steffen Pingel Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportProviderManager.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportProviderManager.java,v retrieving revision 1.6 diff -u -r1.6 SupportProviderManager.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportProviderManager.java 18 Nov 2009 21:16:31 -0000 1.6 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportProviderManager.java 28 Feb 2010 22:51:06 -0000 @@ -31,7 +31,7 @@ import org.eclipse.core.runtime.Status; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.mylyn.commons.core.StatusHandler; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; +import org.eclipse.mylyn.tasks.bugs.IProvider; import org.eclipse.osgi.util.NLS; import org.eclipse.ui.branding.IBundleGroupConstants; import org.eclipse.ui.plugin.AbstractUIPlugin; Index: src/org/eclipse/mylyn/internal/tasks/bugs/SupportRequest.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/SupportRequest.java,v retrieving revision 1.3 diff -u -r1.3 SupportRequest.java --- src/org/eclipse/mylyn/internal/tasks/bugs/SupportRequest.java 24 Jul 2009 12:03:49 -0000 1.3 +++ src/org/eclipse/mylyn/internal/tasks/bugs/SupportRequest.java 28 Feb 2010 22:51:06 -0000 @@ -18,9 +18,9 @@ import java.util.Map; import org.eclipse.core.runtime.IStatus; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ISupportRequest; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.ISupportRequest; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; /** * @author Steffen Pingel Index: src/org/eclipse/mylyn/internal/tasks/bugs/TaskErrorReporter.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/TaskErrorReporter.java,v retrieving revision 1.22 diff -u -r1.22 TaskErrorReporter.java --- src/org/eclipse/mylyn/internal/tasks/bugs/TaskErrorReporter.java 24 Jul 2009 12:03:49 -0000 1.22 +++ src/org/eclipse/mylyn/internal/tasks/bugs/TaskErrorReporter.java 28 Feb 2010 22:51:06 -0000 @@ -23,10 +23,10 @@ import org.eclipse.mylyn.internal.provisional.commons.ui.CommonUiUtil; import org.eclipse.mylyn.internal.provisional.commons.ui.ICoreRunnable; import org.eclipse.mylyn.internal.provisional.commons.ui.WorkbenchUtil; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.internal.tasks.bugs.wizards.ReportErrorWizard; import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.tasks.core.data.TaskData; import org.eclipse.swt.widgets.Display; Index: src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ProductStatus.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ProductStatus.java,v retrieving revision 1.2 diff -u -r1.2 ProductStatus.java --- src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ProductStatus.java 24 Jul 2009 12:03:49 -0000 1.2 +++ src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ProductStatus.java 28 Feb 2010 22:51:06 -0000 @@ -13,7 +13,7 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.IProduct; /** * @author Steffen Pingel Index: src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportBugOrEnhancementWizard.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportBugOrEnhancementWizard.java,v retrieving revision 1.15 diff -u -r1.15 ReportBugOrEnhancementWizard.java --- src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportBugOrEnhancementWizard.java 11 Aug 2009 23:32:58 -0000 1.15 +++ src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportBugOrEnhancementWizard.java 28 Feb 2010 22:51:06 -0000 @@ -21,8 +21,6 @@ import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.wizard.IWizardPage; import org.eclipse.jface.wizard.Wizard; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; import org.eclipse.mylyn.internal.tasks.bugs.AbstractSupportElement; import org.eclipse.mylyn.internal.tasks.bugs.AttributeTaskMapper; import org.eclipse.mylyn.internal.tasks.bugs.SupportCategory; @@ -33,6 +31,8 @@ import org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter; import org.eclipse.mylyn.internal.tasks.bugs.TasksBugsPlugin; import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.IProvider; import org.eclipse.mylyn.tasks.ui.TasksUiImages; /** Index: src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportErrorPage.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportErrorPage.java,v retrieving revision 1.15 diff -u -r1.15 ReportErrorPage.java --- src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportErrorPage.java 24 Jul 2009 12:03:49 -0000 1.15 +++ src/org/eclipse/mylyn/internal/tasks/bugs/wizards/ReportErrorPage.java 28 Feb 2010 22:51:06 -0000 @@ -19,10 +19,10 @@ import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.jface.wizard.WizardPage; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProduct; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.ITaskContribution; import org.eclipse.mylyn.internal.tasks.bugs.AttributeTaskMapper; import org.eclipse.mylyn.internal.tasks.bugs.SupportRequest; +import org.eclipse.mylyn.tasks.bugs.IProduct; +import org.eclipse.mylyn.tasks.bugs.ITaskContribution; import org.eclipse.osgi.util.NLS; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; Index: src/org/eclipse/mylyn/internal/tasks/bugs/wizards/SelectSupportElementPage.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.bugs/src/org/eclipse/mylyn/internal/tasks/bugs/wizards/SelectSupportElementPage.java,v retrieving revision 1.10 diff -u -r1.10 SelectSupportElementPage.java --- src/org/eclipse/mylyn/internal/tasks/bugs/wizards/SelectSupportElementPage.java 11 Aug 2009 23:32:58 -0000 1.10 +++ src/org/eclipse/mylyn/internal/tasks/bugs/wizards/SelectSupportElementPage.java 28 Feb 2010 22:51:06 -0000 @@ -35,11 +35,11 @@ import org.eclipse.mylyn.internal.provisional.commons.ui.CommonThemes; import org.eclipse.mylyn.internal.provisional.commons.ui.GradientCanvas; import org.eclipse.mylyn.internal.provisional.commons.ui.WorkbenchUtil; -import org.eclipse.mylyn.internal.provisional.tasks.bugs.IProvider; import org.eclipse.mylyn.internal.tasks.bugs.AbstractSupportElement; import org.eclipse.mylyn.internal.tasks.bugs.SupportCategory; import org.eclipse.mylyn.internal.tasks.bugs.SupportProduct; import org.eclipse.mylyn.internal.tasks.bugs.SupportProvider; +import org.eclipse.mylyn.tasks.bugs.IProvider; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Image; Index: src/org/eclipse/mylyn/tasks/bugs/AbstractSupportHandler.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/AbstractSupportHandler.java diff -N src/org/eclipse/mylyn/tasks/bugs/AbstractSupportHandler.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/AbstractSupportHandler.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +import org.eclipse.core.runtime.IProgressMonitor; + +/** + * @author Steffen Pingel + * @since 3.4 + */ +public class AbstractSupportHandler { + + /** + * @since 3.4 + */ + public void preProcess(ISupportRequest request) { + } + + /** + * @since 3.4 + */ + public void process(ITaskContribution contribution, IProgressMonitor monitor) { + } + + /** + * @since 3.4 + */ + public void postProcess(ISupportResponse response, IProgressMonitor monitor) { + } + +} Index: src/org/eclipse/mylyn/tasks/bugs/IProduct.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/IProduct.java diff -N src/org/eclipse/mylyn/tasks/bugs/IProduct.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/IProduct.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +/** + * @author Steffen Pingel + * @since 3.4 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface IProduct { + + public abstract String getName(); + + public abstract String getDescription(); + + public abstract String getId(); + + public abstract IProvider getProvider(); + +} Index: src/org/eclipse/mylyn/tasks/bugs/IProvider.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/IProvider.java diff -N src/org/eclipse/mylyn/tasks/bugs/IProvider.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/IProvider.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +/** + * @author Steffen Pingel + * @since 3.4 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface IProvider { + + public abstract String getName(); + + public abstract String getDescription(); + + public abstract String getId(); + +} Index: src/org/eclipse/mylyn/tasks/bugs/ISupportRequest.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/ISupportRequest.java diff -N src/org/eclipse/mylyn/tasks/bugs/ISupportRequest.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/ISupportRequest.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +import org.eclipse.core.runtime.IStatus; + +/** + * @author Steffen Pingel + * @since 3.4 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface ISupportRequest { + + public ITaskContribution getOrCreateContribution(IProduct product); + + public ITaskContribution getDefaultContribution(); + + public IStatus getStatus(); + +} Index: src/org/eclipse/mylyn/tasks/bugs/ISupportResponse.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/ISupportResponse.java diff -N src/org/eclipse/mylyn/tasks/bugs/ISupportResponse.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/ISupportResponse.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.mylyn.tasks.core.data.TaskData; + +/** + * @author Steffen Pingel + * @since 3.4 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface ISupportResponse { + + public IProduct getProduct(); + + public IStatus getStatus(); + + public TaskData getTaskData(); + +} Index: src/org/eclipse/mylyn/tasks/bugs/ITaskContribution.java =================================================================== RCS file: src/org/eclipse/mylyn/tasks/bugs/ITaskContribution.java diff -N src/org/eclipse/mylyn/tasks/bugs/ITaskContribution.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/mylyn/tasks/bugs/ITaskContribution.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 Tasktop Technologies and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Tasktop Technologies - initial API and implementation + *******************************************************************************/ + +package org.eclipse.mylyn.tasks.bugs; + +import org.eclipse.core.runtime.IStatus; + +/** + * @author Steffen Pingel + * @since 3.4 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface ITaskContribution { + + /** + * Appends text to the description of the task. + */ + public abstract void appendToDescription(String text); + + public abstract String getAttribute(String name); + + public abstract IProduct getProduct(); + + public abstract IStatus getStatus(); + + public abstract boolean isHandled(); + + public abstract void setAttribute(String name, String value); + + public abstract void setHandled(boolean handled); + +}