This is usually called "extract interface". In some languages like Java,
there are a number of tools that let you do this; Eclipse comes with this
refactor, for instance.

http://www.javalobby.org/java/forums/t19062.html

I know this isn't the answer to your question because you obviously need it
for Actiosncript code, but maybe knowing the common name can help
you narrowing you search (for what is worth, I'm not aware of any tool that
offers this feature for AS).


Cheers
Juan Pablo Califano

2010/12/20 Matt Perkins <[email protected]>

> So this is me being extremely lazy - is there a tool or a feature of a tool
> that'll automatically create an interface from a class file?
>
> I'm learning DI and implementing it in a framework that I have and to
> "properly" follow DI principals, I need to make heavy use of interfaces as
> types rather than the classes. I have a good list of interfaces to create.
>
> Thanks!
>
> Matt Perkins
> ---------------------------------
> http://www.nudoru.com
> http://udon.nudoru.com
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to