[Clam-devel] Copy & Paste processings on canvas patch

David García Garzón dgarcia at iua.upf.edu
Mon Jun 2 04:14:41 PDT 2008


On Dilluns 02 Juny 2008, Pau Arumí Albó wrote:
> El dl 02 de 06 de 2008 a les 06:19 -0300, en/na Natanael Olaiz va
>
> escriure:
> > Finally!
> > I need to clean up the code, optimize some rutines, and it doesn't save
> > the positions. But it works. :-)
>
> Wow, this is big step forwards! :-)
>
> Some questions mainly for Natanael and David,
>
> Have you evaluated if the onPasteProcessingsFromClipboard() could reuse
> the normal xml network loading function? (maybe would need adaptation) ?
> That would reduce a lot of code (and duplication)

I think so but some adaptation should be done to the NetworkAdapters to store 
just the selected processings and related connections.

> I think that this feature (and the future sub-networks) is asking for
> embedding processing-boxes positions in the clamnetwork xml (instead of
> keeping a separate binary .pos file). Getting rid of .pos files was a
> TODO actually. Do you agree?

I fully agree.

> How about a new "Edit" menu and Ctrl-C Ctrl-V shortcuts? I guess it is
> in Natanaels todo list...

Yes, indeed, plain 'Cut' and plain 'Paste' would be fine as the 'from/to 
clipboard' is implicit.

David-



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080602/65efe3c8/attachment-0003.pgp>


More information about the clam-devel mailing list