Package org.opencms.ui.shared.components
Interface I_CmsGwtDialogClientRpc
- All Superinterfaces:
com.vaadin.shared.communication.ClientRpc
,Serializable
Server-to-client Interface for the GWT dialog extension.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
editPointer
(String structureId) Opens the 'external link' editor dialog for a pointer resource.void
editProperties
(String structureId, boolean editName) Tells the client to open the property editing dialog for the resource with the given structure id.void
openCategoriesDialog
(String structureId, boolean collapsed) Opens the categories dialog.void
openContentEditor
(String structureId, String fileName) Opens the XML content editor for the resource with the given structure id.void
openGalleryDialog
(String galleryConfiguration) Opens the gallery dialog with the given JSON configuration.void
openInfoDialog
(String structureId, String startTab) Opens the resource info dialog for the resource with the given structure id.void
openLockReport
(String dialogTitle, String structureId) Opens the lock report dialog.void
openPublishDialog
(String serializedPublishData) Opens the publish dialog with the given publish data.void
openReplaceDialog
(String structureId) Opens the 'replace' dialog for the resource with the given structure id.void
Shows the OpenCms about dialog.void
showPreview
(String uuid, String historyVersion) Shows the preview dialog for resource with the given structure id and version string.void
Shows the user preferences.
-
Method Details
-
editPointer
Opens the 'external link' editor dialog for a pointer resource.- Parameters:
structureId
- the structure id of the resource
-
editProperties
Tells the client to open the property editing dialog for the resource with the given structure id.- Parameters:
structureId
- the structure id of a resource, as a stringeditName
- if true, makes the file name editable
-
openCategoriesDialog
Opens the categories dialog.- Parameters:
structureId
- the structure id of the resource to open the dialog forcollapsed
- flag, indicating if all categories should be collapsed when the dialog opens
-
openContentEditor
Opens the XML content editor for the resource with the given structure id.- Parameters:
structureId
- the structure id of a resourcefileName
- the site path to the resource to edit
-
openGalleryDialog
Opens the gallery dialog with the given JSON configuration.- Parameters:
galleryConfiguration
- the gallery configuration
-
openInfoDialog
Opens the resource info dialog for the resource with the given structure id.- Parameters:
structureId
- the structure id of a resource, as a stringstartTab
- the start tab id
-
openLockReport
Opens the lock report dialog.- Parameters:
dialogTitle
- the dialog titlestructureId
- the structure id of the resource to open the dialog for
-
openPublishDialog
Opens the publish dialog with the given publish data.- Parameters:
serializedPublishData
- the publish data, an instance of CmsPublishData serialized with the GWT serialization mechanism
-
openReplaceDialog
Opens the 'replace' dialog for the resource with the given structure id.- Parameters:
structureId
- the structure id of a resource
-
showAbout
void showAbout()Shows the OpenCms about dialog. -
showPreview
Shows the preview dialog for resource with the given structure id and version string.The version string format is defined by the toString() method of org.opencms.gwt.shared.CmsHistoryVersion.
- Parameters:
uuid
- the UUIDhistoryVersion
- the history version string
-
showUserPreferences
void showUserPreferences()Shows the user preferences.
-