Export GWT javascript methods to load and control the plugin, must export currently 2 method :
I.E for plugin GWT id : foo.bar.MyPlugin, class foo.bar.client.MyPlugin :
$wnd.load_foo_bar_MyPlugin = function() {
called to the plugin init from JS
obj.@foo.bar.client.MyPlugin::loadContainer()();
}
$wnd.on_resource_loaded_foo_bar_MyPlugin = function() {
called when a resource JSON object has been refreshed within the page
obj.@foo.bar.client.MyPlugin::onResourceLoaded()();
}
When multiple widgets are bound to the same HTML div, this method will indicate
If the resource widget is the default one to show when the widget is initialized
Indicates if the plugin version should be fixed or not, it means that if your pom defines another version
than the one defined by getVersion(), this version will be used
Property value can be set in different ways :
System property
Maven command-line (-Dfoo=bar)
Maven pom.xml (element )
Maven settings.xml
Sonar web interface
Value is accessible in batch extensions via the Configuration object of class org.sonar.api.resources.Project
(see method getConfiguration()).