@Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   if (title != null) {
     newShell.setText(title);
   }
 }
Ejemplo n.º 2
0
 /* (non-Javadoc)
  * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
  */
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText("Tags");
   newShell.setImage(
       TagSEAPlugin.getDefault().getImageRegistry().get(ITagSEAImageConstants.IMG_TAG));
 }
Ejemplo n.º 3
0
  @Override
  protected void configureShell(Shell newShell) {
    super.configureShell(newShell);

    newShell.setText("Gluster Management Console");
    addEscapeListener(newShell);
  }
Ejemplo n.º 4
0
 /** @see Windows#configureShell */
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(JREMessages.VMDetailsDialog_0);
   PlatformUI.getWorkbench()
       .getHelpSystem()
       .setHelp(newShell, IJavaDebugHelpContextIds.JRE_DETAILS_DIALOG);
 }
Ejemplo n.º 5
0
 /*
  * @see Window#configureShell(Shell)
  */
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   PlatformUI.getWorkbench()
       .getHelpSystem()
       .setHelp(newShell, IHelpContextIds.CONFIGURE_CHART_DIALOG);
 }
Ejemplo n.º 6
0
 /**
  * Configure Shell. Set a title to it.
  *
  * @param newShell The new shell.
  * @see org.eclipse.jface.dialogs.Dialog#configureShell(org.eclipse.swt.widgets.Shell)
  */
 @Override
 protected void configureShell(Shell newShell) {
   newShell.setText(
       authorResourceBundle.getMessage(
           showChoiceTable ? ExtensionTags.INSERT_CHOICE_TABLE : ExtensionTags.INSERT_TABLE));
   super.configureShell(newShell);
 }
Ejemplo n.º 7
0
 @Override
 public void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(
       String.format("%s v%s", SystemDefine.NAME, SystemDefine.MAJOR_VERSION)); // $NON-NLS-1$
   newShell.setImage(GlobalImageUtils.getTadpoleIcon());
 }
 /**
  * {@inheritDoc}
  *
  * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
  */
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(
       DocBridgeUI.getInstance().getString("DocumentationLinkDialog_title")); // $NON-NLS-1$
   newShell.setSize(450, 520);
 }
Ejemplo n.º 9
0
 /*
  * (non-Javadoc)
  *
  * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
  */
 @Override
 protected void configureShell(final Shell shell) {
   super.configureShell(shell);
   if (this.title != null) {
     shell.setText(this.title);
   }
 }
Ejemplo n.º 10
0
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   if (originalAction == null)
     newShell.setText(MessagesForTracepointActions.TracepointActions_ActionDialog_New);
   else newShell.setText(originalAction.getName());
 }
Ejemplo n.º 11
0
  @Override
  protected void configureShell(Shell newShell) {
    newShell.setText(title);
    newShell.setSize(250, 250);

    super.configureShell(newShell);
  }
  /*
   * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
   */
  @Override
  protected void configureShell(Shell shell) {
    super.configureShell(shell);

    if (StringUtils.isSet(fBookmark.getName()))
      shell.setText(NLS.bind(Messages.PreviewFeedDialog_PREVIEW_OF, fBookmark.getName()));
    else shell.setText(Messages.PreviewFeedDialog_PREVIEW);
  }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(
       isAdd
           ? Messages.getString("qa.preference.NonTranslationQAPage.addModle")
           : Messages.getString("qa.preference.NonTranslationQAPage.editModle"));
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(translatorCategory + " Configuration Options");
   this.initializeDialogUnits(newShell);
   width = this.convertWidthInCharsToPixels(width);
   int height = this.convertHeightInCharsToPixels(14 + 2 * nOptions);
   newShell.setSize(width, height);
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   String title = Messages.adRolEndPtTitle;
   if (isEditEndpt) {
     title = Messages.endptEditTitle;
   }
   newShell.setText(title);
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   if (system) {
     newShell.setText(Messages.getString("ShowRoutineItemsDialog.systemTitle")); // $NON-NLS-1$
   } else {
     newShell.setText(Messages.getString("ShowRoutineItemsDialog.title")); // $NON-NLS-1$
   }
 }
 @Override
 protected void configureShell(Shell newShell) {
   //        newShell.setLayout(new GridLayout(1, false));
   GridData databaseSelectionData =
       new GridData(GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL | GridData.FILL_BOTH);
   databaseSelectionData.minimumWidth = MINIMUM_DIALOG_WIDTH;
   databaseSelectionData.widthHint = MINIMUM_DIALOG_WIDTH;
   newShell.setLayoutData(databaseSelectionData);
   super.configureShell(newShell);
 }
Ejemplo n.º 18
0
  @Override
  protected void configureShell(Shell newShell) {
    super.configureShell(newShell);
    newShell.setText(Messages.IconSelectDialog_11);
    newShell.setSize(SIZE_Y, SIZE_X);

    // open the window right under the mouse pointer:
    Point cursorLocation = Display.getCurrent().getCursorLocation();
    newShell.setLocation(new Point(cursorLocation.x - SIZE_X / 2, cursorLocation.y - SIZE_Y / 2));
  }
Ejemplo n.º 19
0
 /** Calls super method and sets the dialog title and image */
 @Override
 protected void configureShell(Shell shell) {
   super.configureShell(shell);
   if (dialogTitle != null) {
     shell.setText(dialogTitle);
   }
   if (titleImage != null) {
     shell.setImage(titleImage);
   }
 }
  @Override
  protected void configureShell(Shell newShell) {
    super.configureShell(newShell);
    newShell.setText(Messages.COMPILELOADER);

    Rectangle parentBounds = parentShell.getBounds();
    Rectangle shellBounds = newShell.getBounds();
    newShell.setLocation(
        parentBounds.x + (parentBounds.width - shellBounds.width) / 2,
        parentBounds.y + (parentBounds.height - shellBounds.height) / 2);
  }
Ejemplo n.º 21
0
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText("选择技能");
 }
Ejemplo n.º 22
0
package net.heartsome.cat.te.tmxeditor.editor;
 protected void configureShell(final Shell shell) {
   super.configureShell(shell);
   shell.setText("Business Model Properties");
 }
Ejemplo n.º 24
0
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(CoreMessages.dialog_about_title);
 }
Ejemplo n.º 25
0
 /**
  * Configures the given shell in preparation for opening this window in it. In this case, we set
  * the dialog title.
  */
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(macroName + " Macro input(s):");
 }
Ejemplo n.º 26
0
 @Override
 protected void configureShell(Shell shell) {
   super.configureShell(shell);
   shell.setText("Symbol File");
   shell.setImage(image);
 }
Ejemplo n.º 27
0
 /*
  * (non-Javadoc)
  *
  * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
  */
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(tableDAO.getName() + Messages.GenerateStatmentDMLDialog_1);
 }
Ejemplo n.º 29
0
 protected void configureShell(Shell newShell) {
   newShell.setSize(350, 320);
   newShell.setLocation(450, 175);
   newShell.setText(title);
   super.configureShell(newShell);
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(this.title);
 }