Examples of center()


Examples of org.gwtoolbox.widget.client.popup.dialog.Dialog.center()

                dialog.setWidget(main);

                dialog.setPopupPositionAndShow(new Popup.PositionCallback() {
                    public void setPosition(int offsetWidth, int offsetHeight) {
                        dialog.center();
                    }
                });

                final HandlerRegistration windowResizeHandlerRegistration = Window.addResizeHandler(new ResizeHandler() {
                    public void onResize(ResizeEvent event) {
View Full Code Here

Examples of org.jboss.as.console.client.shared.patching.ui.RestartModal.center()

        }
        restartNode.get(OP).set(SHUTDOWN);
        restartNode.get("restart").set(true);

        final RestartModal restartModal = new RestartModal();
        restartModal.center();

        RestartOp restartOp = new RestartOp(dispatcher);
        restartOp.start(dispatcher, restartNode, new TimeoutOperation.Callback() {
            @Override
            public void onSuccess() {
View Full Code Here

Examples of org.jboss.as.console.client.widgets.DefaultWindow.center()

                messagePopup.getMessageList().getSelectionModel().setSelected(msg, false);
                messagePopup.hide();
            }
        });

        window.center();
    }

    private MessageListPopup getMessagePopup() {
        return messagePopup;
    }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.progress.ProgressWindow.center()

                    callback.onSuccess(widget.asWidget());
                }
            };

            // execute pipeline
            progress.center();
            progress.getBar().setProgress(25.0);

            new Async<Context>().waterfall(
                    context, outcome,
                    prepareContext, readOperationMetaData, createSecurityContext, readResourceMetaData
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.window.DefaultWindow.center()

                        if (result)
                            activateSubsystem();
                    }
                }).asWidget());
        window.setGlassEnabled(true);
        window.center();
    }

    protected void activateSubsystem() {
        // Since it takes a few moments for the subsystem to activate we're showing a window indicating this
        final DefaultWindow window = new DefaultWindow(Console.CONSTANTS.subsys_osgi());
View Full Code Here

Examples of org.jboss.bpm.console.client.search.SearchWindow.center()

    Command cmd2 = new Command() {
      public void execute()
      {
        SearchWindow sw = new SearchWindow("Open process summary report", search);
        sw.center();

        controller.handleEvent(
            new Event(
                UpdateSearchDefinitionsAction.ID,
                "report.definition.search"
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.center()

        return overlay;
    }
   
    private JComponent layout(UiProvider selector) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.center(selector);
        if (preference != null) {
            KongaCheckBox checkBox = createDoNotShowAgainCheckBox();
            layout.south(checkBox);
        }
        return layout.container();
View Full Code Here

Examples of org.kie.uberfire.client.common.FormStylePopup.center()

                            removeItem( NewColumnTypes.ACTION_WORKITEM.name() );
                            removeItem( NewColumnTypes.ACTION_WORKITEM_UPDATE_FACT_FIELD.name() );
                            removeItem( NewColumnTypes.ACTION_WORKITEM_INSERT_FACT_FIELD.name() );
                            removeItem( NewColumnTypes.ACTION_BRL_FRAGMENT.name() );
                        }
                        pop.center();
                    }

                    private void addItem( int index,
                                          String item,
                                          String value ) {
View Full Code Here

Examples of org.latexlab.docs.client.content.dialogs.StaticActionDialog.center()

        new ActionDialogOption[] {
        new ActionDialogOption("Open New Window", new SystemOpenPageCommand("Untitled" + now.getTime(), "/docs", false)),
        new ActionDialogOption("Use Current Window", new SystemOpenPageCommand("Untitled" + now.getTime(), "/docs", true))
      }
    );
    ad.center();
  }
  private void execute(final NewDocumentLoadCommand cmd) {
  docService.getNewDocument(new AsyncCallback<DocumentServiceEntry>() {
    @Override
    public void onFailure(Throwable caught) {
View Full Code Here

Examples of org.latexlab.docs.client.content.dialogs.StaticErrorDialog.center()

      command.newAttempt();
      execute(command);
    } else {
      StaticErrorDialog errorDialog = StaticErrorDialog.get();
      errorDialog.update(error, command, alternate);
      errorDialog.center();
    }
  }
 
  /**
   * Handles a command event. This is where all the components converge along with
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.