@Override protected IDataModelProvider getDefaultProvider() { // for now, no need for own template store and context type TemplateStore templateStore = JSFUIPlugin.getDefault().getTemplateStore(); TemplateContextType contextType = JSFUIPlugin.getDefault() .getTemplateContextRegistry() .getContextType(JSFPortletTemplateContextTypeIds.NEW); return new NewJSFPortletClassDataModelProvider(templateStore, contextType, fragment); }
@Override protected ImageDescriptor getImage() { return ImageDescriptor.createFromURL( JSFUIPlugin.getDefault().getBundle().getEntry("/icons/wizban/liferay_faces_75x66.png")); }