Package org.jboss.as.console.client.shared.subsys.messaging.forms

Examples of org.jboss.as.console.client.shared.subsys.messaging.forms.DiscoveryGroupForm


    public Widget asWidget() {
        VerticalPanel layout = new VerticalPanel();
        layout.addStyleName("window-content");

        final DiscoveryGroupForm form = new DiscoveryGroupForm(new FormToolStrip.FormCallback<DiscoveryGroup>() {
            @Override
            public void onSave(Map<String, Object> changeset) {

            }

            @Override
            public void onDelete(DiscoveryGroup entity) {

            }
        }, false);

        form.setIsCreate(true);
        form.setSocketBindings(names);

        layout.add(form.asWidget());

        DialogueOptions options = new DialogueOptions(
                new ClickHandler() {

                    @Override
                    public void onClick(ClickEvent event) {

                        Form<DiscoveryGroup> actualForm = form.getForm();
                        FormValidation validation = actualForm .validate();
                        if(!validation.hasErrors()) {
                            DiscoveryGroup entity = actualForm.getUpdatedEntity();
                            presenter.onCreateDiscoveryGroup(entity);
                        }
View Full Code Here



        factoryTable.addColumn(nameColumn, "Name");

        // defaultAttributes
        defaultAttributes = new DiscoveryGroupForm(new FormToolStrip.FormCallback<DiscoveryGroup>() {
            @Override
            public void onSave(Map<String, Object> changeset) {
                presenter.saveDiscoveryGroup(getSelectedEntity().getName(), changeset);
            }
            @Override
View Full Code Here


        factoryTable.addColumn(nameColumn, "Name");

        // defaultAttributes
        defaultAttributes = new DiscoveryGroupForm(new FormToolStrip.FormCallback<DiscoveryGroup>() {
            @Override
            public void onSave(Map<String, Object> changeset) {
                presenter.saveDiscoveryGroup(getSelectedEntity().getName(), changeset);
            }
            @Override
View Full Code Here


        factoryTable.addColumn(nameColumn, "Name");

        // defaultAttributes
        defaultAttributes = new DiscoveryGroupForm(new FormToolStrip.FormCallback<DiscoveryGroup>() {
            @Override
            public void onSave(Map<String, Object> changeset) {
                presenter.saveDiscoveryGroup(getSelectedEntity().getName(), changeset);
            }
            @Override
View Full Code Here

    public Widget asWidget() {
        VerticalPanel layout = new VerticalPanel();
        layout.addStyleName("window-content");

        final DiscoveryGroupForm form = new DiscoveryGroupForm(new FormToolStrip.FormCallback<DiscoveryGroup>() {
            @Override
            public void onSave(Map<String, Object> changeset) {

            }

            @Override
            public void onDelete(DiscoveryGroup entity) {

            }
        }, true);

        form.setSocketBindings(names);

        layout.add(form.asWidget());

        DialogueOptions options = new DialogueOptions(
                new ClickHandler() {

                    @Override
                    public void onClick(ClickEvent event) {

                        Form<DiscoveryGroup> actualForm = form.getForm();
                        FormValidation validation = actualForm .validate();
                        if(!validation.hasErrors()) {
                            DiscoveryGroup entity = actualForm.getUpdatedEntity();
                            presenter.onCreateDiscoveryGroup(entity);
                        }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.shared.subsys.messaging.forms.DiscoveryGroupForm

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.