Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 577D9D110 for ; Tue, 5 Mar 2013 20:55:29 +0000 (UTC) Received: (qmail 76074 invoked by uid 500); 5 Mar 2013 20:55:28 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 76035 invoked by uid 500); 5 Mar 2013 20:55:28 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 76027 invoked by uid 99); 5 Mar 2013 20:55:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 20:55:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavharbs@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 20:55:23 +0000 Received: by mail-wg0-f54.google.com with SMTP id fm10so6636669wgb.9 for ; Tue, 05 Mar 2013 12:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=i6VypcuOca9C3B5ElYP0wk5rJdnwLWpqiAFNXXig/Zw=; b=k2QJicYjaNj3FvE/UcJwm68iIJcHfYXtJiwS5JbcMeps9oWmC9rvUAbzkO+swN6w7X RLIe8dOMPTMz+W5wDWFKoRDLBd09hIW5TShrrVNNeUH90tJuSNfTgQdSOgFgbNY8+Vh1 8mfVK6fEWc5FCrAMRcRtYJ2fA2OE7bZqBAhiDu1f4qCWYvY1emxtEBzqBSdHpJiC3YhE 4n8TSCq+tGXWA6ymqCH5IAhEEnWLnPogqZzJcIw7jZZQsG5RUNLQWreayGxq31x7wajo XMNBXfFoSrafPlG4GiGfOirPUYjomRS2SCHMODlpc8EmcBPoLm2TsiulRYtKabUgiRI8 Y2QQ== X-Received: by 10.194.82.34 with SMTP id f2mr24338192wjy.25.1362516902200; Tue, 05 Mar 2013 12:55:02 -0800 (PST) Received: from [192.168.0.2] (109-186-89-23.bb.netvision.net.il. [109.186.89.23]) by mx.google.com with ESMTPS id t7sm2760128wij.2.2013.03.05.12.55.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Mar 2013 12:55:01 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: Spark Tree From: Harbs In-Reply-To: Date: Tue, 5 Mar 2013 22:54:58 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: dev@flex.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org My concern was really because selecting "Spark only" in Flash Builder = makes those classes unavailable. I'm not sure how much of an issue that = really is. Does that compiler option really make any difference in app = size if you don't use mx components? I've been spending a LOT of time (like tens of hours) minimizing = dependencies in my app. It's horribly painful=85 :-( On Mar 5, 2013, at 7:26 PM, Alex Harui wrote: > I think you have to pick some goals. What is the main purpose of a = Spark > Tree? Is it just to allow for Spark skinning of the control? Does it = have > to run on mobile (Spark DataGrid is not recommended for mobile either = and > the Adobe version of Spark Tree was going to be based on Spark = DataGrid). >=20 > If mobile isn't a requirement, then a dependency on = ITreeDataDescriptor and > HierarchicalCollection isn't the end of the world. I think those = classes > are now in the mx.swc which is in most Flex projects except for = mobile. And > you can always map the classes in the manifest into the spark = namespace (we > already do that for ArrayList) >=20 > You could move some of these classes back into framework.swc so the = default > mobile projects will have the classes, but check to see what else they = drag > in so we know the full set of what we're moving. >=20 > I believe the Spark Tree on my blog also used these classes. I don't = recall > any real need to want to re-write the collection and descriptor APIs. >=20 > -Alex >=20 >=20 >=20 > On 3/4/13 11:29 PM, "Harbs" wrote: >=20 >> On second blush, it looks like spark-tree has all of the same = dependencies=8A >>=20 >> What's the correct way to go about this? >>=20 >> On Mar 5, 2013, at 9:11 AM, Harbs wrote: >>=20 >>> Okay. I'm looking into this now. >>>=20 >>> I've tried Spark-Tree as well as this one. >>>=20 >>> Both seem to have dependency on mx. >>>=20 >>> Spark-Tree has a dependency on = mx.controls.treeClasses.ITreeDataDescriptor2 >>>=20 >>> alatarus/tree has even more dependencies: >>> mx.collections.HierarchicalCollectionView; >>> mx.collections.HierarchicalData; >>> mx.collections.IHierarchicalData; >>>=20 >>> An additional issue with Spark-Tree is a conflict between some style = names >>> and private vars. That was easily fixed by renaming the vars. >>>=20 >>> I think duplicating the ITreeDataDescriptor2 interface should be = easy enough. >>>=20 >>> Anyone know who Kachurovskiy is for a donation? Alternately, Alexey, = would >>> you be interested in donating your implementation? >>>=20 >>> On Feb 25, 2013, at 2:42 PM, Alexey Taran wrote: >>>=20 >>>> My implementation: >>>> https://github.com/alatarus/tree >>>> Supports sorting and filter function. >>>>=20 >>>>=20 >>>> 2013/2/22 Paul Hastings >>>>=20 >>>>> On 2/22/2013 5:18 PM, Bogdan DINU wrote: >>>>>=20 >>>>>> Hi, I've used Kachurovkiy's version - seems well written. >>>>>>=20 >>>>>=20 >>>>> +1 (not that i'd know anything "well written" in flex but it works = as >>>>> advertized). >>>>>=20 >>>=20 >>=20 >=20 > --=20 > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >=20