Package org.drools.guvnor.client.common

Examples of org.drools.guvnor.client.common.PrettyFormLayout.addHeader()


        Label caption = new Label(constants.PermissionDetails());
        caption.getElement().getStyle().setFontWeight(FontWeight.BOLD);
        header.add(caption);
        header.add(howToTurnOn());

        pf.addHeader(images.userPermissionsLarge(),
                header);

        layout = new VerticalPanel();
        layout.setHeight("100%");
        layout.setWidth("100%");
View Full Code Here


        this.snapInfo = snapInfo;
        this.parentConf = parentPackage;
        this.close = closeSnap;
        PrettyFormLayout head = new PrettyFormLayout();

        head.addHeader( "images/snapshot.png",
                        header() );

        this.centerPanel = center;

        vert.add( head );
View Full Code Here

        PrettyFormLayout pf = new PrettyFormLayout();

        VerticalPanel header = new VerticalPanel();
        header.add(new HTML(constants.ArchivedItems()));

        pf.addHeader("images/backup_large.png", header); //NON-NLS




        EditItemEvent edit = new EditItemEvent () {
View Full Code Here

    private Constants constants = ((Constants) GWT.create(Constants.class));

    public RuleVerifierManager() {

        PrettyFormLayout form = new PrettyFormLayout();
        form.addHeader("images/rule_verification.png", new HTML(constants.EditRulesVerificationConfiguration())); //NON-NLS
        form.startSection(constants.AutomaticVerification());

        final CheckBox enableOnlineValidator = new CheckBox();
        enableOnlineValidator.setValue(WorkingSetManager.getInstance().isAutoVerifierEnabled());
        form.addAttribute(constants.Enabled(), enableOnlineValidator  );
View Full Code Here

    private Constants constants = GWT.create(Constants.class);

    public BackupManager() {

        PrettyFormLayout widtab = new PrettyFormLayout();
        widtab.addHeader( "images/backup_large.png",
                          new HTML(constants.ImportOrExport()) );

        widtab.startSection(constants.ImportFromAnXmlFile());
        widtab.addAttribute( "",
                             newImportWidget() );
View Full Code Here

    private ListBox currentStatuses;
    private Constants constants = ((Constants) GWT.create(Constants.class));

    public StateManager() {
        PrettyFormLayout form = new PrettyFormLayout();
        form.addHeader( "images/status_large.png",
                        new HTML( "<b>" + constants.ManageStatuses() + "</b>" ) );
        form.startSection(constants.StatusTagsAreForTheLifecycleOfAnAsset());

        currentStatuses = new ListBox();
        currentStatuses.setVisibleItemCount( 7 );
View Full Code Here

                runAnalysis();
            }
        } );
        vert.add( run );

        pf.addHeader( "images/analyse_large.png",
                      vert );
        layout.add( pf );

        layout.add( new Label() );
View Full Code Here

    private Constants constants = ((Constants) GWT.create(Constants.class));

    public RuleVerifierManager() {

        PrettyFormLayout form = new PrettyFormLayout();
        form.addHeader("images/rule_verification.png", new HTML(constants.EditRulesVerificationConfiguration())); //NON-NLS
        form.startSection(constants.AutomaticVerification());

        final CheckBox enableOnlineValidator = new CheckBox();
        enableOnlineValidator.setValue(WorkingSetManager.getInstance().isAutoVerifierEnabled());
        form.addAttribute(constants.Enabled(), enableOnlineValidator  );
View Full Code Here

    private Constants constants = ((Constants) GWT.create(Constants.class));

    public CategoryManager() {

        PrettyFormLayout form = new PrettyFormLayout();
        form.addHeader("images/edit_category.gif", new HTML(constants.EditCategories())); //NON-NLS
        form.startSection(constants.CategoriesPurposeTip());

        explorer = new CategoryExplorerWidget(new CategorySelectHandler() {
            public void selected(String sel) {
                //don't need this here as we don't do anything on select in this spot
View Full Code Here

    private Constants constants = GWT.create(Constants.class);

    public BackupManager() {

        PrettyFormLayout widtab = new PrettyFormLayout();
        widtab.addHeader( "images/backup_large.png",
                          new HTML(constants.ImportOrExport()) );

        widtab.startSection(constants.ImportFromAnXmlFile());
        widtab.addAttribute( "",
                             newImportWidget() );
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.