@Override public void create() { super.create(); applyDialogStyles(getShell()); }
/** * Enable the buttons on creation. */ public void create() { super.create(); updateButtons(); } }
@Override public void create() { super.create(); applyDialogStyles(getShell()); }
@Override public void create() { super.create(); getButton(DETAIL_BUTTON).setEnabled(false); }
/** * Enable the buttons on creation. * * @see org.eclipse.jface.window.Window#create() */ @Override public void create() { super.create(); updateButtons(); } }
/** * Enable the buttons on creation. * * @see org.eclipse.jface.window.Window#create() */ public void create() { super.create(); updateButtons(); } }
@Override public void create() { super.create(); getShell().setText(JFaceResources.getString("ConfigureColumnsDialog_Title")); //$NON-NLS-1$ }
public void create() { super.create(); getButton(IDialogConstants.OK_ID).setEnabled(false); setTextFilterFocus(); }
@Override public void create() { super.create(); getShell().setText(JFaceResources.getString("ConfigureColumnsDialog_Title")); //$NON-NLS-1$ }
public void create() { super.create(); getShell().setText(JFaceResources.getString("ConfigureColumnsDialog_Title")); //$NON-NLS-1$ }
/** */ public void create() { super.create(); //give focus to username field usernameField.selectAll(); usernameField.setFocus(); } /**
@Override public void create() { // calls createContents first super.create(); getShell().setText("Find/Annotate"); findField.setText(findReplaceTarget.getSelectionText()); // TODO: set history }
public void create() { super.create(); if ( browserConnection.getConnection() != null ) { originalReadOnlyFlag = browserConnection.getConnection().isReadOnly(); browserConnection.getConnection().setReadOnly( true ); } }
@Override public void run() { if (fUnusedImports.length == 0) { MessageDialog.openInformation(PDEPlugin.getActiveWorkbenchShell(), PDEUIMessages.UnusedDependencies_title, PDEUIMessages.UnusedDependencies_notFound); } else { Dialog dialog; if (fReadOnly) { // Launched from Dependencies View, show information dialog dialog = getUnusedDependeciesInfoDialog(); } else { dialog = new UnusedImportsDialog(PDEPlugin.getActiveWorkbenchShell(), fModel, fUnusedImports); dialog.create(); } dialog.getShell().setText(PDEUIMessages.UnusedDependencies_title); dialog.open(); } }
fWizard.setInitialConditionCheckingStatus(fInitialConditions); Dialog dialog= RefactoringUI.createRefactoringWizardDialog(fWizard, parent); dialog.create(); IWizardContainer wizardContainer= (IWizardContainer) dialog; if (wizardContainer.getCurrentPage() == null)
dialog.create(); IWizardContainer wizardContainer = (IWizardContainer) dialog; if (wizardContainer.getCurrentPage() == null)
public void create() { super.create(); Shell shell= getShell(); shell.addShellListener(fActivationListener); // set help context PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, IAbstractTextEditorHelpContextIds.FIND_REPLACE_DIALOG); // fill in combo contents fFindField.removeModifyListener(fFindModifyListener); updateCombo(fFindField, fFindHistory); fFindField.addModifyListener(fFindModifyListener); updateCombo(fReplaceField, fReplaceHistory); // get find string initFindStringFromSelection(); // set dialog position if (fDialogPositionInit != null) shell.setBounds(fDialogPositionInit); shell.setText(EditorMessages.FindReplace_title); // shell.setImage(null); }
@Override public void create() { super.create(); Shell shell= getShell(); shell.addShellListener(fActivationListener); // set help context PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, IAbstractTextEditorHelpContextIds.FIND_REPLACE_DIALOG); // fill in combo contents fFindField.removeModifyListener(fFindModifyListener); updateCombo(fFindField, fFindHistory); fFindField.addModifyListener(fFindModifyListener); updateCombo(fReplaceField, fReplaceHistory); // get find string initFindStringFromSelection(); // set dialog position if (fDialogPositionInit != null) shell.setBounds(fDialogPositionInit); shell.setText(EditorMessages.FindReplace_title); // shell.setImage(null); }
@Override public void create() { super.create(); Shell shell= getShell(); shell.addShellListener(fActivationListener); // set help context PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, IAbstractTextEditorHelpContextIds.FIND_REPLACE_DIALOG); // fill in combo contents fFindField.removeModifyListener(fFindModifyListener); updateCombo(fFindField, fFindHistory); fFindField.addModifyListener(fFindModifyListener); updateCombo(fReplaceField, fReplaceHistory); // get find string initFindStringFromSelection(); // set dialog position if (fDialogPositionInit != null) shell.setBounds(fDialogPositionInit); shell.setText(EditorMessages.FindReplace_title); // shell.setImage(null); }