Examples of center()


Examples of org.pentaho.mantle.client.dialogs.scheduling.ScheduleOutputLocationDialog.center()

            String responseMessage = response.getText();
            boolean hasParams = hasParameters( responseMessage, isXAction );
            if ( !hasParams ) {
              outputLocationDialog.setOkButtonText( Messages.getString( "ok" ) );
            }
            outputLocationDialog.center();
          } else {
            MessageDialogBox dialogBox =
                new MessageDialogBox(
                    Messages.getString( "error" ), Messages.getString( "serverErrorColon" ) + " " + response.getStatusCode(), false, false, true ); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
            dialogBox.center();
View Full Code Here

Examples of org.pentaho.mantle.client.dialogs.scheduling.ScheduleParamsDialog.center()

                    // on
                    final boolean isEmailConfValid = false;
                    if ( hasParams ) {
                      ScheduleParamsDialog dialog =
                          new ScheduleParamsDialog( filePath, scheduleRequest, isEmailConfValid );
                      dialog.center();
                    } else if ( isEmailConfValid ) {
                      ScheduleEmailDialog scheduleEmailDialog =
                          new ScheduleEmailDialog( null, filePath, scheduleRequest, null, null );
                      scheduleEmailDialog.center();
                    } else {
View Full Code Here

Examples of org.pentaho.mantle.client.dialogs.scheduling.ScheduleRecurrenceDialog.center()

              ScheduleRecurrenceDialog editSchedule =
                  new ScheduleRecurrenceDialog( null, jsJob, callback, false, false,
                      AbstractWizardDialog.ScheduleDialogType.SCHEDULER );
              editSchedule.setShowSuccessDialog( false );
              editSchedule.addCustomPanel( scheduleLabelPanel, DockPanel.NORTH );
              editSchedule.center();
            }
          } );
          HorizontalPanel scheduleButtonPanel = new HorizontalPanel();
          scheduleButtonPanel.add( editScheduleButton );
          if ( !fakeJob ) {
View Full Code Here

Examples of org.pentaho.mantle.client.solutionbrowser.fileproperties.FilePropertiesDialog.center()

          public void onError( Request request, Throwable exception ) {
            FilePropertiesDialog dialog =
                new FilePropertiesDialog( item, new PentahoTabPanel(), null, getActiveTab(), false );
            dialog.showTab( getActiveTab() );
            dialog.center();

            event.setMessage( exception.getMessage() );
            EventBusUtil.EVENT_BUS.fireEvent( event );
          }
View Full Code Here

Examples of org.rstudio.core.client.theme.res.ThemeStyles.center()

      layout_.addWest(createDiv(themeStyles.left()), leftPadding);
      layout_.addEast(createDiv(themeStyles.right()), 8);

      HorizontalPanel inner = new HorizontalPanel();
      inner.setWidth("100%");
      inner.setStylePrimaryName(themeStyles.center());

      if (title != null)
      {
         Label titleLabel = new Label(title);
         titleLabel.setStylePrimaryName(themeStyles.title());
View Full Code Here

Examples of org.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 research.Figure.center()

        Rectangle r = new Rectangle();
        int limit = rect.y + rect.height / 2;
        while (iterator.hasNext()) {
            Figure figure = (Figure) iterator.next();
            if (!(figure instanceof ConnectionFigure)) {
                figure.moveBy(0, limit - figure.center().y);
            }
        }

        drawingEditor.getCurrentView().repairDamage();
    }
View Full Code Here

Examples of research.figure.PolyLineFigure.center()

  }

  protected Point chop(Figure target, Point from) {
    PolyLineFigure p = (PolyLineFigure)owner();
    // *** based on PolygonFigure's heuristic
    Point ctr = p.center();
    int cx = -1;
    int cy = -1;
    long len = Long.MAX_VALUE;

    // Try for points along edge
View Full Code Here

Examples of toxi.geom.Polygon2D.center()

        bounds.add(new Vec2D(100, 100));
        bounds.add(new Vec2D(150, 80));
        bounds.add(new Vec2D(300, 130));
        bounds.add(new Vec2D(320, 300));
        bounds.add(new Vec2D(200, 220));
        bounds.center(bounds.getBounds().getCentroid());
        rectClipper = new SutherlandHodgemanClipper(bounds.getBounds());
        convexClipper = new ConvexPolygonClipper(bounds);
        textFont(createFont("SansSerif", 10));
    }
}
View Full Code Here

Examples of welcome.client.ui.popup.Popup.center()

        Popup pop = new Popup("The Official Store !!");

        // do not forget a store is a Content and a content is an
        // extension of Widget.
        pop.setContent(new StoreForm());
        pop.center();

      }
    });
    mainPanel.add(this.openInPopupBt);
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.