Class DisabledExperimentalLayoutComponent

    • Constructor Detail

      • DisabledExperimentalLayoutComponent

        @Inject
        public DisabledExperimentalLayoutComponent​(org.uberfire.experimental.client.disabled.component.DisabledFeatureComponent component,
                                                   org.jboss.errai.ui.client.local.spi.TranslationService translationService)
    • Method Detail

      • getPreviewWidget

        public com.google.gwt.user.client.ui.IsWidget getPreviewWidget​(RenderingContext ctx)
        Description copied from interface: LayoutDragComponent
        Widget shown during the layout edition.

        Notice this is just a widget preview, so not all the component features need to be available at preview time. Just a widget that gives the user an idea of how the final component might look like.

        Specified by:
        getPreviewWidget in interface LayoutDragComponent
        Parameters:
        ctx - The context for the component being rendered
      • getShowWidget

        public com.google.gwt.user.client.ui.IsWidget getShowWidget​(RenderingContext ctx)
        Description copied from interface: LayoutDragComponent
        The widget that display and provides all the component features. This is the widget during the layout rendering process.
        Specified by:
        getShowWidget in interface LayoutDragComponent
        Parameters:
        ctx - The context for the component being rendered
      • getFeatureId

        public String getFeatureId()
      • setFeatureId

        public void setFeatureId​(String featureId)