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 TypeMethodDescriptionvoideditPointer(String structureId) Opens the 'external link' editor dialog for a pointer resource.voideditProperties(String structureId, boolean editName) Tells the client to open the property editing dialog for the resource with the given structure id.voidopenCategoriesDialog(String structureId, boolean collapsed) Opens the categories dialog.voidopenContentEditor(String structureId, String fileName) Opens the XML content editor for the resource with the given structure id.voidopenGalleryDialog(String galleryConfiguration) Opens the gallery dialog with the given JSON configuration.voidopenInfoDialog(String structureId, String startTab) Opens the resource info dialog for the resource with the given structure id.voidopenLockReport(String dialogTitle, String structureId) Opens the lock report dialog.voidopenPublishDialog(String serializedPublishData) Opens the publish dialog with the given publish data.voidopenReplaceDialog(String structureId) Opens the 'replace' dialog for the resource with the given structure id.voidShows the OpenCms about dialog.voidshowPreview(String uuid, String historyVersion) Shows the preview dialog for resource with the given structure id and version string.voidShows 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.
-