In general don;t gi for the max right away, just first try to understand 
what is there.
There are many samples just for that. Change them, but brakpoint and 
look at the stack traces.
Connectors are for attaching view to windows. So indeed also to notebook 
windows.
The framework generates documents normally from document and view 
templates, and from there event go to connectors, which attach newly 
created view to windows.

Michael Stratmann wrote:
> Hi, no connector? Are the CommandProcessor features still usable?
Yes, but that is not the issue.
>  I need to implement some event handlers like load and save myself, because 
> my drawings are organised in projects, and there exist non-drawing files. But 
> event handlers like printing I would like to reuse.
>   
IoHandlers and document and view templates, is what is used for most 
input and output formats. If you have your own a2dCanvasDocument, you 
can decide.
But first study more, because i sense you don't  have the full picture 
yet ;-)
> My app frame needs to use AUI. The AUInotebook with the canvas is not the 
> only one, to the left is another AUInotebook, containing a treecontrol (with 
> project files) and a panel very similar to the wires example, a tree/list 
> with parts and a preview (will be a a2dcanvas) of the chosen part. Drawing 
> tools are located on top and left toolbars of the app frame, outside the two 
> notebooks.
>   
Oke. You can mix document and view of whatever kind, that is what the 
docview framework is all about. Complicated but without it almost 
impossible. There is a lot behind it, which is taken care of 
automatically, but you need to stick to the rules, which are sometimes 
difficult to crasp.
> Right now, my app frame is derived from a2dDocumentFrame, and I get two 
> canvas pages in my notebook. So far so good. But I want a proper solution 
> now. Not hacked and randomly working code, otherwise I have the trouble later 
> again.
>   
Work from samples. The  wxArt2D/app/mars is one that comes close to 
yours. Save the whole AUI thing for later, just begin with simple 
things. No need to concentrate an GUI, just open and save document is 
more important to start with.

Klaas



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to