[squeak-dev] Looking for a multi-select capable TreeMorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Looking for a multi-select capable TreeMorph

Tapple Gao
For the DeltaStreams UI, I have long been needing a TreeMorph
that was capable of having more than one element selected, in
order to display deltas like:

- Collection>>#do: changed
- Fix bug 6982
  - Load Float-readFromManyDigits-Test-M6982-nice.1.cs
    - Float>>#readFromManyDigits changed
    - ...
- Integer>>#bitAt: changed

So far, I've been making do with a PluggableListMorphOfMany,
because I haven't yet set up the integration with Installer,
Monticello, and the chunk reader that would allow such deltas to
be created. However, I am getting ready to start making this
kind of annotated delta, and the UI
must be able to display them. So, do I need to roll my own
morph?

DeltaStreams UI only uses 100% Morphic, for maximum
compatibility with old squeak releases.

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Looking for a multi-select capable TreeMorph

Trygve
An hierarchical list morph may be what you want. Try the ObjectExplorer to see if this is this kind of interface will be satisfactory.

I am using s SimpleHierarchicalListMorph with my own wrapper and it works well for me. It should be possible to xtend it with multiple selection and make other adaptions. I can give more info about its architecture if you decide to try it.

Cheers
--Trygve

On 29.03.2008 01:46, Matthew Fulmer wrote:
For the DeltaStreams UI, I have long been needing a TreeMorph
that was capable of having more than one element selected, in
order to display deltas like:

- Collection>>#do: changed
- Fix bug 6982
  - Load Float-readFromManyDigits-Test-M6982-nice.1.cs
    - Float>>#readFromManyDigits changed
    - ...
- Integer>>#bitAt: changed

So far, I've been making do with a PluggableListMorphOfMany,
because I haven't yet set up the integration with Installer,
Monticello, and the chunk reader that would allow such deltas to
be created. However, I am getting ready to start making this
kind of annotated delta, and the UI
must be able to display them. So, do I need to roll my own
morph?

DeltaStreams UI only uses 100% Morphic, for maximum
compatibility with old squeak releases.

  

--
--

Trygve Reenskaug       mailto: [hidden email]

Morgedalsvn. 5A         http://heim.ifi.uio.no/~trygver

N-0378 Oslo               Tel: (+47) 22 49 57 27

Norway