flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Spark Tree
Date Tue, 05 Mar 2013 17:26:43 GMT
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).

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)

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.

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.


On 3/4/13 11:29 PM, "Harbs" <harbs.lists@gmail.com> wrote:

> On second blush, it looks like spark-tree has all of the same dependenciesÅ 
> What's the correct way to go about this?
> On Mar 5, 2013, at 9:11 AM, Harbs wrote:
>> Okay. I'm looking into this now.
>> I've tried Spark-Tree as well as this one.
>> Both seem to have dependency on mx.
>> Spark-Tree has a dependency on mx.controls.treeClasses.ITreeDataDescriptor2
>> alatarus/tree has even more dependencies:
>> mx.collections.HierarchicalCollectionView;
>> mx.collections.HierarchicalData;
>> mx.collections.IHierarchicalData;
>> An additional issue with Spark-Tree is a conflict between some style names
>> and private vars. That was easily fixed by renaming the vars.
>> I think duplicating the ITreeDataDescriptor2 interface should be easy enough.
>> Anyone know who Kachurovskiy is for a donation? Alternately, Alexey, would
>> you be interested in donating your implementation?
>> On Feb 25, 2013, at 2:42 PM, Alexey Taran wrote:
>>> My implementation:
>>> https://github.com/alatarus/tree
>>> Supports sorting and filter function.
>>> 2013/2/22 Paul Hastings <paul.hastings@gmail.com>
>>>> On 2/22/2013 5:18 PM, Bogdan DINU wrote:
>>>>> Hi, I've used Kachurovkiy's version - seems well written.
>>>> +1 (not that i'd know anything "well written" in flex but it works as
>>>> advertized).

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message