/** * {@inheritDoc} */ public void create() { super.create(); getButton(OK).setEnabled(!fHistory.isEmpty()); }
@Override public void create() { super.create(); getButton(OK).setEnabled(!fHistory.isEmpty()); }
@Override public void create() { super.create(); getButton(OK).setEnabled(!fHistory.isEmpty()); }
@Override public void create() { super.create(); if (fLastStatus != null) { // policy: dialogs are not allowed to come up with an error message if (fLastStatus.matches(IStatus.ERROR)) { // remove the message fLastStatus = new Status(IStatus.ERROR, fLastStatus.getPlugin(), fLastStatus.getCode(), "", fLastStatus.getException()); //$NON-NLS-1$ } updateStatus(fLastStatus); } }
public void create() { super.create(); if (fLastStatus != null) { // policy: dialogs are not allowed to come up with an error message if (fLastStatus.matches(IStatus.ERROR)) { // remove the message fLastStatus = new Status(IStatus.ERROR, fLastStatus.getPlugin(), fLastStatus.getCode(), "", fLastStatus.getException()); //$NON-NLS-1$ } updateStatus(fLastStatus); } }
@Override public void create() { super.create(); if (fLastStatus != null) { // policy: dialogs are not allowed to come up with an error message if (fLastStatus.matches(IStatus.ERROR)) { // remove the message fLastStatus = new Status(IStatus.ERROR, fLastStatus.getPlugin(), fLastStatus.getCode(), "", fLastStatus.getException()); //$NON-NLS-1$ } updateStatus(fLastStatus); } }
public void create() { super.create(); // dialog location if (dialogLocation != null) getShell().setLocation(dialogLocation); // dialog size if (dialogSize != null) getShell().setSize(dialogSize); else getShell().setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT); getButton(IDialogConstants.CLOSE_ID).setFocus(); }
@Override public void create() { super.create(); combo.add( "http://download.eclipse.org/releases/neon" ); combo.add( "http://download.eclipse.org/releases/mars" ); combo.add( "http://download.eclipse.org/releases/luna" ); // combo.add( "http://download.eclipse.org/releases/kepler" ); // combo.add( "http://download.eclipse.org/releases/juno" ); // combo.add( "http://download.eclipse.org/releases/indigo" ); // combo.add( "http://download.eclipse.org/releases/helios" ); // combo.add( "http://download.eclipse.org/releases/galileo" ); combo.add( "http://download.eclipse.org/eclipse/updates/4.6" ); combo.add( "http://download.eclipse.org/eclipse/updates/4.5" ); combo.add( "http://download.eclipse.org/eclipse/updates/4.4" ); // combo.add( "http://download.eclipse.org/eclipse/updates/4.3" ); // combo.add( "http://download.eclipse.org/eclipse/updates/4.2" ); // combo.add( "http://download.eclipse.org/eclipse/updates/3.8" ); // combo.add( "http://download.eclipse.org/eclipse/updates/3.7" ); // combo.add( "http://download.eclipse.org/eclipse/updates/3.6" ); // combo.add( "http://download.eclipse.org/eclipse/updates/3.5" ); }
public void create() { super.create(); // dialog location if (dialogLocation != null) getShell().setLocation(dialogLocation); // dialog size if (dialogSize != null) getShell().setSize(dialogSize); else getShell().setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT); getButton(IDialogConstants.CLOSE_ID).setFocus(); }
public void create() { super.create(); // dialog location if (dialogLocation != null) getShell().setLocation(dialogLocation); // dialog size if (dialogSize != null) getShell().setSize(dialogSize); else getShell().setSize(500, 550); applyDialogFont(buttonBar); getButton(IDialogConstants.OK_ID).setFocus(); }
public void create() { super.create(); // dialog location if (dialogLocation != null) getShell().setLocation(dialogLocation); // dialog size if (dialogSize != null) getShell().setSize(dialogSize); else getShell().setSize(500,550); applyDialogFont(buttonBar); getButton(IDialogConstants.OK_ID).setFocus(); }