/**
   * {@inheritDoc}
   *
   * @see
   *     org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior#contribute(org.odlabs.wiquery.core.commons.WiQueryResourceManager)
   */
  @Override
  public void contribute(WiQueryResourceManager wiQueryResourceManager) {
    super.contribute(wiQueryResourceManager);

    wiQueryResourceManager.addCssResource(WijDropdownDecoratorStyleSheetResourceReference.get());
    wiQueryResourceManager.addJavaScriptResource(WidgetJavascriptResourceReference.get());
    wiQueryResourceManager.addJavaScriptResource(
        WijDropdownDecoratorJavascriptResourceReference.get());
  }
Esempio n. 2
0
 /**
  * {@inheritDoc}
  *
  * @see
  *     org.odlabs.wiquery.core.commons.IWiQueryPlugin#contribute(org.odlabs.wiquery.core.commons.WiQueryResourceManager)
  */
 public void contribute(WiQueryResourceManager wiQueryResourceManager) {
   wiQueryResourceManager.addJavaScriptResource(WidgetJavascriptResourceReference.get());
   wiQueryResourceManager.addJavaScriptResource(ButtonJavascriptResourceReference.get());
 }