source: ajaxflow/trunk/AjaxFlowGrailsPlugin.groovy.temp @ 64

Last change on this file since 64 was 64, checked in by work@…, 7 years ago
  • temp commit
File size: 2.4 KB
Line 
1/*
2 *  AjaxFlow, a plugin for Ajaxified Webflows
3 *  Copyright (C) 2010 Jeroen Wesbeek
4 *
5 *  Licensed under the Apache License, Version 2.0 (the "License");
6 *  you may not use this file except in compliance with the License.
7 *  You may obtain a copy of the License at
8 *
9 *  http://www.apache.org/licenses/LICENSE-2.0
10 *
11 *  Unless required by applicable law or agreed to in writing, software
12 *  distributed under the License is distributed on an "AS IS" BASIS,
13 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *  See the License for the specific language governing permissions and
15 *  limitations under the License.
16 */
17class 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 = '''\\
34This plugin enables Ajaxified Webflows and can create a new default ajaxflow on the fly
35'''
36
37    // URL to the plugin's documentation
38    def documentation = "http://grails.org/plugin/ajax-flow"
39
40    def doWithWebDescriptor = { xml ->
41        // TODO Implement additions to web.xml (optional), this event occurs before
42    }
43
44    def doWithSpring = {
45        // TODO Implement runtime spring config (optional)
46    }
47
48    def doWithDynamicMethods = { ctx ->
49        // TODO Implement registering dynamic methods to classes (optional)
50    }
51
52    def doWithApplicationContext = { applicationContext ->
53        // TODO Implement post initialization spring config (optional)
54    }
55
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    }
66}
Note: See TracBrowser for help on using the repository browser.