Class WorkbenchDragContext


  • public class WorkbenchDragContext
    extends Object
    The context of a drag and drop operation within the Workbench.
    • Constructor Detail

      • WorkbenchDragContext

        public WorkbenchDragContext​(org.uberfire.mvp.PlaceRequest place,
                                    org.uberfire.workbench.model.PartDefinition sourcePart,
                                    org.uberfire.workbench.model.PanelDefinition sourcePanel,
                                    org.uberfire.workbench.model.menu.Menus menus,
                                    String title,
                                    com.google.gwt.user.client.ui.IsWidget titleDecoration,
                                    com.google.gwt.user.client.ui.IsWidget widget,
                                    String contextId,
                                    Integer height,
                                    Integer width,
                                    Integer minHeight,
                                    Integer minWidth)
    • Method Detail

      • getPlace

        public org.uberfire.mvp.PlaceRequest getPlace()
        Returns:
        the place
      • getSourcePart

        public org.uberfire.workbench.model.PartDefinition getSourcePart()
        Returns:
        the sourcePart
      • getSourcePanel

        public org.uberfire.workbench.model.PanelDefinition getSourcePanel()
        Returns:
        the sourcePanel
      • getUiPart

        public UIPart getUiPart()
      • getHeight

        public final Integer getHeight()
      • getWidth

        public final Integer getWidth()
      • getMinHeight

        public final Integer getMinHeight()
      • getMinWidth

        public final Integer getMinWidth()
      • getMenus

        public org.uberfire.workbench.model.menu.Menus getMenus()
      • getContextId

        public String getContextId()