public final class CmsContentEditorDialog
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
protected void |
close()
Closes the dialog.
|
static com.google.gwt.dom.client.FormElement |
generateForm(I_CmsEditableData editableData,
boolean isNew,
java.lang.String target)
Generates the form to post to the editor frame.
|
static CmsContentEditorDialog |
get()
Returns the dialogs instance.
|
protected I_CmsEditableData |
getEditableData()
Returns the editable data.
|
protected void |
onWindowClose()
Execute on window close.
|
protected void |
openDialog()
Opens the dialog for the given sitepath.
|
void |
openEditDialog(I_CmsEditableData editableData,
boolean isNew,
I_CmsContentEditorHandler editorHandler)
Opens the content editor dialog for the given element.
|
public static com.google.gwt.dom.client.FormElement generateForm(I_CmsEditableData editableData, boolean isNew, java.lang.String target)
editableData
- the data about the resource which should be editedisNew
- true if the resource to be edited doesn'T already existtarget
- the target of the form to be createdpublic static CmsContentEditorDialog get()
public void openEditDialog(I_CmsEditableData editableData, boolean isNew, I_CmsContentEditorHandler editorHandler)
editableData
- the editable dataisNew
- true
when creating a new resourceeditorHandler
- the editor handlerprotected void close()
protected I_CmsEditableData getEditableData()
protected void onWindowClose()
Will ask the user if the edited content should be saved.
protected void openDialog()