From: Egon W. <e.w...@sc...> - 2005-06-17 09:07:00
|
Hi all, Stefan Obenauer found a shortcoming of the plugin API with respect to editing and rendering. This is the situation: at this moment the (highlighted) selection is stored as property of the Renderer2DModel. However, when using the plugin API one has only access to the ChemModel, and not the Renderer2DModel. The obvious solution is to have the selection a property of the ChemModel, or AtomContainer to be more specific, or even of the Atom and ElectronContainer objects. A flag perhaps, which is not much used yet anyway... So, I would like to propose this change: drop the selection field in Renderer2D in favor of a Atom/ElectronContainer based isSelected property. Comments? Egon |