| [news.eclipse.platform] Re: Extending Folder resource |
Rahul,
Hi,
I want to extend the org.eclipse.core.internal.resources.Folder to create my own type of a Folder and add to the behavior and some of my own manipulations. When I try to directly extend it, the constructor returns a ClassCastException. Even if I try to cast a folder object to my own custom folder, I get the same ClassCastException.
We cannot extend classes defined under org.eclipse.core.internal.resources, is it? Would you suggest on how to try to the same! :-)
Thanks.