ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / provider / ISDAdvancedPagingProvider.java
CommitLineData
73005152 1/**********************************************************************
57a2a5ca 2 * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
73005152
BH
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
c8422608
AM
7 *
8 * Contributors:
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
73005152 11 **********************************************************************/
c8422608 12
73005152
BH
13package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
14
15/**
df0b8ff4 16 * Interface for providing an extended find provider.
c8422608 17 *
73005152
BH
18 * An advanced paging provider is able to compute number of pages, and to display the number of items it treats on each
19 * page and for total counts.<br>
20 * An item can be a message, a node or anything meaningful from loader standpoint.<br>
21 * Items are only here for information to the user.
c8422608
AM
22 *
23 * @version 1.0
df0b8ff4 24 * @author sveyrier
73005152
BH
25 */
26public interface ISDAdvancedPagingProvider extends ISDPagingProvider {
27
28 /**
df0b8ff4 29 * Returns the current page.
c8422608 30 *
df0b8ff4 31 * @return the current page the loader is dealing with. <b>Note</b> that first page has the 0 index (indexes are from
73005152
BH
32 * 0 to pagesCount()-1).
33 */
57a2a5ca 34 int currentPage();
73005152
BH
35
36 /**
df0b8ff4 37 * Returns the number of pages.
c8422608 38 *
73005152
BH
39 * @return number of pages the loader is dealing with
40 */
57a2a5ca 41 int pagesCount();
73005152
BH
42
43 /**
44 * Instructs a load of the &lt;pageNumber_&gt;<i>th</i> page.<br>
df0b8ff4 45 * <b>Note</b> that first page has the index 0 (indexes are from 0 to pagesCount()-1).
c8422608 46 *
eb63f5ff 47 * @param pageNumber index of the page to load
73005152 48 */
57a2a5ca 49 void pageNumberChanged(int pageNumber);
73005152
BH
50
51}
This page took 0.053917 seconds and 5 git commands to generate.