diff options
author | relves | 2008-12-12 23:25:58 +0000 |
---|---|---|
committer | relves | 2008-12-12 23:25:58 +0000 |
commit | 117c3fe32442b5e354fde49317906900ff548b65 (patch) | |
tree | d0bd0eadd2289dc484387a38b2f6cc20e1950407 /org.eclipse.mylyn.bugzilla.ui | |
parent | 1faecfd359e3702fea8882570e99d2f3750f1b05 (diff) | |
download | org.eclipse.mylyn.tasks-117c3fe32442b5e354fde49317906900ff548b65.tar.gz org.eclipse.mylyn.tasks-117c3fe32442b5e354fde49317906900ff548b65.tar.xz org.eclipse.mylyn.tasks-117c3fe32442b5e354fde49317906900ff548b65.zip |
ASSIGNED - bug 186265: add support for Bugzilla flags
https://bugs.eclipse.org/bugs/show_bug.cgi?id=186265
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java index 17a15298f..e1d808447 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java @@ -61,13 +61,13 @@ public class BugzillaTaskAttachmentPage extends TaskAttachmentPage { @Override public void createControl(Composite parent) { super.createControl(parent); - RepositoryConfiguration configuration = BugzillaCorePlugin.getRepositoryConfiguration(model.getTaskRepository() + RepositoryConfiguration configuration = BugzillaCorePlugin.getRepositoryConfiguration(getModel().getTaskRepository() .getRepositoryUrl()); if (configuration != null) { List<BugzillaFlag> flags = configuration.getFlags(); - TaskAttribute productAttribute = model.getAttribute().getTaskData().getRoot().getMappedAttribute( + TaskAttribute productAttribute = getModel().getAttribute().getTaskData().getRoot().getMappedAttribute( BugzillaAttribute.PRODUCT.getKey()); - TaskAttribute componentAttribute = model.getAttribute().getTaskData().getRoot().getMappedAttribute( + TaskAttribute componentAttribute = getModel().getAttribute().getTaskData().getRoot().getMappedAttribute( BugzillaAttribute.COMPONENT.getKey()); Control[] children = parent.getChildren(); Composite pageComposite = (Composite) children[children.length - 1]; @@ -89,7 +89,7 @@ public class BugzillaTaskAttachmentPage extends TaskAttachmentPage { mapper.setState(" "); mapper.setFlagId(bugzillaFlag.getName()); mapper.setNumber(0); - final TaskAttribute attribute = model.getAttribute().createAttribute( + final TaskAttribute attribute = getModel().getAttribute().createAttribute( "task.common.kind.flag_type" + bugzillaFlag.getFlagId()); mapper.applyTo(attribute); |