protected class CreateWebScriptWidgetsDirective.WidgetData extends Object
Contains the data that defines a JavaScript widget to be instantiated. This inner class should be overridden as
nessary when the default attributes to not provide enough data for the widget to be instantiated (the
buildWidgetInstantiatationScript method will also need to be overridden to make use of the extra data and
the buildWidgetDataList method will need to be overridden to instantiate the overridden type.
By default this object simply contains the widget name, whether or not to assign i18n messages, whether or not to assign configuration options and the options to assign.
| Modifier | Constructor and Description |
|---|---|
protected |
CreateWebScriptWidgetsDirective.WidgetData(String name,
boolean provideMessages,
boolean provideOptions,
Map<Object,Object> options,
String assignmentVariableName,
List<Object> additionalInstantiationArgs) |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAdditionalInstantiationArgs() |
String |
getAssignmentVariableName() |
String |
getName() |
Map<Object,Object> |
getOptions() |
boolean |
isProvideMessages() |
boolean |
isProvideOptions() |
Copyright © 2005–2016 Alfresco Software. All rights reserved.