Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-01 18:03:28 +0000
committerrelves2010-06-01 18:03:28 +0000
commit7d84b58f696fc02734d3e48b2416b3e340245054 (patch)
tree5862b1d3308efda872ba2b32a1f0c716e5573454 /org.eclipse.mylyn.bugzilla.ui
parentcf4559db07b4c99ef5b0e9fc09f231d7da45d9e5 (diff)
downloadorg.eclipse.mylyn.tasks-7d84b58f696fc02734d3e48b2416b3e340245054.tar.gz
org.eclipse.mylyn.tasks-7d84b58f696fc02734d3e48b2416b3e340245054.tar.xz
org.eclipse.mylyn.tasks-7d84b58f696fc02734d3e48b2416b3e340245054.zip
REOPENED - bug 302907: [api] support categorization in Task Repositories view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302907
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
index 1b89602a6..e31552b80 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
@@ -32,6 +32,7 @@ import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaStatus;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
import org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration;
+import org.eclipse.mylyn.internal.tasks.core.IRepositoryConstants;
import org.eclipse.mylyn.tasks.core.RepositoryStatus;
import org.eclipse.mylyn.tasks.core.RepositoryTemplate;
import org.eclipse.mylyn.tasks.core.TaskRepository;
@@ -265,9 +266,11 @@ public class BugzillaRepositorySettingsPage extends AbstractRepositorySettingsPa
defaultPlatformCombo.setEnabled(!autodetectPlatformOS.getSelection());
}
+ @SuppressWarnings( { "restriction" })
@Override
public void applyTo(TaskRepository repository) {
super.applyTo(repository);
+ repository.setProperty(IRepositoryConstants.PROPERTY_CATEGORY, IRepositoryConstants.CATEGORY_BUGS);
repository.setProperty(IBugzillaConstants.REPOSITORY_SETTING_SHORT_LOGIN,
String.valueOf(cleanQAContact.getSelection()));
repository.setProperty(IBugzillaConstants.BUGZILLA_LANGUAGE_SETTING, languageSettingCombo.getText());

Back to the top