KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > internal > viewers > IIndexMappingDiff


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
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
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  ******************************************************************************/

11
12 package org.eclipse.jface.internal.databinding.internal.viewers;
13
14 /**
15  * @since 1.0
16  *
17  */

18 public interface IIndexMappingDiff {
19     
20     /**
21      * @return an array of indices for which the function value has changed
22      */

23     public int[] getIndices();
24     
25     /**
26      * @param index
27      * @return the old value of the function at the given index
28      */

29     public Object JavaDoc getOldMappingValue(int index);
30
31     /**
32      * @param index
33      * @return the new value of the function at the given index
34      */

35     public Object JavaDoc getNewMappingValue(int index);
36
37 }
38
Popular Tags