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
Nested ClassesModifier and TypeClassDescriptionclassContext menu handler.classThe property saver. -
Field Summary
FieldsModifier and TypeFieldDescriptionChanged ids.protected com.google.gwt.user.client.rpc.AsyncCallback<Void> Callback to be called after the properties have been saved. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose(long delayMillis) Disposes of the extension on the server side and notifies the server of which resources have been changed.voidvoideditProperties(String editStructureId, boolean editName, boolean disablePrevNext) voideditPropertiesForNewResource(String propertyDataString) protected voidextend(com.vaadin.client.ServerConnector target) voidrequestNextFile(int offset, com.google.gwt.user.client.rpc.AsyncCallback<org.opencms.util.CmsUUID> callback) Requests the next / previous file id.voidsendNextId(String id) Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParentMethods 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:
confirmSaveForNewin interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc- See Also:
-
editProperties
- Specified by:
editPropertiesin interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc- See Also:
-
editPropertiesForNewResource
- Specified by:
editPropertiesForNewResourcein interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc- See Also:
-
requestNextFile
public void requestNextFile(int offset, com.google.gwt.user.client.rpc.AsyncCallback<org.opencms.util.CmsUUID> callback) Description copied from interface:CmsEditProperties.I_MultiFileNavigationRequests the next / previous file id.- Specified by:
requestNextFilein 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:
sendNextIdin interfaceorg.opencms.ui.shared.rpc.I_CmsPropertyClientRpc- See Also:
-
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:
extendin classcom.vaadin.client.extensions.AbstractExtensionConnector- See Also:
-