Examples of asWidget()


Examples of org.drools.guvnor.client.explorer.navigation.NavigationPanelView.asWidget()

    Widget navigationPanel;

    public AuthorPerspectiveViewImpl(ClientFactory clientFactory, NavigationPanelFactory navigationPanelFactory) {
        this.clientFactory = clientFactory;
        NavigationPanelView view = navigationPanelFactory.createNavigationPanel( getBuilders() ).getView();
        navigationPanel = view.asWidget();
        initWidget( uiBinder.createAndBindUi( this ) );
    }

    private Collection<NavigationItemBuilder> getBuilders() {
View Full Code Here

Examples of org.drools.guvnor.client.widgets.drools.explorer.ArtifactDependenciesExplorerWidget.asWidget()

    public void setupMavenArtifacts(final ClickEvent e) {

        final ArtifactDependenciesExplorerWidget widget =
                new ArtifactDependenciesExplorerWidget(assetName, serviceArtifacts, config.getExcludedArtifacts());

        final InternalPopup popup = new InternalPopup(widget.asWidget(), Constants.INSTANCE.ManageDependenciesEllipsis());

        popup.addOkButtonClickHandler(new ClickHandler() {

            public void onClick(ClickEvent event) {
                try {
View Full Code Here

Examples of org.drools.guvnor.client.widgets.drools.explorer.AssetResourceExplorerWidget.asWidget()

                assetPackageName, clientFactory,
                SERVICE_CONFIG_RESOURCE,
                HIDE_NAME_AND_DESCRIPTION,
                ALL_PACKAGES);

        final InternalPopup popup = new InternalPopup(widget.asWidget(), Constants.INSTANCE.AddNewAsset());

        popup.addOkButtonClickHandler(new ClickHandler() {

            public void onClick(ClickEvent event) {
                try {
View Full Code Here

Examples of org.drools.workbench.screens.guided.dtable.client.wizard.pages.AbstractGuidedDecisionTableWizardPage.asWidget()

    }

    @Override
    public Widget getPageWidget( final int pageNumber ) {
        final AbstractGuidedDecisionTableWizardPage dtp = (AbstractGuidedDecisionTableWizardPage) this.pages.get( pageNumber );
        final Widget w = dtp.asWidget();
        dtp.prepareView();
        return w;
    }

    @Override
View Full Code Here

Examples of org.jboss.as.console.client.core.message.MessageCenterView.asWidget()

        LayoutPanel rhs = new LayoutPanel();
        rhs.setStyleName("fill-layout");

        MessageCenterView messageCenterView = new MessageCenterView(messageCenter);
        Widget messageCenter = messageCenterView.asWidget();
        rhs.add(messageCenter);
        rhs.add(links);

        rhs.setWidgetRightWidth(messageCenter, 10, Style.Unit.PX, 100, Style.Unit.PCT);
        rhs.setWidgetRightWidth(links, 10, Style.Unit.PX, 100, Style.Unit.PCT);
View Full Code Here

Examples of org.jboss.as.console.client.rbac.AccessLogView.asWidget()

                window.setWidth(480);
                window.setHeight(360);


                AccessLogView panel = new AccessLogView();
                Widget w = panel.asWidget();
                window.setWidget(new ScrollPanel(w));

                window.setModal(false);
                //window.setGlassEnabled(true);
                window.center();
View Full Code Here

Examples of org.jboss.as.console.client.samples.Sample.asWidget()

        if(null==match)
            throw new RuntimeException("No matching sample: "+id);

        content.clear();
        content.add(match.asWidget(), match.getName());
        content.selectTab(0);

    }

    @Override
View Full Code Here

Examples of org.jboss.as.console.client.shared.deployment.DeploymentFilter.asWidget()

        DefaultPager pager = new DefaultPager();
        pager.setDisplay(table);

        ToolStrip toolStrip = new ToolStrip();
        DeploymentFilter filter = new DeploymentFilter(dataProvider);
        toolStrip.addToolWidget(filter.asWidget());

        layout.add(new ContentHeaderLabel("Server Group: "+serverGroup.getGroupName()));
        layout.add(new ContentGroupLabel("Available Deployment Content"));
        layout.add(toolStrip.asWidget());
        layout.add(table.asWidget());
View Full Code Here

Examples of org.jboss.as.console.client.shared.general.SocketTable.asWidget()

        layout.getElement().setAttribute("style", "padding:15px;");

        layout.add(new ContentHeaderLabel("Effective ports on server: "+server.getName()));

        SocketTable socketTable = new SocketTable(server.getPortOffset());
        DefaultCellTable tableWidget = socketTable.asWidget();
        ScrollPanel scroll = new ScrollPanel(tableWidget);
        layout.add(scroll);
        socketTable.updateFrom("none", socketBindings);

        DefaultPager pager = new DefaultPager();
View Full Code Here

Examples of org.jboss.as.console.client.shared.general.forms.LocalSocketForm.asWidget()

            }
        }, false);

        form.setIsCreate(true);

        layout.add(form.asWidget());

        DialogueOptions options = new DialogueOptions(
                new ClickHandler() {

                    @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.