Package org.kie.uberfire.client.common.popups

Examples of org.kie.uberfire.client.common.popups.FormStylePopup.show()


            }
        }
        ) );

        enableFooter( false );
        pop.show();
    }

    private boolean isValidFactType() {
        return !( editingCol.getBoundName() == null || "".equals( editingCol.getBoundName() ) );
    }
View Full Code Here


                form.addAttribute( GuidedRuleEditorResources.CONSTANTS.AFormula() + ":",
                                   widgets( formula,
                                            new InfoPopup( GuidedRuleEditorResources.CONSTANTS.AFormula(),
                                                           GuidedRuleEditorResources.CONSTANTS.FormulaExpressionTip() ) ) );

                form.show();
            }
        } );

    }
View Full Code Here

                                                   true );
                }
            } );
        }

        popup.show();
    }

    //Check if there are any fields other than "this"
    private boolean hasApplicableFields( final ModelField[] fields ) {
        if ( fields == null || fields.length == 0 ) {
View Full Code Here

            }
        } );
        popup.addAttribute( GuidedRuleEditorResources.CONSTANTS.ExpressionEditor(),
                            ebBtn );

        popup.show();

    }

    /**
     * This shows a popup allowing you to add field constraints to a pattern
View Full Code Here

                                ebBtn );

            doBindingEditor( popup );
        }

        popup.show();
    }

    private String getFactType( FactPattern fp,
                                SingleFieldConstraint sfc ) {
        String factType;
View Full Code Here

        form.addAttribute( GuidedRuleEditorResources.CONSTANTS.Formula() + ":",
                           widgets( formula,
                                    new InfoPopup( GuidedRuleEditorResources.CONSTANTS.Formula(),
                                                   GuidedRuleEditorResources.CONSTANTS.FormulaTip() ) ) );

        form.show();
    }

    private List<String> getApplicableBindings() {
        List<String> bindings = new ArrayList<String>();
View Full Code Here

            }
        }
        ) );

        enableFooter( false );
        pop.show();
    }

    private boolean unique( String header ) {
        for ( ActionCol52 o : model.getActionCols() ) {
            if ( o.getHeader().equals( header ) ) {
View Full Code Here

            }
        }
        ) );

        enableFooter( false );
        pop.show();
    }

    protected void showNewPatternDialog() {
        final FormStylePopup pop = new FormStylePopup( GuidedDecisionTableConstants.INSTANCE.FactType() );
        pop.setTitle( GuidedDecisionTableConstants.INSTANCE.NewFactSelectTheType() );
View Full Code Here

            }
        }
        ) );

        enableFooter( false );
        pop.show();
    }

    private boolean isBindingUnique( String binding ) {
        for ( Pattern52 p : model.getPatterns() ) {
            if ( p.getBoundName().equals( binding ) ) {
View Full Code Here

                                        } );

            }
        } );

        popup.show();
    }

    private Widget valueEditor( final ActionFieldFunction val ) {
        return new MethodParameterValueEditor(
                oracle,
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.