Package org.opencms.ui.apps.modules
Class CmsModuleImportForm
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.ui.AbstractComponent
-
- com.vaadin.ui.AbstractComponentContainer
-
- com.vaadin.ui.AbstractLayout
-
- com.vaadin.ui.CssLayout
-
- org.opencms.ui.apps.modules.A_CmsModuleImportForm
-
- org.opencms.ui.apps.modules.CmsModuleImportForm
-
- All Implemented Interfaces:
com.vaadin.event.ContextClickEvent.ContextClickNotifier
,com.vaadin.event.LayoutEvents.LayoutClickNotifier
,com.vaadin.event.MethodEventSource
,com.vaadin.server.ClientConnector
,com.vaadin.server.Sizeable
,com.vaadin.shared.Connector
,com.vaadin.ui.Component
,com.vaadin.ui.ComponentContainer
,com.vaadin.ui.HasComponents
,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
,com.vaadin.ui.Layout
,java.io.Serializable
,java.lang.Iterable<com.vaadin.ui.Component>
public class CmsModuleImportForm extends A_CmsModuleImportForm
The form for importing modules via HTTP.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vaadin.ui.Button
m_cancel
The cancel button.protected com.vaadin.ui.Button
m_ok
The OK button.protected CmsAutoItemCreatingComboBox
m_siteSelect
The site selector.protected com.vaadin.v7.ui.Upload
m_upload
The upload widget.protected com.vaadin.v7.ui.Label
m_uploadLabel
The label for the upload widget.-
Fields inherited from class org.opencms.ui.apps.modules.A_CmsModuleImportForm
m_app, m_importFile
-
-
Constructor Summary
Constructors Constructor Description CmsModuleImportForm(CmsModuleApp app, com.vaadin.v7.ui.VerticalLayout start, com.vaadin.v7.ui.VerticalLayout report, java.lang.Runnable run)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.ui.Button
getCancelButton()
Gets the cancel button.protected com.vaadin.ui.Button
getOkButton()
Gets the OK button.protected CmsAutoItemCreatingComboBox
getSiteSelector()
Returns the site selector for the module import.-
Methods inherited from class org.opencms.ui.apps.modules.A_CmsModuleImportForm
getButtons, processFileName, validateModuleFile
-
Methods inherited from class com.vaadin.ui.CssLayout
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, writeDesign
-
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
-
Methods inherited from interface com.vaadin.ui.ComponentContainer
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
-
-
-
-
Field Detail
-
m_cancel
protected com.vaadin.ui.Button m_cancel
The cancel button.
-
m_ok
protected com.vaadin.ui.Button m_ok
The OK button.
-
m_siteSelect
protected CmsAutoItemCreatingComboBox m_siteSelect
The site selector.
-
m_upload
protected com.vaadin.v7.ui.Upload m_upload
The upload widget.
-
m_uploadLabel
protected com.vaadin.v7.ui.Label m_uploadLabel
The label for the upload widget.
-
-
Constructor Detail
-
CmsModuleImportForm
public CmsModuleImportForm(CmsModuleApp app, com.vaadin.v7.ui.VerticalLayout start, com.vaadin.v7.ui.VerticalLayout report, java.lang.Runnable run)
Creates a new instance.- Parameters:
app
- the module manager app instance for which this was opened
-
-
Method Detail
-
getCancelButton
protected com.vaadin.ui.Button getCancelButton()
Description copied from class:A_CmsModuleImportForm
Gets the cancel button.- Specified by:
getCancelButton
in classA_CmsModuleImportForm
- Returns:
- the cancel button
- See Also:
A_CmsModuleImportForm.getCancelButton()
-
getOkButton
protected com.vaadin.ui.Button getOkButton()
Description copied from class:A_CmsModuleImportForm
Gets the OK button.- Specified by:
getOkButton
in classA_CmsModuleImportForm
- Returns:
- the OK button
- See Also:
A_CmsModuleImportForm.getOkButton()
-
getSiteSelector
protected CmsAutoItemCreatingComboBox getSiteSelector()
Description copied from class:A_CmsModuleImportForm
Returns the site selector for the module import.- Specified by:
getSiteSelector
in classA_CmsModuleImportForm
- Returns:
- the site selector
- See Also:
A_CmsModuleImportForm.getSiteSelector()
-
-