Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshawn.f.cook2011-10-11 19:17:32 -0400
committerRoberto E. Escobar2011-10-11 19:17:32 -0400
commitca4e24846dff19dba7f528f7e2a2329e3ca4b7ba (patch)
tree22be8a70f800678bed0970780c2a739739d4ee9f /plugins/org.eclipse.osee.display.api/src
parent65c54aaf924d5b40198b4b962589853ba31ab4c9 (diff)
downloadorg.eclipse.osee-ca4e24846dff19dba7f528f7e2a2329e3ca4b7ba.tar.gz
org.eclipse.osee-ca4e24846dff19dba7f528f7e2a2329e3ca4b7ba.tar.xz
org.eclipse.osee-ca4e24846dff19dba7f528f7e2a2329e3ca4b7ba.zip
feature[ats_Q9NLC]: Add search result paging component
Diffstat (limited to 'plugins/org.eclipse.osee.display.api/src')
-rw-r--r--plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/components/PagingComponent.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/components/PagingComponent.java b/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/components/PagingComponent.java
new file mode 100644
index 00000000000..7e8e9404e56
--- /dev/null
+++ b/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/components/PagingComponent.java
@@ -0,0 +1,24 @@
+/*
+ * Created on Oct 11, 2011
+ *
+ * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
+ */
+package org.eclipse.osee.display.api.components;
+
+import java.util.Collection;
+
+public interface PagingComponent {
+ //How many items are in your collection? i.e. Collection<T>.size()
+ public void setManyItemsTotal(int manyItemsTotal);
+
+ public void gotoFirstPage();
+
+ public void gotoPrevPage();
+
+ public void gotoNextPage();
+
+ public void gotoLastPage();
+
+ public Collection<Integer> getCurrentVisibleItemIndices();
+
+}

Back to the top