|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsADEWidget
Widgets to be used with the new XML content editor are required to implement this interface.
| Method Summary | |
|---|---|
java.lang.String |
getConfiguration(CmsObject cms,
A_CmsXmlContentValue contentValue,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the configuration string for the ADE content editor widget. |
java.util.List<java.lang.String> |
getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget. |
java.lang.String |
getInitCall()
Returns the java script initialization call. |
java.util.List<java.lang.String> |
getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget. |
java.lang.String |
getWidgetName()
Returns the class name of the widget. |
boolean |
isInternal()
Returns if this is an internal widget. |
| Methods inherited from interface org.opencms.widgets.I_CmsWidget |
|---|
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getDialogWidget, getHelpBubble, getHelpText, getWidgetStringValue, newInstance, setConfiguration, setEditorValue |
| Method Detail |
|---|
java.lang.String getWidgetName()
java.lang.String getConfiguration(CmsObject cms,
A_CmsXmlContentValue contentValue,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
cms - the OpenCms contextcontentValue - the schema typemessages - the messagesresource - the edited resourcecontentLocale - the content locale
java.util.List<java.lang.String> getCssResourceLinks(CmsObject cms)
cms - the current OpenCms context
java.lang.String getInitCall()
java.util.List<java.lang.String> getJavaScriptResourceLinks(CmsObject cms)
cms - the current OpenCms context
boolean isInternal()
Only widgets belonging to the OpenCms core should be marked as internal.
true if this is an internal widget
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||