Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D45EECDD1 for ; Wed, 12 Mar 2014 19:25:33 +0000 (UTC) Received: (qmail 5244 invoked by uid 500); 12 Mar 2014 19:25:28 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 5012 invoked by uid 500); 12 Mar 2014 19:25:09 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 4726 invoked by uid 99); 12 Mar 2014 19:25:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 19:25:00 +0000 Date: Wed, 12 Mar 2014 19:24:59 +0000 (UTC) From: "Gary Yang (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-34140) Add oldValue property to Collection event( CollectionEventKind.REFRESH/CollectionEventKind.RESET ) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gary Yang created FLEX-34140: -------------------------------- Summary: Add oldValue property to Collection event( CollectionEventKind.REFRESH/CollectionEventKind.RESET ) Key: FLEX-34140 URL: https://issues.apache.org/jira/browse/FLEX-34140 Project: Apache Flex Issue Type: Task Components: Collections Reporter: Gary Yang For a CollectionEvent, when event kind is CollectionEventKind.Add REPLACE REMOVE MOVE UPDATE it is revertable, because for ADD/REMOVE, developers can call REMOVE/ADD, for MOVE, there's a oldLocation; for REPLACE: the items are PropertyChangeEvent which has oldValue. but for CollectionEventKind.REFRESH and RESET, it is NOT revertable!!! If Flex can add a new oldValue or oldList, ( or depreciated: give developers a event right before dispatching ), Flex will be better!!! -- This message was sent by Atlassian JIRA (v6.2#6252)