Class PerspectiveDragComponent
- java.lang.Object
-
- org.dashbuilder.client.cms.layout.editor.PerspectiveDragComponent
-
- All Implemented Interfaces:
org.uberfire.ext.layout.editor.client.api.HasConfiguration,org.uberfire.ext.layout.editor.client.api.HasModalConfiguration,org.uberfire.ext.layout.editor.client.api.LayoutDragComponent,org.uberfire.ext.plugin.client.perspective.editor.api.PerspectiveEditorCoreComponent
@Dependent public class PerspectiveDragComponent extends Object implements org.uberfire.ext.plugin.client.perspective.editor.api.PerspectiveEditorCoreComponent, org.uberfire.ext.layout.editor.client.api.HasModalConfiguration
Runtime perspective drag component.
-
-
Constructor Summary
Constructors Constructor Description PerspectiveDragComponent(PerspectiveDragConfigModal perspectiveDragConfigModal, PerspectiveWidget perspectiveWidget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gwtbootstrap3.client.ui.ModalgetConfigurationModal(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)StringgetDragComponentIconClass()StringgetDragComponentTitle()com.google.gwt.user.client.ui.IsWidgetgetPreviewWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)com.google.gwt.user.client.ui.IsWidgetgetShowWidget(org.uberfire.ext.layout.editor.client.api.RenderingContext ctx)protected voidperspectiveSelectionCancel(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)protected voidperspectiveSelectionOk(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
-
-
-
Constructor Detail
-
PerspectiveDragComponent
@Inject public PerspectiveDragComponent(PerspectiveDragConfigModal perspectiveDragConfigModal, PerspectiveWidget perspectiveWidget)
-
-
Method Detail
-
getDragComponentTitle
public String getDragComponentTitle()
- Specified by:
getDragComponentTitlein interfaceorg.uberfire.ext.layout.editor.client.api.LayoutDragComponent
-
getDragComponentIconClass
public String getDragComponentIconClass()
- Specified by:
getDragComponentIconClassin interfaceorg.uberfire.ext.layout.editor.client.api.LayoutDragComponent
-
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
-
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
-
perspectiveSelectionOk
protected void perspectiveSelectionOk(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
-
perspectiveSelectionCancel
protected void perspectiveSelectionCancel(org.uberfire.ext.layout.editor.client.api.ModalConfigurationContext ctx)
-
-