Package org.opencms.ui.client
Class CmsPropertyDialogExtensionConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
org.opencms.ui.client.CmsPropertyDialogExtensionConnector
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
,com.vaadin.client.ServerConnector
,com.vaadin.shared.communication.ClientRpc
,com.vaadin.shared.Connector
,Serializable
,CmsEditProperties.I_MultiFileNavigation
,org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
public class CmsPropertyDialogExtensionConnector
extends com.vaadin.client.extensions.AbstractExtensionConnector
implements org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc, CmsEditProperties.I_MultiFileNavigation
Connector for the property dialog extension.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Context menu handler.class
The property saver. -
Field Summary
Modifier and TypeFieldDescriptionChanged ids.protected com.google.gwt.user.client.rpc.AsyncCallback<Void>
Callback to be called after the properties have been saved. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
close
(long delayMillis) Disposes of the extension on the server side and notifies the server of which resources have been changed.void
void
editProperties
(String editStructureId, boolean editName, boolean disablePrevNext) void
editPropertiesForNewResource
(String propertyDataString) protected void
extend
(com.vaadin.client.ServerConnector target) void
requestNextFile
(int offset, com.google.gwt.user.client.rpc.AsyncCallback<org.opencms.util.CmsUUID> callback) Requests the next / previous file id.void
sendNextId
(String id) Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParent
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState
-
Field Details
-
m_changed
Changed ids. -
m_propertySaveCallback
Callback to be called after the properties have been saved.
-
-
Constructor Details
-
CmsPropertyDialogExtensionConnector
public CmsPropertyDialogExtensionConnector()
-
-
Method Details
-
confirmSaveForNew
- Specified by:
confirmSaveForNew
in interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
- See Also:
-
I_CmsPropertyClientRpc.confirmSaveForNew()
-
editProperties
- Specified by:
editProperties
in interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
- See Also:
-
I_CmsPropertyClientRpc.editProperties(java.lang.String, boolean, boolean)
-
editPropertiesForNewResource
- Specified by:
editPropertiesForNewResource
in interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
- See Also:
-
I_CmsPropertyClientRpc.editPropertiesForNewResource(java.lang.String)
-
requestNextFile
public void requestNextFile(int offset, com.google.gwt.user.client.rpc.AsyncCallback<org.opencms.util.CmsUUID> callback) Description copied from interface:CmsEditProperties.I_MultiFileNavigation
Requests the next / previous file id.- Specified by:
requestNextFile
in interfaceCmsEditProperties.I_MultiFileNavigation
- Parameters:
offset
- should be 1 for the next file, or -1 for the previous filecallback
- the callback to call with the id- See Also:
-
sendNextId
- Specified by:
sendNextId
in interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
- See Also:
-
I_CmsPropertyClientRpc.sendNextId(java.lang.String)
-
close
Disposes of the extension on the server side and notifies the server of which resources have been changed.- Parameters:
delayMillis
- the time to wait on the server before refreshing the view
-
extend
- Specified by:
extend
in classcom.vaadin.client.extensions.AbstractExtensionConnector
- See Also:
-
AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)
-