[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 1:48 PM, Timur Achmetow <achmetow84@xxxxxxxxxxxxxx> wrote:

<< Think of it more like a preference page. There you also don't specify a JavaClass that provides the structure glue code :-) >>
Okay, that's a good idea. I will check out the preference page extension point.
Suggestions for the Extension Point naming (class, id etc.)?

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).

* 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.)





2013/9/9 Marcel Bruch <marcel.bruch@xxxxxxxxxxxxxx>
Hi Timur,

one comment on your extension point:

Usually, there is no such thing as a ITreeViewerExtension people have to implement when extending an extension point. This class may rather be part of you framework and filled with the appropriate information.

In their extensions, they should rather be able to specify (i) a page name, (ii) the category under which it will be shown, (iii) an image to be shown in the viewer, and (iv) the class that implements some page interface. They may also provide additional categories (with icons) if they like. A category would consists of (i) an id, (ii) an icon, and (iii) a name then.

Think of it more like a preference page. There you also don't specify a JavaClass that provides the structure glue code :-)


On Sep 7, 2013, at 11:12 AM, Tim <achmetow84@xxxxxxxxxxxxxx> wrote:

Hi,

here is my weekly report:

What I had planned for this week:
  • Extend the o.e.r.stats plugin through an Extension Point, which allows third parties to build their own metrics (own tree items and pages)

  • What I have done this week:
    Last week I have started to build the Extension Point, first implementation of the prototype is online in Gerrit [1].
    I have created an Interface (ITreeViewerExtension) which have to be implemented from other plugins. 

    public interface ITreeViewerExtension {

        IDeveloperActivityPage getPage();

        String getTreeItemText();

        ITreeCategory getCategory();
    }

    getTreeItemText():
    Defines the tree item name.
    getCategory():
    Here you can create your tree item structure. 
    getPage():
    And here you have the possibility to create your own page (parent=Composite). 

    If someone want to test the current functionality, use the attachment in this mail (o.e.r.tim.testing). 

    Setup:
    • check out the code from [1]
    • import the plugin (o.e.r.tim.testing, see attachment) in your workspace
    • add this plugin ((o.e.r.tim.testing)) to your product (or in your "Run Configurations")
    • have "fun"

    What I have planned for the next week:
    • Optimize the "Extension Point" functionality:
      • we need here some infrastructure for own icons in third party plugins 
      • open view mechanism: at the moment I have only one page for a TreeItem, we need here more than one (every tree item needs his own page)
    • Restructure the plugin for the Incubator project
    • Collect data for the Incubator project (bugzilla, gerrit, gsoc, mailing lists etc., see mail from Marcel)

    Regards,

    Tim

    <o.e.r.tim.testing.zip>
    _______________________________________________
    recommenders-dev mailing list
    recommenders-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/recommenders-dev


    _______________________________________________
    recommenders-dev mailing list
    recommenders-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/recommenders-dev


    _______________________________________________
    recommenders-dev mailing list
    recommenders-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/recommenders-dev