ilog.rules.studio.ui.dialogs.wizards.templates

Interface IlrITemplateContext



  • public interface IlrITemplateContext
    When customizing the Java Project For Rules wizard using Apache Velocity templates, this interface provides a hook to initialize the Velocity context.

    For example, it allows you to define some Velocity variables, or to perform some custom initialization when your template is called in the Java Project For Rules wizard. This interface is linked to the extension point: ilog.rules.studio.ui.javaProjectForRulesTemplates.

    Since:
    JRules 6.5
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void initializeContext(org.eclipse.core.resources.IProject javaProject, org.eclipse.core.resources.IProject ruleProject, org.apache.velocity.VelocityContext context)
      Called in the Java Project For Rules wizard when your custom template has been chosen.
    • Method Detail

      • initializeContext

        void initializeContext(org.eclipse.core.resources.IProject javaProject,
                             org.eclipse.core.resources.IProject ruleProject,
                             org.apache.velocity.VelocityContext context)
        Called in the Java Project For Rules wizard when your custom template has been chosen.

© Copyright IBM Corp. 1987, 2017