22 lines
1.1 KiB
Java
22 lines
1.1 KiB
Java
|
|
/*
|
||
|
|
* Copyright (c) 2005,2007 Declarative Engineering LLC.
|
||
|
|
* All rights reserved. This program and the accompanying materials
|
||
|
|
* are made available under the terms of the Declarative Engineering LLC
|
||
|
|
* verson 1 which accompanies this distribution, and is available at
|
||
|
|
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
||
|
|
*/
|
||
|
|
package com.foundation.util;
|
||
|
|
|
||
|
|
import com.common.util.IIndexedCollection;
|
||
|
|
import com.foundation.metadata.Event;
|
||
|
|
|
||
|
|
public interface IManagedIndexedCollection extends IIndexedCollection, IManagedCollection, IInlineIndexedCollectionObservable {
|
||
|
|
/**
|
||
|
|
* The event fired by the indexed collection when it is sorted. This can be listened to by other objects in the system to receive basic sort notification.
|
||
|
|
* <p>
|
||
|
|
* <ul> Parameters:
|
||
|
|
* <li> <code>int[]</code> A mapping of new positions to old positions. The index is the new position and the value is the old position.</li>
|
||
|
|
* </ul>
|
||
|
|
*/
|
||
|
|
public static final Event SORT_EVENT = com.foundation.metadata.MetadataService.getSingleton().addEvent(IManagedIndexedCollection.class, "collectionSorted");
|
||
|
|
}//IManagedIndexedCollection//
|