com.pmease.quickbuild.extensionpoint.support
Class ConfigurationBasedGadget
java.lang.Object
com.pmease.quickbuild.extensionpoint.support.TypeInstance
com.pmease.quickbuild.extensionpoint.support.Gadget
com.pmease.quickbuild.extensionpoint.support.ConfigurationBasedGadget
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AggregatedReportGadget, BuildBasedGadget, CategoryStatisticsGadget, ReportStatisticsGadget
public abstract class ConfigurationBasedGadget
- extends Gadget
Custom gadgets extending this class will automatically have configuration choice fields so that user
can specify desired configuration. Specified configuration can be accessed via method
Context.getConfiguration()
in your gadget code. This base class is appropriate for gadgets
which want to have user specify a configuration, and then display information or reports corresponding
to that configuration.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationBasedGadget
public ConfigurationBasedGadget()
getConfigurationPath
@NotEmpty
public java.lang.String getConfigurationPath()
setConfigurationPath
public void setConfigurationPath(java.lang.String configurationPath)
renderHead
public final org.apache.wicket.Component renderHead(java.lang.String componentId)
- Overrides:
renderHead
in class Gadget
renderHeadForConfiguration
protected org.apache.wicket.Component renderHeadForConfiguration(java.lang.String componentId)
renderBody
public final org.apache.wicket.markup.html.panel.Panel renderBody(java.lang.String panelId)
- Specified by:
renderBody
in class Gadget
guessConfiguration
protected static Configuration guessConfiguration()
renderBodyForConfiguration
protected abstract org.apache.wicket.markup.html.panel.Panel renderBodyForConfiguration(java.lang.String panelId)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.