|
From: Watkins, D. <dav...@fa...> - 2004-10-26 09:56:42
|
Thanks Torsten,=20 Just got the latest code from cvs and it works fine now. Cheers, Dave > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Torsten Juergeleit > Sent: 26 October 2004 00:08 > To: Spring IDE Developer List > Subject: Re: [Springide-eclip-developer] Spring IDE=20 > Extensions - Search: Feedback >=20 > David, >=20 > don't worry. I have extended BeansView.show() to support=20 > instances of IBeansModelElement as ShowInContext's input=20 > object or first selection element too. >=20 > The updated version of BeansView and BeansUIUtils is=20 > available in CVS head. >=20 > Cheers, > Torsten >=20 >=20 > On 25.10.2004, at 20:39, Watkins, David wrote: >=20 > > Hi Torsten, > > I've implemented suggestion 1 (a mistake on my behalf. For=20 > item 2 I'm=20 > > actually using IBean's in the search result view. I tried=20 > adding the=20 > > interface and method you suggested but they don't get=20 > called. Instead=20 > > I've hacked another else clause onto the bottom of=20 > > BeansView::show(...) which can construct a=20 > BeansViewLocation from an=20 > > IBean. I haven't checked this in yet as I wanted to run it=20 > past you. > > > > A potentially neater solution to this is to make=20 > BeansViewLocation an=20 > > interface and make Bean into an IAdaptable class (I seem to=20 > remember=20 > > we can do this by registering with an AdapterManager=20 > somewhere so we=20 > > do't have to 'pollute' the bean class too much). Just a thought! > > > > Cheers, > > dw > > > >> -----Original Message----- > >> From: spr...@li... > >> [mailto:spr...@li...] > >> On Behalf Of Torsten Juergeleit > >> Sent: 24 October 2004 22:23 > >> To: Spring IDE Developer List > >> Subject: [Springide-eclip-developer] Spring IDE Extensions - > >> Search: Feedback > >> > >> Dave, > >> > >> the search facility of Spring IDE Extensions is very good. > >> I have a few suggestions: > >> > >> 1. selecting "Search Again" in the search result page with a=20 > >> successful search adds duplicates to the list > >> > >> 2. selecting "Show In / Spring Beans" in the search result=20 > page for a=20 > >> node in the result tree view doesn't navigate to the corresponding=20 > >> node in the Spring Beans view > >> > >> For 2. BeanSearchResultPage has to implement IShowInSource=20 > and return=20 > >> in getShowInContext() an instance of ShowInContext which holds an=20 > >> input object of BeansViewLocation (prepared with project=20 > name, config=20 > >> name, bean name [if available] and property name [if=20 > available]) and=20 > >> a selection object of StructuredSelection (IResource of=20 > the selected=20 > >> node > >> -> project or [config] file). The input object is recognized by=20 > >> -> Spring > >> Beans view and the selection object i recognized by Eclipse's=20 > >> resource navigator or JDT's package explorer. > >> > >> For samples please refer to BeansView.getShowInContext()=20 > or the Beans=20 > >> UI action ShowInView.run(). > >> > >> Ups, to recognize the input object first instead of the=20 > selection (if=20 > >> provided both) I have to modify BeansView.show(). Ok, I=20 > will fix this=20 > >> now. You can find the fix in CVS head. > >> > >> Cheers, > >> Torsten > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: IT Product Guide on=20 > >> ITManagersJournal Use IT products in your business? Tell=20 > us what you=20 > >> think of them. Give us Your Opinions, Get Free ThinkGeek Gift=20 > >> Certificates! Click to find out more=20 > >> http://productguide.itmanagersjournal.com/guidepromo.tmpl > >> _______________________________________________ > >> Springide-eclip-developer mailing list=20 > >> Spr...@li... > >>=20 > https://lists.sourceforge.net/lists/listinfo/springide-eclip-develope > >> r > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on=20 > > ITManagersJournal Use IT products in your business? Tell us=20 > what you=20 > > think of them. Give us Your Opinions, Get Free ThinkGeek Gift=20 > > Certificates! Click to find out more=20 > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Springide-eclip-developer mailing list=20 > > Spr...@li... > >=20 > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on=20 > ITManagersJournal Use IT products in your business? Tell us=20 > what you think of them. Give us Your Opinions, Get Free=20 > ThinkGeek Gift Certificates! Click to find out more=20 > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springide-eclip-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer >=20 |