Home
last modified time | relevance | path

Searched refs:getShell (Results 201 – 225 of 2565) sorted by relevance

12345678910>>...103

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/
H A DSavePerspectiveHandler.java70 MessageDialog d = new MessageDialog(page.getWorkbenchWindow().getShell(), in saveSingleton()
87 SavePerspectiveDialog dlg = new SavePerspectiveDialog(page.getWorkbenchWindow().getShell(), reg); in saveNonSingleton()
101 MessageDialog.openError(dlg.getShell(), WorkbenchMessages.SavePerspective_errorTitle, in saveNonSingleton()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/
H A DJavaLaunchShortcut.java124 MessageDialog.openError(getShell(), LauncherMessages.JavaLaunchShortcut_0, message); in searchAndLaunch()
129 MessageDialog.openError(getShell(), LauncherMessages.JavaLaunchShortcut_1, emptyMessage); in searchAndLaunch()
151 …DebugTypeSelectionDialog mmsd = new DebugTypeSelectionDialog(JDIDebugUIPlugin.getShell(), types, t… in chooseType()
247 ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), labelProvider); in chooseConfiguration()
265 protected Shell getShell() { in getShell() method in JavaLaunchShortcut
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/
H A DHoverTest.java171 }.waitForCondition(this.editor.getSite().getShell().getDisplay(), 5000); in getHoverShell()
186 }.waitForCondition(this.editor.getSite().getShell().getDisplay(), 2000); in getHoverShell()
240 editorTextWidget.getShell().forceActive(); in triggerCompletionAndRetrieveInformationControlManager()
241 editorTextWidget.getShell().setActive(); in triggerCompletionAndRetrieveInformationControlManager()
242 editorTextWidget.getShell().setFocus(); in triggerCompletionAndRetrieveInformationControlManager()
243 editorTextWidget.getShell().getDisplay().wake(); in triggerCompletionAndRetrieveInformationControlManager()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/
H A DJavaDropAdapterAssistant.java98 getShell().forceActive(); in handleDrop()
100 …new CopyFilesAndFoldersOperation(getShell()).copyOrLinkFiles((String[])data, targetContainer, curr… in handleDrop()
104 ExceptionHandler.handle(e, getShell(), title, message); in handleDrop()
164 ExceptionHandler.handle(e, getShell(), title, message); in validateDrop()
210 starter.run(getShell()); in handleDropMove()
219 starter.run(getShell()); in handleDropCopy()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dnd/
H A DEditorDropTarget.java51 public Shell getShell() { in getShell() method in EditorDropTarget
52 return getPart().getSite().getShell(); in getShell()
H A DEditorTabDropTarget.java43 public Shell getShell() { in getShell() method in EditorTabDropTarget
44 return getPart().getSite().getShell(); in getShell()
H A DEditorTitleDropTarget.java43 public Shell getShell() { in getShell() method in EditorTitleDropTarget
44 return getPart().getSite().getShell(); in getShell()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/
H A DAddUnimplementedConstructorsAction.java471 Shell shell= getShell(); in run()
475 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.AddUnimplementedConstru… in run()
479 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.AddUnimplementedConstru… in run()
482 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.AddUnimplementedConstru… in run()
485 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.AddUnimplementedConstru… in run()
499 Shell shell= getShell(); in run()
506 ExceptionHandler.handle(e, getShell(), getDialogTitle(), null); in run()
508 ExceptionHandler.handle(e, getShell(), getDialogTitle(), null); in run()
515 if (!ElementValidator.check(type, getShell(), getDialogTitle(), activatedFromEditor)) { in run()
519 if (!ActionUtil.isEditable(fEditor, getShell(), type)) { in run()
[all …]
H A DExtractClassAction.java100 if (!ActionUtil.isEditable(getShell(), singleSelectedType)) in run()
102 RefactoringExecutionStarter.startExtractClassRefactoring(singleSelectedType, getShell()); in run()
148 RefactoringExecutionStarter.startExtractClassRefactoring(type, getShell()); in run()
H A DOpenImplementationAction.java103 … ExceptionHandler.handle(e, getShell(), getDialogTitle(), ActionMessages.OpenAction_error_message); in run()
110 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.OpenImplementationActio… in run()
113 if (!ActionUtil.isProcessable(getShell(), element)) in run()
H A DOrganizeImportsAction.java216 …MessageDialog.openInformation(getShell(), ActionMessages.OrganizeImportsAction_EmptySelection_titl… in run()
250 …if (!ElementValidator.check(cu, getShell(), ActionMessages.OrganizeImportsAction_error_title, true… in run()
261 …if (!ElementValidator.check(cu, getShell(), ActionMessages.OrganizeImportsAction_error_title, fals… in run()
266 if (!ActionUtil.isEditable(editor, getShell(), cu)) in run()
291 …MessageDialog.openInformation(getShell(), ActionMessages.OrganizeImportsAction_error_title, messag… in run()
299 …ExceptionHandler.handle(e, getShell(), ActionMessages.OrganizeImportsAction_error_title, ActionMes… in run()
341 …MultiElementListSelectionDialog dialog= new MultiElementListSelectionDialog(getShell(), labelProvi…
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.core/src/org/eclipse/team/core/
H A DProjectSetCapability.java113 projectSetCreated(file, context.getShell(), monitor); in projectSetCreated()
157 return serializer.asReference(providerProjects, context.getShell(), monitor); in asReference()
207 …return serializer.addToWorkspace(referenceStrings, context.getFilename(), context.getShell(), moni… in addToWorkspace()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/
H A DAlternativeLocationWizard.java68 …CVSUIPlugin.openError(getContainer().getShell(), CVSUIMessages.AlternativeLocationWizard_exception… in performFinish()
78 …CVSUIPlugin.openError(getContainer().getShell(), CVSUIMessages.AlternativeLocationWizard_validatio… in performFinish()
80 useLocation = MessageDialog.openQuestion(getContainer().getShell(), in performFinish()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.ui.console/src/org/eclipse/ui/console/actions/
H A DTextViewerGotoLineAction.java102 …ConsolePlugin.errorDialog(fTextViewer.getTextWidget().getShell(), ConsoleMessages.TextViewerGotoLi… in gotoLine()
116 Shell activeShell= fTextViewer.getTextWidget().getShell(); in run()
127 …ConsolePlugin.errorDialog(fTextViewer.getTextWidget().getShell(), ConsoleMessages.TextViewerGotoLi… in run()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/
H A DFilteredPreferenceDialog.java143 cachedTitle = getShell().getText(); in addFilter()
144 getShell().setText(NLS.bind(WorkbenchMessages.FilteredTree_FilteredDialogTitle, cachedTitle)); in addFilter()
154 getShell().setText(cachedTitle); in clearText()
392 WizardDialog wizardDialog = new WizardDialog(parent.getShell(), importWizard); in openImportWizard()
395 parent.getShell().close(); in openImportWizard()
402 WizardDialog wizardDialog = new WizardDialog(parent.getShell(), exportWizard); in openExportWizard()
404 int dialogResponse = MessageDialog.open(MessageDialog.CONFIRM, parent.getShell(), in openExportWizard()
476 StatusManager.SHOW, getShell()); in okPressed()
544 Menu menu = manager.createContextMenu(getShell()); in getContainerToolBar()
556 new ActionHandler(popupMenuAction), new ActiveShellExpression(getShell())); in getContainerToolBar()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/
H A DAddArchiveToBuildpathAction.java85 final Shell shell= getShell(); in run()
94 …MessageDialog.openError(getShell(), NewWizardMessages.AddArchiveToBuildpathAction_InfoTitle, statu… in run()
97 …MessageDialog.openInformation(getShell(), NewWizardMessages.AddArchiveToBuildpathAction_InfoTitle,… in run()
99 …MessageDialog.openWarning(getShell(), NewWizardMessages.AddArchiveToBuildpathAction_InfoTitle, sta… in run()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/
H A DOpenEditorAction.java77 MessageDialog.openError(getShell(), in run()
83 …ErrorDialog.openError(getShell(), JUnitMessages.OpenEditorAction_error_dialog_title, JUnitMessages… in run()
93 protected Shell getShell() { in getShell() method in OpenEditorAction
94 return fTestRunner.getSite().getShell(); in getShell()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/
H A DFileModificationValidator.java50 return edit(readOnlyFiles, getShell(context)); in edit()
53 private Shell getShell(FileModificationValidationContext context) { in getShell() method in FileModificationValidator
56 if (context.getShell() != null) in getShell()
57 return (Shell)context.getShell(); in getShell()
58 return Utils.getShell(null, true); in getShell()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/
H A DContextRunner.java196 …MessageDialog.openInformation(DebugUIPlugin.getShell(), ContextMessages.ContextRunner_0, ContextMe… in selectAndLaunch()
209 … MessageDialog.openInformation(DebugUIPlugin.getShell(), ContextMessages.ContextRunner_0, msg); in selectAndLaunch()
214 …MessageDialog.openInformation(DebugUIPlugin.getShell(), ContextMessages.ContextRunner_0, ContextMe… in selectAndLaunch()
292 …MessageDialog.openInformation(DebugUIPlugin.getShell(), MessageFormat.format(ContextMessages.Conte… in validateMode()
331 …ectionDialog lsd = new LaunchConfigurationSelectionDialog(DebugUIPlugin.getShell(), configurations… in showConfigurationSelectionDialog()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/undo/
H A DAbstractWorkspaceOperation.java391 getShell(null), in computeExecutionStatus()
454 getShell(null), in computeUndoableStatus()
517 getShell(null), in computeRedoableStatus()
729 protected Shell getShell(IAdaptable uiInfo) { in getShell() method in AbstractWorkspaceOperation
734 return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); in getShell()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/
H A DAddImportOnSelectionAction.java129 …if (!ElementValidator.checkValidateEdit(cu, getShell(), JavaEditorMessages.AddImportOnSelection_er… in run()
137 AddImportOnSelectionAction.SelectTypeQuery query= new SelectTypeQuery(getShell()); in run()
152 … ExceptionHandler.handle(e, getShell(), JavaEditorMessages.AddImportOnSelection_error_title, null); in run()
193 private Shell getShell() {
194 return fEditor.getSite().getShell();
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/
H A DResourceNavigatorAction.java65 protected Shell getShell() { in getShell() method in ResourceNavigatorAction
66 return getNavigator().getSite().getShell(); in getShell()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/
H A DFactoryPathConfigurationBlock.java369 setShell(parent.getShell()); in createContents()
542 new AdvancedFactoryPathOptionsDialog(getShell(), original._fc, original._attr); in advancedOptionsDialog()
563 …IPath[] results= BuildPathDialogAccess.chooseJAREntries(getShell(), fJProj.getPath(), new IPath[0]… in openJarFileDialog()
583 …IPath result= BuildPathDialogAccess.configureJAREntry(getShell(), new Path(original._fc.getId()), … in openJarFileDialog()
608 IPath[] selected= BuildPathDialogAccess.chooseExternalJAREntries(getShell()); in openExtJarFileDialog()
623 …IPath result= BuildPathDialogAccess.configureExternalJAREntry(getShell(), new Path(original._fc.ge… in openExtJarFileDialog()
644 IPath[] selected= BuildPathDialogAccess.chooseVariableEntries(getShell(), new IPath[0]); in openVariableSelectionDialog()
660 …IPath result= BuildPathDialogAccess.configureVariableEntry(getShell(), new Path(original._fc.getId… in openVariableSelectionDialog()
713 ExceptionHandler.handle(e, fBlockControl.getShell(), title, message); in saveSettings()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/spy/handlers/
H A DSpyHandler.java31 if (spyDialog != null && spyDialog.getShell() != null && !spyDialog.getShell().isDisposed()) { in execute()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/
H A DPreferenceDialog.java316 lastShellSize = getShell().getSize(); in configureShell()
329 lastShellSize = getShell().getSize(); in constrainShellSize()
338 getShell().setDefaultButton(okButton); in createButtonsForButtonBar()
345 BusyIndicator.showWhile(getShell().getDisplay(), () -> { in createContents()
451 Point currentSize = getShell().getSize(); in createSash()
459 computedSize = getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT); in createSash()
470 lastShellSize = getShell().getSize(); in createSash()
657 BusyIndicator.showWhile(getShell().getDisplay(), () -> { in addListeners()
1145 Rectangle preferred = getShell().getBounds(); in setShellSize()
1148 getShell().setBounds(getConstrainedShellBounds(preferred)); in setShellSize()
[all …]

12345678910>>...103