View and Canvas Item Creation



Since I got no response on my previous mail, I figured I'd pull together
a proposal and see if it sparks any discussion.

This of course would break API compatibility so it would most likely
need to be adopted in IDL:Bonobo/Embeddable:2.0.  The basic change would
be to move the createView and createCanvasItem methods from the
Embeddable interface into two new interfaces:

module Bonobo {
	interface ViewCreator {
		View createView(in Embeddable emb);
	};

	interface CanvasItemCreator {
		CanvasComponent createCanvasItem(in Embeddable emb, in bool aa);
	};
};

This would allow for more accurate querying/exposure of the true
capabilities of an embeddable.

Mike




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]