1 /*
2 Wotonomy: OpenStep design patterns for pure Java applications.
3 Copyright (C) 2001 Intersect Software Corporation
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, see http://www.gnu.org
17 */
18
19 package net.wotonomy.control;
20
21 /***
22 * A simple extension of EODataSource that
23 * allows for indexed insertion. The wotonomy
24 * implementation of EODisplayGroup supports
25 * this and will use it if possible. This is
26 * useful for classes like the PropertyDataSource,
27 * where the ordering of items in an indexed
28 * property may be important.
29 *
30 * @author michael@mpowers.net
31 * @author $Author: cgruber $
32 * @version $Revision: 893 $
33 */
34 public abstract class OrderedDataSource extends EODataSource
35 {
36 /***
37 * Inserts the specified object into this data source,
38 * at the specified index.
39 */
40 public abstract void insertObjectAtIndex (
41 Object anObject, int anIndex );
42 }
43
44 /*
45 * $Log$
46 * Revision 1.1 2006/02/16 13:19:57 cgruber
47 * Check in all sources in eclipse-friendly maven-enabled packages.
48 *
49 * Revision 1.2 2003/08/06 23:07:52 chochos
50 * general code cleanup (mostly, removing unused imports)
51 *
52 * Revision 1.1 2001/01/24 14:10:53 mpowers
53 * Contributing OrderedDataSource, and PropertyDataSource extends it.
54 *
55 *
56 */
57