widgetName.setShortName("Unsupported");
widget.getNames().add(widgetName);
IDescription widgetDescription = persistenceManager.newInstance(IDescription.class);
widgetDescription.setContent("This widget is a placeholder for when no corresponding widget is found for a given type");
widget.getDescriptions().add(widgetDescription);
IStartFile widgetStartFile = persistenceManager.newInstance(IStartFile.class);
widgetStartFile.setUrl("/wookie/wservices/notsupported/index.htm");
widget.getStartFiles().add(widgetStartFile);
IStartFile widgetBUStartFile = persistenceManager.newInstance(IStartFile.class);
widgetBUStartFile.setUrl("/wookie/wservices/notsupported/locales/bu/index.htm");
widgetBUStartFile.setLang("bu");
widget.getStartFiles().add(widgetBUStartFile);
IStartFile widgetFRStartFile = persistenceManager.newInstance(IStartFile.class);
widgetFRStartFile.setUrl("/wookie/wservices/notsupported/locales/fr/index.htm");
widgetFRStartFile.setLang("fr");
widget.getStartFiles().add(widgetFRStartFile);
IStartFile widgetENStartFile = persistenceManager.newInstance(IStartFile.class);
widgetENStartFile.setUrl("/wookie/wservices/notsupported/locales/en/index.htm");
widgetENStartFile.setLang("en");
widget.getStartFiles().add(widgetENStartFile);
IWidgetType widgetType = persistenceManager.newInstance(IWidgetType.class);
widgetType.setWidgetContext("unsupported");
widget.getWidgetTypes().add(widgetType);
IWidgetIcon widgetIcon = persistenceManager.newInstance(IWidgetIcon.class);