| [news.eclipse.platform] Re: Extending Folder resource |
|
Rahul, I imagine this could be done via a registered IAdapterFactory; an IResource is an IAdaptable. You could exploit IResource.getPersistenceProperty/setPersistenProperty to help implement your adapter. Rahul Kamdar wrote: Hi Eric and Ed! Thanks a lot for the prompt responses. From what I did read around, I felt you cannot pretty much extend the internal classes but I wanted to reconfirm from someone.. So thanks for that... Eric I am looking at basically holding a custom object/handle associated with each folder falling under a certain group of special folders I have defined under a project.. So for this, one of the approach was to make my custom class extend the folder and then add some of my own behaviorial methods to it.. This way I would be able to keep it all under a single object, my stuff + folder representation.. Am not sure how I would be able to do something similar via extension points... Any direction there would be great! But thanks a lot for the replies anyway... Thanks, Rahul "Eric Rizzo" <eclipse-news@xxxxxxxxxxxx> wrote in message news:fpnpe1$hj5$3@xxxxxxxxxxxxxxxxx... |