Ah right, I understand your problem now :) If you can't add [Bindable] to
the interface (I don't know if you can or not), you're always going to get
that warning at compile-time. There's no way for the compiler to know if
your impl is bindable or not.

-Josh

On Wed, Aug 27, 2008 at 3:15 PM, Sefi Ninio <[EMAIL PROTECTED]> wrote:

>  Hi Josh,
>
> Thanks for the reply, but this didn't work.
> The interface extends IEventDispatcher as you suggested.
> That required all implementing classes it also extend EventDispatcher
> because of unimplemented interface functions.
> And, even after all that, the warning remains!
>
>
> On Tue, Aug 26, 2008 at 9:58 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
>>   public interface IMyBindable extends IEventDispatcher {}
>>
>> On Tue, Aug 26, 2008 at 4:51 PM, sefi.ninio <[EMAIL PROTECTED]> wrote:
>>
>>> Hi everyone...
>>>
>>> I get a binding warning I just can't seem to shake off...
>>>
>>> I have an interface (let's call it IMyInterface) and it is defining,
>>> among other things, a setter/getter function pair.
>>>
>>> I know, I know - this screams extending a base class and not
>>> implementing an interface, but bear with me...
>>>
>>> The implementing classes implement those setter/getter pair, and the
>>> getter function has the [Bindable] metatag defined.
>>>
>>> Sure, Binding works like a charm, but that warning bugs me.
>>> I know extending a base class that implements those setter/getter as
>>> bindable will solve this.
>>> I'm just wandering if there's a way to work with an interface and
>>> still not get that warning...
>>>
>>> Thanks,
>>> Sefi
>>>
>>>
>>> ------------------------------------
>>>
>>> --
>>> Flexcoders Mailing List
>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>>> Search Archives:
>>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
>>> Links
>>>
>>>
>>>
>>>
>>
>>
>> --
>> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>>
>> :: Josh 'G-Funk' McDonald
>> :: 0437 221 380 :: [EMAIL PROTECTED]
>>
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to