diff options
author | mkersten | 2005-12-03 00:47:16 +0000 |
---|---|---|
committer | mkersten | 2005-12-03 00:47:16 +0000 |
commit | 79e3bb3f789bf96dc9ba3fc4ce880c9a760bd14a (patch) | |
tree | e6943650beed3dff31555cbaf086724d7a2548e0 /org.eclipse.mylyn.bugzilla.ui/src | |
parent | d1ccd31748e294cadd8c491d22128d1157f89ed0 (diff) | |
download | org.eclipse.mylyn.tasks-79e3bb3f789bf96dc9ba3fc4ce880c9a760bd14a.tar.gz org.eclipse.mylyn.tasks-79e3bb3f789bf96dc9ba3fc4ce880c9a760bd14a.tar.xz org.eclipse.mylyn.tasks-79e3bb3f789bf96dc9ba3fc4ce880c9a760bd14a.zip |
Progress on: Bug 118238: Bugzilla rare bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=118238
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui/src')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlinePage.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlinePage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlinePage.java index 44e388ec1..2d02867e7 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlinePage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlinePage.java @@ -20,6 +20,7 @@ import org.eclipse.mylar.bugzilla.core.BugzillaTools; import org.eclipse.mylar.bugzilla.core.IBugzillaReportSelection; import org.eclipse.mylar.bugzilla.ui.BugzillaImages; import org.eclipse.mylar.bugzilla.ui.editor.AbstractBugEditor; +import org.eclipse.mylar.core.MylarPlugin; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.ISelectionListener; @@ -101,9 +102,13 @@ public class BugzillaOutlinePage extends ContentOutlinePage{ return super.getText(element); } }); - viewer.setInput(topTreeNode); - viewer.setComparer(new BugzillaOutlineComparer()); - viewer.expandAll(); + try { + viewer.setInput(topTreeNode); + viewer.setComparer(new BugzillaOutlineComparer()); + viewer.expandAll(); + } catch (Exception e) { + MylarPlugin.fail(e, "could not create bugzilla outline", true); + } getSite().getPage().addSelectionListener(selectionListener); } |