Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-10-06 21:17:19 -0400
committerSteffen Pingel2013-10-06 21:32:08 -0400
commit4558d8ca922949d8e58694b57f677f50073e373c (patch)
tree7acb19aefbbbb58ca381275d2e51172c592c3268 /org.eclipse.mylyn.tasks.ui
parent090668cf664d9d21ef51040852e8d80bf7aaacac (diff)
downloadorg.eclipse.mylyn.tasks-4558d8ca922949d8e58694b57f677f50073e373c.tar.gz
org.eclipse.mylyn.tasks-4558d8ca922949d8e58694b57f677f50073e373c.tar.xz
org.eclipse.mylyn.tasks-4558d8ca922949d8e58694b57f677f50073e373c.zip
418758: [api] allow reflowing the query page dynamically
Change-Id: I042d067cda215cb58993f86d10897d51c6d949db Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418758
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
index 7efb6a3e2..6e5eb8483 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
@@ -447,4 +447,15 @@ public abstract class AbstractRepositoryQueryPage2 extends AbstractRepositoryQue
protected abstract boolean restoreState(@NonNull IRepositoryQuery query);
+ /**
+ * Reflows the page and resizes the shell as necessary. Clients should invoke this if the content of the page is
+ * changed dynamically.
+ *
+ * @see SectionComposite#resizeAndReflow()
+ * @since 3.10
+ */
+ public void reflow() {
+ innerComposite.resizeAndReflow();
+ }
+
}

Back to the top