Re: Regarding WOComponent wizard feature request/implementation

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Jun 13 2006 - 07:25:39 EDT

  • Next message: Ulrich Köster: "Re: Install .xsd file in .woa root"

    Moin Jake,

    it's out top feature request.

    I've started some work but never had the time to finish it.

    I've also removed some of the code before your mail. Your welcome to
    help finish the task.

    Uli
    Am 22.05.2006 um 15:18 schrieb Jake Fisher:

    > Hi guys,
    >
    > In our shop we use only around 10 common templates for the majority
    > of our work and the current procees is to copy a current WOComponent
    > and update it to work with the object we need with minor changes. I
    > was going through the plugins source for the wizard and found the
    > following comment in 'WOComponentCreator.java' and it gave me hope
    > that we could better adapt our templating a bit if this feature was
    > there.
    >
    > ' // TODO: select template in the user interface
    > componentEngine.setSelectedTemplateName(componentEngine.names()
    > [0]);
    > '
    > So in a way it is a feature request but I am willing to try to take a
    > shot at updateing this myself if I could get a little direction on
    > what/where I need to look, it would take a bit though as I am just
    > starting to really dig into Eclipse Plugins and the WOLips code. It
    > seems like some of the wocomponent.vm strings are currently hard coded
    > what was the orginal thinking regarding that TODO? Was it that the
    > template engine would read the template.xml for the different
    > components and then look for a directory with files named along the
    > lines of "wocomponent.wod.vm". Or if there were to be a woComponent
    > select should the name it looks for in the wocomponent folder be of
    > the type "selectedTemplate.wod.vm"?
    >
    > thx again guys for all your hard work,
    >
    > ~jake



    This archive was generated by hypermail 2.0.0 : Tue Jun 13 2006 - 07:25:45 EDT