Package org.uberfire.client.common

Examples of org.uberfire.client.common.SmallLabel


                        g.setWidget( row,
                                     0,
                                     getEventImage( lg[ 0 ] ) );
                        g.setWidget( row,
                                     1,
                                     new SmallLabel( lg[ 1 ] ) );
                    } else {
                        g.setWidget( row,
                                     1,
                                     hz( getEventImage( lg[ 0 ] ),
                                         new SmallLabel( lg[ 1 ] ) ) );
                    }
                    row++;
                } else if ( id == 6 ) {
                    firing = true;
                    g.setWidget( row,
                                 0,
                                 getEventImage( lg[ 0 ] ) );
                    g.setWidget( row,
                                 1,
                                 new SmallLabel( "<b>" + lg[ 1 ] + "</b>" ) );
                    row++;
                } else if ( id == 7 ) {
                    firing = false;
                } else {
                    g.setWidget( row,
                                 0,
                                 getEventImage( lg[ 0 ] ) );
                    g.setWidget( row,
                                 1,
                                 new SmallLabel( "<font color='grey'>" + lg[ 1 ] + "</font>" ) );
                    row++;
                }
            } else {
                g.setWidget( row,
                             0,
                             new Image( AuditEventsImages.INSTANCE.miscEvent() ) );
                g.setWidget( row,
                             1,
                             new SmallLabel( "<font color='grey'>" + lg[ 1 ] + "</font>" ) );
                row++;
            }
        }
        vp.add( g );
        vp.add( new HTML( "<hr/>" ) );
View Full Code Here


                                         HasHorizontalAlignment.ALIGN_CENTER,
                                         HasVerticalAlignment.ALIGN_MIDDLE );
        setStyleName( "modeller-fact-pattern-Widget" );
        setWidget( 0,
                   0,
                   new SmallLabel( TestScenarioConstants.INSTANCE.RetractFacts() ) );
        getFlexCellFormatter().setColSpan( 0,
                                           0,
                                           2 );

        int row = 1;
        for ( Fixture fixture : retractList ) {
            if ( fixture instanceof RetractFact) {
                final RetractFact retractFact = (RetractFact) fixture;
                setWidget( row,
                           0,
                           new SmallLabel( retractFact.getName() ) );

                setWidget( row,
                           1,
                           new DeleteButton( retractFact ) );
View Full Code Here

            public void onClick(ClickEvent event) {
                ListBox rules = new ListBox(true);
                for (String ruleName : executionTrace.getRulesFired()) {
                    rules.addItem(ruleName);
                }
                add(new SmallLabel("&nbsp:" + TestScenarioConstants.INSTANCE.RulesFired()));
                add(rules);
                show.setVisible(false);
            }
        });
View Full Code Here

    }

    protected HorizontalPanel createHorizontalPanel() {
        HorizontalPanel h = new HorizontalPanel();
        h.add(new GlobalButton(getScenario(), this.scenarioWidget, dmo));
        h.add(new SmallLabel(TestScenarioConstants.INSTANCE.globals()));
        return h;
    }
View Full Code Here

        h.add(new SmallLabel(TestScenarioConstants.INSTANCE.globals()));
        return h;
    }

    protected SmallLabel createSmallLabel() {
        return new SmallLabel(TestScenarioConstants.INSTANCE.configuration());
    }
View Full Code Here

            showList.addClickHandler(new ClickHandler() {

                public void onClick(ClickEvent event) {
                    horizontalPanel.remove(showList);
                    final Image busy = new Image(ImageResources.INSTANCE.searching());
                    final Label loading = new SmallLabel(TestScenarioConstants.INSTANCE.loadingList1());
                    horizontalPanel.add(busy);
                    horizontalPanel.add(loading);

//                    Scheduler scheduler = Scheduler.get();
//                    scheduler.scheduleDeferred(new Command() {
View Full Code Here


        addLiteralValueSelection();

        addRow(new HTML("<hr/>"));
        addRow(new SmallLabel(TestScenarioConstants.INSTANCE.AdvancedOptions()));

        // If we are here, then there must be a bound variable compatible with
        // me
        if (helper.isThereABoundVariableToSet()) {
            addBoundVariableSelection();
View Full Code Here

        form.addAttribute( TestScenarioConstants.INSTANCE.LiteralValue() + ":",
                           widgets( lit,
                                    new InfoPopup( TestScenarioConstants.INSTANCE.Literal(),
                                            TestScenarioConstants.INSTANCE.LiteralValTip() ) ) );
        form.addRow( new HTML( "<hr/>" ) );
        form.addRow( new SmallLabel( TestScenarioConstants.INSTANCE.AdvancedSection() ) );

        /*
         * If there is a bound variable that is the same type of the current
         * variable type, then show abutton
         */
 
View Full Code Here

        add( new ExpectationButton( previousEx,
                                    scenario,
                                    parent,
                                    scenarioWidgetComponentCreator,
                                    dmo) );
        add( new SmallLabel( TestScenarioConstants.INSTANCE.EXPECT() ) );
        add( new DeleteButton() );
    }
View Full Code Here

        add(new NewDataButton(previousEx,
                scenario,
                executionTrace,
                scenarioWidget,
                dmo));
        add(new SmallLabel( TestScenarioConstants.INSTANCE.GIVEN()));

    }
View Full Code Here

TOP

Related Classes of org.uberfire.client.common.SmallLabel

Copyright © 2018 www.massapicom. 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.