Modeler plugin engine prototype for 3.0

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jun 07 2006 - 14:42:36 EDT

  • Next message: Cris Daniluk: "Re: docs in wiki format?"

    I just finished a small prototype of the possible Modeler plugin
    environment that we may use in Cayenne 3.0 release [1]. It contains a
    plugin launcher and two core plugins (generic swing and mock
    modeler). To build the SVN code you can do this:

    mvn clean package assembly:assembly

    Or you can download a binary version [2]. The application is run from
    a launcher jar file. You can either double click the jar (on OSes
    that support that) or run it from command line:

    # cd modeler-3.0-SNAPSHOT/
    # java -jar modeler-launcher.jar

    Any number of extra plugins can be placed in "modeler-3.0-SNAPSHOT/
    plugins" folder (plugins must comply with Platonos plugin spec [3],
    specifically there must be a plugin.xml file at the root).

    In addition to the plugin functionality the prototype supports a few
    other nice features:

    * Loading of actions, menus and toolbars from XML descriptors.

    * Localization. For testing purposes I added an extra Russian bundle,
    so you may start the environment like this, and see the menus are
    displayed in Russian:

       java -Dcayenne.ui.locale=ru -jar modeler-launcher.jar

    Andrus

    P.S. Note that this stuff is totally unrelated to the Eclipse plugin
    Summer of Code project.

    [1] http://svn.apache.org/repos/asf/incubator/cayenne/main/branches/
    PROTO-3.0/modeler/
    [2] http://dev.objectstyle.org/~andrus/modeler-3.0-SNAPSHOT-core.tar.gz
    [3] http://sourceforge.net/projects/platonos



    This archive was generated by hypermail 2.0.0 : Wed Jun 07 2006 - 14:43:05 EDT