Changeset 66

Show
Ignore:
Timestamp:
03-12-10 11:28:59 (3 years ago)
Author:
work@…
Message:

- to version 0.1.5

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ajaxflow/trunk/AjaxflowGrailsPlugin.groovy

    r65 r66  
    1 /* 
     1/** 
    22 *  AjaxFlow, a plugin for Ajaxified Webflows 
    33 *  Copyright (C) 2010 Jeroen Wesbeek 
     
    1515 *  limitations under the License. 
    1616 */ 
    17 class AjaxFlowGrailsPlugin { 
    18     // the plugin version 
    19     def version = "0.1.4" 
    20     // the version or versions of Grails the plugin is designed for 
    21     def grailsVersion = "1.3.5 > *" 
    22     // the other plugins this plugin depends on 
    23     def dependsOn = [ webflow:"1.3 > *", jquery:"1.4 > *" ] 
    24     // resources that are excluded from plugin packaging 
    25     def pluginExcludes = [ 
    26             "grails-app/views/error.gsp" 
    27     ] 
    28  
    29     // TODO Fill in these fields 
    30     def author          = "Jeroen Wesbeek" 
    31     def authorEmail     = "work@osx.eu" 
    32     def title           = "This plugin enables Ajaxified Webflows" 
    33     def description = '''\\ 
     17class AjaxflowGrailsPlugin { 
     18        def version                     = "0.1.5" 
     19        def grailsVersion       = "1.3.5 > *" 
     20        def dependsOn           = [webflow: "1.3 > *", jquery: "1.4 > *"] 
     21        def pluginExcludes      = [ 
     22                "grails-app/views/error.gsp" 
     23        ] 
     24        def author                      = "Jeroen Wesbeek" 
     25        def authorEmail         = "work@osx.eu" 
     26        def title                       = "This plugin enables Ajaxified Webflows" 
     27        def description         = '''\\ 
    3428This plugin enables Ajaxified Webflows and can create a new default ajaxflow on the fly 
    3529''' 
     30        def documentation       = "http://grails.org/plugin/ajax-flow" 
    3631 
    37     // URL to the plugin's documentation 
    38     def documentation = "http://grails.org/plugin/ajax-flow" 
     32        def doWithWebDescriptor = { xml -> 
     33                // TODO Implement additions to web.xml (optional), this event occurs before 
     34        } 
    3935 
    40     def doWithWebDescriptor = { xml -> 
    41         // TODO Implement additions to web.xml (optional), this event occurs before  
    42     } 
     36        def doWithSpring = { 
     37                // TODO Implement runtime spring config (optional) 
     38        } 
    4339 
    44     def doWithSpring = { 
    45         // TODO Implement runtime spring config (optional) 
    46     } 
     40        def doWithDynamicMethods = { ctx -> 
     41                // TODO Implement registering dynamic methods to classes (optional) 
     42        } 
    4743 
    48     def doWithDynamicMethods = { ctx -> 
    49         // TODO Implement registering dynamic methods to classes (optional) 
    50     } 
     44        def doWithApplicationContext = { applicationContext -> 
     45                // TODO Implement post initialization spring config (optional) 
     46        } 
    5147 
    52     def doWithApplicationContext = { applicationContext -> 
    53         // TODO Implement post initialization spring config (optional) 
    54     } 
     48        def onChange = { event -> 
     49                // TODO Implement code that is executed when any artefact that this plugin is 
     50                // watching is modified and reloaded. The event contains: event.source, 
     51                // event.application, event.manager, event.ctx, and event.plugin. 
     52        } 
    5553 
    56     def onChange = { event -> 
    57         // TODO Implement code that is executed when any artefact that this plugin is 
    58         // watching is modified and reloaded. The event contains: event.source, 
    59         // event.application, event.manager, event.ctx, and event.plugin. 
    60     } 
    61  
    62     def onConfigChange = { event -> 
    63         // TODO Implement code that is executed when the project configuration changes. 
    64         // The event is the same as for 'onChange'. 
    65     } 
     54        def onConfigChange = { event -> 
     55                // TODO Implement code that is executed when the project configuration changes. 
     56                // The event is the same as for 'onChange'. 
     57        } 
    6658}