Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 146] Fig.isSelected() not returns correct results

gef
Discussion topic

Hide all messages in topic

All messages in topic

[Issue 146] Fig.isSelected() not returns correct results

Reply

Author bobtarling
Full name Bob Tarling
Date 2008-11-23 07:46:31 PST
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=146






------- Additional comments from bobtarling at tigris dot org Sun Nov 23 07:46:30 -0800 2008 -------
I wonder if this is really needed. Is it not better to just deprecate isSelected
indicating what method of SelectionManager to use instead?

First of all this is likely to mean a setSelected method on a Fig. This could be
misleading to a client developer, indicating that calling setSelected would add
that Fig to the selection list.

Secondly this is introducing a bidriectional relationship between Figs and the
SelectionManager that I don't think has previously existed.
Messages per page: