[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [gsoc] Weekly Report

On Sep 11, 2013, at 4:52 PM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:

> Hi,
> 
>> without thinking about it too much (maybe others have better ideas):
>> 
>> extension point ids and elements in there:
>> 
>> * o.e.r.stats.rcp.pages
>>    * category - a category defines a name, a description and an image
>> to be displayed in the stats dialog
>>    * page - has a name, an icon, and  a class attribute which defines a
>> Page (where the content is displayed).
> 
> Shouldn't a page also have a category attribute to refer to a category's
> ID defined elsewhere?


Yes, of course. I forgot this one.

> Or is the idea here that the nesting of the XML
> elements determines which page goes into which category?
> 
> The former would enable another plugin (with a separate plugin.xml) to
> add to a common category (like "Code Recommenders" :-)
> 
>> * o.e.r.stats.rcp.collectors
>>    * collector -- collector services that may be started when the stats
>> plugin get's started. Defines a name, a description (not needed yet.)
> 
> Should the lifecycle also include a shutdown notification? Would be
> useful to persist stuff.

I'd just activate the plugin. Shutdown event is a workbench shutdown, i.e., Activator.stop.

Marcel


> 
> Best wishes,
> 
> Andreas
> -- 
> Codetrails UG (haftungsbeschränkt)
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> recommenders-dev mailing list
> recommenders-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/recommenders-dev