Class ExternalDragComponent
- java.lang.Object
-
- org.dashbuilder.client.editor.external.ExternalDragComponent
-
- All Implemented Interfaces:
ExternalComponentDragDef,org.uberfire.ext.layout.editor.client.api.HasConfiguration,org.uberfire.ext.layout.editor.client.api.HasDragAndDropSettings,org.uberfire.ext.layout.editor.client.api.HasModalConfiguration,org.uberfire.ext.layout.editor.client.api.LayoutDragComponent
@Dependent public class ExternalDragComponent extends Object implements ExternalComponentDragDef, org.uberfire.ext.layout.editor.client.api.HasModalConfiguration
-
-
Constructor Summary
Constructors Constructor Description ExternalDragComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.uberfire.mvp.CommandgetCloseCommand(org.dashbuilder.displayer.client.widgets.ExternalComponentEditorPopUp editor, org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)StringgetComponentIcon()StringgetComponentId()StringgetComponentName()org.gwtbootstrap3.client.ui.ModalgetConfigurationModal(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)com.google.gwt.user.client.ui.IsWidgetgetPreviewWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)protected org.uberfire.mvp.CommandgetSaveCommand(String componentId, org.dashbuilder.displayer.client.widgets.ExternalComponentEditorPopUp editor, org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)com.google.gwt.user.client.ui.IsWidgetgetShowWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)voidsetComponentId(String componentId)voidsetDragInfo(String componentName, String componentIcon)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dashbuilder.client.editor.external.ExternalComponentDragDef
getDragComponentIconClass, getDragComponentTitle, getMapSettings, getSettingsKeys, getSettingValue, setSettingValue
-
-
-
-
Method Detail
-
getPreviewWidget
public com.google.gwt.user.client.ui.IsWidget getPreviewWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)
- Specified by:
getPreviewWidgetin interfaceorg.uberfire.ext.layout.editor.client.api.LayoutDragComponent
-
getShowWidget
public com.google.gwt.user.client.ui.IsWidget getShowWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)
- Specified by:
getShowWidgetin interfaceorg.uberfire.ext.layout.editor.client.api.LayoutDragComponent
-
getComponentName
public String getComponentName()
- Specified by:
getComponentNamein interfaceExternalComponentDragDef
-
getComponentIcon
public String getComponentIcon()
- Specified by:
getComponentIconin interfaceExternalComponentDragDef
-
getComponentId
public String getComponentId()
- Specified by:
getComponentIdin interfaceExternalComponentDragDef
-
setComponentId
public void setComponentId(String componentId)
- Specified by:
setComponentIdin interfaceExternalComponentDragDef
-
setDragInfo
public void setDragInfo(String componentName, String componentIcon)
- Specified by:
setDragInfoin interfaceExternalComponentDragDef
-
getConfigurationModal
public org.gwtbootstrap3.client.ui.Modal getConfigurationModal(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
- Specified by:
getConfigurationModalin interfaceorg.uberfire.ext.layout.editor.client.api.HasModalConfiguration
-
getSaveCommand
protected org.uberfire.mvp.Command getSaveCommand(String componentId, org.dashbuilder.displayer.client.widgets.ExternalComponentEditorPopUp editor, org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
-
getCloseCommand
protected org.uberfire.mvp.Command getCloseCommand(org.dashbuilder.displayer.client.widgets.ExternalComponentEditorPopUp editor, org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
-
-