Package org.opencms.editors.tinymce
Class CmsTinyMCEWidget
- java.lang.Object
-
- org.opencms.widgets.A_CmsWidget
-
- org.opencms.widgets.A_CmsHtmlWidget
-
- org.opencms.editors.tinymce.CmsTinyMCEWidget
-
- All Implemented Interfaces:
org.opencms.widgets.I_CmsWidget
public class CmsTinyMCEWidget extends org.opencms.widgets.A_CmsHtmlWidget
The TinyMCE implementation of the HTML widget.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASE_CONTENT_CSS
Path of the base content CSS.static java.lang.String
PARAM_CONFIGURATION
Request parameter name for the tool bar configuration parameter.
-
Constructor Summary
Constructors Constructor Description CmsTinyMCEWidget()
Creates a new TinyMCE widget.CmsTinyMCEWidget(java.lang.String configuration)
Creates a new TinyMCE widget with the given configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDialogIncludes(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog)
java.lang.String
getDialogWidget(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog, org.opencms.widgets.I_CmsWidgetParameter param)
org.opencms.widgets.I_CmsWidget
newInstance()
-
Methods inherited from class org.opencms.widgets.A_CmsHtmlWidget
getConfiguration, parseWidgetOptions, setConfiguration, setEditorValue
-
-
-
-
Field Detail
-
BASE_CONTENT_CSS
public static final java.lang.String BASE_CONTENT_CSS
Path of the base content CSS.- See Also:
- Constant Field Values
-
PARAM_CONFIGURATION
public static final java.lang.String PARAM_CONFIGURATION
Request parameter name for the tool bar configuration parameter.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsTinyMCEWidget
public CmsTinyMCEWidget()
Creates a new TinyMCE widget.
-
CmsTinyMCEWidget
public CmsTinyMCEWidget(java.lang.String configuration)
Creates a new TinyMCE widget with the given configuration.- Parameters:
configuration
- the configuration to use
-
-
Method Detail
-
getDialogIncludes
public java.lang.String getDialogIncludes(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog)
- Specified by:
getDialogIncludes
in interfaceorg.opencms.widgets.I_CmsWidget
- Overrides:
getDialogIncludes
in classorg.opencms.widgets.A_CmsWidget
- See Also:
I_CmsWidget.getDialogIncludes(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog)
-
getDialogWidget
public java.lang.String getDialogWidget(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog, org.opencms.widgets.I_CmsWidgetParameter param)
- See Also:
I_CmsWidget.getDialogWidget(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)
-
newInstance
public org.opencms.widgets.I_CmsWidget newInstance()
- See Also:
I_CmsWidget.newInstance()
-
-