From: <rp...@hy...> - 2008-10-29 16:54:30
|
Author: rpack Date: 2008-10-29 09:54:26 -0700 (Wed, 29 Oct 2008) New Revision: 11631 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=11631 Modified: trunk/ui_plugins/saasCenter/Plugin.groovy trunk/ui_plugins/saasCenter/etc/saasCenter_i18n.properties Log: Attach to the "Resource" menu Modified: trunk/ui_plugins/saasCenter/Plugin.groovy =================================================================== --- trunk/ui_plugins/saasCenter/Plugin.groovy 2008-10-29 16:25:56 UTC (rev 11630) +++ trunk/ui_plugins/saasCenter/Plugin.groovy 2008-10-29 16:54:26 UTC (rev 11631) @@ -1,15 +1,10 @@ import org.hyperic.hq.hqu.rendit.HQUPlugin -import saascenterController - class Plugin extends HQUPlugin { - void initialize(File pluginDir) { - super.initialize(pluginDir) - addView(description: 'A Groovy HQU-saasCenter', - attachType: 'masthead', - controller: SaascenterController, - action: 'index', - category: 'tracker') + + Plugin() { + addMastheadView(true, '/saascenter/index.hqu', 'SaaS Center', 'resource') } -} + +} Modified: trunk/ui_plugins/saasCenter/etc/saasCenter_i18n.properties =================================================================== --- trunk/ui_plugins/saasCenter/etc/saasCenter_i18n.properties 2008-10-29 16:25:56 UTC (rev 11630) +++ trunk/ui_plugins/saasCenter/etc/saasCenter_i18n.properties 2008-10-29 16:54:26 UTC (rev 11631) @@ -1,5 +1,2 @@ -# The following property is the localized description of the plugin, which -# is typically used as the link name in an attach point -saasCenter.description=[new plugin] saasCenter +saasCenter.description=SaaS Center -Congrats=Congratulations |