/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dialogs/ |
H A D | DeprecatedUIWizards.java | 50 private Shell getShell() { in getShell() method in DeprecatedUIWizards 51 return DialogCheck.getShell(); in getShell() 73 dialog.getShell().setSize( in exportWizard() 101 dialog.getShell().setSize( in importWizard() 167 dialog.getShell().setText("CreateFileAction_title"); in testNewFile() 179 dialog.getShell().setText( in testNewFolder() 193 dialog.getShell().setSize( in testNewProjectPage1() 196 dialog.getShell().setText("CreateFileAction_title"); in testNewProjectPage1() 216 dialog.getShell().setSize( in testNewProjectPage2() 254 dialog.getShell().setSize( in testNewProject() [all …]
|
H A D | UIWizards.java | 50 private Shell getShell() { in getShell() method in UIWizards 51 return DialogCheck.getShell(); in getShell() 73 dialog.getShell().setSize( in exportWizard() 101 dialog.getShell().setSize( in importWizard() 167 dialog.getShell().setText("CreateFileAction_title"); in testNewFile() 194 dialog.getShell().setSize( in testNewProjectPage1() 197 dialog.getShell().setText("CreateFileAction_title"); in testNewProjectPage1() 217 dialog.getShell().setSize( in testNewProjectPage2() 220 dialog.getShell().setText("CreateFileAction_title"); in testNewProjectPage2() 255 dialog.getShell().setSize( in testNewProject() [all …]
|
H A D | UIWizardsAuto.java | 62 private Shell getShell() { in getShell() method in UIWizardsAuto 63 return DialogCheck.getShell(); in getShell() 85 dialog.getShell().setSize( in exportWizard() 113 dialog.getShell().setSize( in importWizard() 194 dialog.getShell().setText("CreateFileAction_title"); in testNewFile() 228 dialog.getShell().setText("CreateFileAction_title"); in testNewFile2() 255 dialog.getShell().setSize( in testNewProjectPage1() 258 dialog.getShell().setText("CreateFileAction_title"); in testNewProjectPage1() 278 dialog.getShell().setSize( in testNewProjectPage2() 298 dialog.getShell().setSize( in testNewProject() [all …]
|
H A D | DeprecatedUIWizardsAuto.java | 60 private Shell getShell() { in getShell() method in DeprecatedUIWizardsAuto 61 return DialogCheck.getShell(); in getShell() 83 dialog.getShell().setSize( in exportWizard() 111 dialog.getShell().setSize( in importWizard() 192 dialog.getShell().setText("CreateFileAction_title"); in testNewFile() 227 dialog.getShell().setText("CreateFileAction_title"); in testNewFile2() 254 dialog.getShell().setSize( in testNewProjectPage1() 257 dialog.getShell().setText("CreateFileAction_title"); in testNewProjectPage1() 277 dialog.getShell().setSize( in testNewProjectPage2() 316 dialog.getShell().setSize( in testNewProject() [all …]
|
H A D | UIDialogsAuto.java | 61 private Shell getShell() { in getShell() method in UIDialogsAuto 62 return DialogCheck.getShell(); in getShell() 72 dialog = new AboutDialog(getShell()); in testAbout() 80 getShell(), in testAboutPlugins() 100 Dialog dialog = new ProjectLocationSelectionDialog(getShell(), in testCopyMoveProject() 131 Dialog dialog = new EditorSelectionDialog(getShell()); in testEditorSelection() 161 Dialog dialog = new FileExtensionDialog(getShell()); in testNewFileType() 174 Dialog dialog = new SaveAsDialog(getShell()); in testSaveAs() 195 Dialog dialog = new SelectPerspectiveDialog(getShell(), PlatformUI in testSelectPerspective() 202 Dialog dialog = new TypeFilteringDialog(getShell(), null); in testSelectTypes() [all …]
|
H A D | UIDialogs.java | 59 private Shell getShell() { in getShell() method in UIDialogs 60 return DialogCheck.getShell(); in getShell() 70 dialog = new AboutDialog(getShell()); in testAbout() 85 Dialog dialog = new ProjectLocationSelectionDialog(getShell(), in testCopyMoveProject() 92 Dialog dialog = new ContainerSelectionDialog(getShell(), null, true, in testCopyMoveResource() 124 Dialog dialog = new EditorSelectionDialog(getShell()); in testEditorSelection() 154 Dialog dialog = new FileExtensionDialog(getShell()); in testNewFileType() 167 Dialog dialog = new SaveAsDialog(getShell()); in testSaveAs() 203 Dialog dialog = new SelectPerspectiveDialog(getShell(), PlatformUI in testSelectPerspective() 210 Dialog dialog = new TypeFilteringDialog(getShell(), null); in testSelectTypes() [all …]
|
H A D | UIMessageDialogsAuto.java | 38 private Shell getShell() { in getShell() method in UIMessageDialogsAuto 39 return DialogCheck.getShell(); in getShell() 51 return new MessageDialog(getShell(), title, null, message, in getInformationDialog() 64 return new MessageDialog(getShell(), title, null, message, in getQuestionDialog() 78 return new MessageDialog(getShell(), title, null, message, in getWarningDialog() 101 Dialog dialog = new MessageDialog(getShell(), title, null, // accept the default window icon in testDeleteProject() 110 Dialog dialog = new MessageDialog(getShell(), "Delete", null, in testDeleteReadOnlyCheck() 135 getShell(), in testDropOverwrite() 189 Dialog dialog = new MessageDialog(getShell(), "Move_title", null, ".MoveResourceAction", in testMoveReadOnlyCheck() 236 Dialog dialog = new MessageDialog(getShell(), "RefreshAction_dialogTitle", null, in testRefreshDeleteProject() [all …]
|
H A D | UIMessageDialogs.java | 40 private Shell getShell() { in getShell() method in UIMessageDialogs 41 return DialogCheck.getShell(); in getShell() 52 return new MessageDialog(getShell(), title, null, message, in getInformationDialog() 65 return new MessageDialog(getShell(), title, null, message, in getQuestionDialog() 78 return new MessageDialog(getShell(), title, null, message, in getWarningDialog() 103 Dialog dialog = new MessageDialog(getShell(), title, null, // accept the default window icon in testDeleteProject() 111 Dialog dialog = new MessageDialog(getShell(),"Delete?", null, in testDeleteReadOnlyCheck() 136 getShell(), in testDropOverwrite() 189 Dialog dialog = new MessageDialog(getShell(), "Move", null, "OK to move", in testMoveReadOnlyCheck() 239 Dialog dialog = new MessageDialog(getShell(), "Refresh", null, in testRefreshDeleteProject() [all …]
|
H A D | UIFilteredResourcesSelectionDialogAuto.java | 65 final Shell parent = window.getShell(); in createDialog() 70 if (dialog.getShell() == null) { in createDialog() 73 Point testDialogSize = dialog.getShell().getSize(); in createDialog() 75 dialog.getShell().setLocation(window.getShell().getSize().x + 1, 0); in createDialog() 76 dialog.getShell().setSize(testDialogSize); in createDialog() 77 dialog.getShell().addShellListener(new ShellAdapter() { in createDialog() 88 if (dialog.getShell() != null) { in closeDialog() 89 dialog.getShell().dispose(); in closeDialog()
|
/dports/devel/eric6/eric6-21.11/eric/eric6/Preferences/ConfigurationPages/ |
H A D | ShellPage.py | 47 Preferences.getShell("LinenoMargin")) 49 Preferences.getShell("WrapEnabled")) 51 Preferences.getShell("AutoCompletionEnabled")) 53 Preferences.getShell("CallTipsEnabled")) 55 Preferences.getShell("SyntaxHighlightingEnabled")) 59 Preferences.getShell("MaxHistoryEntries")) 61 Preferences.getShell("HistoryStyle").value) 64 Preferences.getShell("HistoryWrap")) 66 Preferences.getShell("HistoryNavigateByCursor")) 68 Preferences.getShell("ShowStdOutErr")) [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/util/ |
H A D | SWTUtil.java | 52 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 54 return ((Control) widget).getShell(); in getShell() 56 return ((Caret) widget).getParent().getShell(); in getShell() 58 return ((DragSource) widget).getControl().getShell(); in getShell() 60 return ((DropTarget) widget).getControl().getShell(); in getShell() 62 return ((Menu) widget).getParent().getShell(); in getShell() 64 return ((ScrollBar) widget).getParent().getShell(); in getShell() 97 Point computedSize = dialog.getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT); in setDialogSize() 100 dialog.getShell().setSize(width, height); in setDialogSize()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/ |
H A D | SWTUtil.java | 49 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 51 return ((Control) widget).getShell(); in getShell() 53 return ((Caret) widget).getParent().getShell(); in getShell() 55 return ((DragSource) widget).getControl().getShell(); in getShell() 57 return ((DropTarget) widget).getControl().getShell(); in getShell() 59 return ((Menu) widget).getParent().getShell(); in getShell() 61 return ((ScrollBar) widget).getParent().getShell(); in getShell()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ds/org.eclipse.pde.ds.ui/src/org/eclipse/pde/internal/ds/ui/ |
H A D | SWTUtil.java | 61 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 63 return ((Control) widget).getShell(); in getShell() 65 return ((Caret) widget).getParent().getShell(); in getShell() 67 return ((DragSource) widget).getControl().getShell(); in getShell() 69 return ((DropTarget) widget).getControl().getShell(); in getShell() 71 return ((Menu) widget).getParent().getShell(); in getShell() 73 return ((ScrollBar) widget).getParent().getShell(); in getShell() 106 Point computedSize = dialog.getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT); in setDialogSize() 109 dialog.getShell().setSize(width, height); in setDialogSize()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/internal/util/ |
H A D | VerifyDialog.java | 253 if (getShell() == null) { in open() 256 getShell().setLocation(0, 0); in open() 257 getShell().setSize(Math.max(SIZING_WIDTH, getShell().getSize().x), in open() 258 getShell().getSize().y); in open() 260 if (_testDialog.getShell() == null) { in open() 263 _testDialogSize = _testDialog.getShell().getSize(); in open() 273 if (_testDialog.getShell() == null) { in openNewTestDialog() 277 _testDialog.getShell().setLocation(getShell().getSize().x + 1, 0); in openNewTestDialog() 278 _testDialog.getShell().setSize(_testDialogSize); in openNewTestDialog() 310 FailureDialog dialog = new FailureDialog(getShell()); in handleFailure() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/util/ |
H A D | VerifyDialog.java | 91 if (_testDialog.getShell() != null) { in buttonPressed() 238 if (getShell() == null) { in open() 241 getShell().setLocation(0, 0); in open() 242 getShell().setSize(Math.max(SIZING_WIDTH, getShell().getSize().x), getShell().getSize().y); in open() 244 if (_testDialog.getShell() == null) { in open() 247 _testDialogSize = _testDialog.getShell().getSize(); in open() 256 if (_testDialog.getShell() == null) { in openNewTestDialog() 260 _testDialog.getShell().setLocation(getShell().getSize().x + 1, 0); in openNewTestDialog() 261 _testDialog.getShell().setSize(_testDialogSize); in openNewTestDialog() 291 FailureDialog dialog = new FailureDialog( getShell() ); in handleFailure() [all …]
|
H A D | DialogCheck.java | 63 if (_verifyDialog.getShell() == null) { in assertDialog() 65 getShell(); in assertDialog() 84 Shell shell = dialog.getShell(); in assertDialogTexts() 98 public static Shell getShell() { in getShell() method in DialogCheck 99 Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); in getShell() 102 return _verifyDialog.getShell(); in getShell() 163 button.getShell().dispose(); in verifyButtonText() 197 label.getShell().dispose(); in verifyLabelText()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ |
H A D | ScenariosTestCase.java | 62 public Shell getShell() { in getShell() method in ScenariosTestCase 66 Shell result = BindingScenariosTestSuite.getShell(); in getShell() 85 composite.getShell().open(); in spinEventLoop() 98 if (!getShell().isVisible()) { in interact() 99 getShell().open(); in interact() 101 while (!getShell().isDisposed()) { in interact() 102 if (!getShell().getDisplay().readAndDispatch()) { in interact() 103 getShell().getDisplay().sleep(); in interact() 125 composite = new Composite(getShell(), SWT.NONE); in setUp() 137 getShell().setVisible(false); // same Shell may be reUsed across tests in tearDown()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/ |
H A D | ShellElement.java | 74 Shell shell = getShell(); in initialize() 91 private Shell getShell() { in getShell() method in ShellElement 103 Shell shell = getShell(); in dispose() 115 return getShell().getParent() != null; in isPseudoInstanceOf() 118 return getShell().getParent() == null; in isPseudoInstanceOf() 126 return () -> Objects.toString(getShell().getText(), ""); in internalGetAttribute() 130 Shell shell = getShell(); in internalGetAttribute() 151 CSSSWTImageHelper.restoreDefaultImage(getShell()); in reset()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ua/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/ |
H A D | DefaultTipManager.java | 58 if (fTipDialog.getShell().getMinimized()) { in open() 59 fTipDialog.getShell().setMinimized(false); in open() 61 fTipDialog.getShell().forceActive(); in open() 78 fTipDialog.getShell().addDisposeListener(pE -> { in open() 85 …return !(fTipDialog == null || fTipDialog.getShell() == null || fTipDialog.getShell().isDisposed()… in isDialogOpen()
|
/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 D | CompletionTest.java | 59 …final Set<Shell> beforeShells = Arrays.stream(editor.getSite().getShell().getDisplay().getShells()… in testCompletion() 62 this.completionShell= findNewShell(beforeShells, editor.getSite().getShell().getDisplay()); in testCompletion() 71 …final Set<Shell> beforeShells = Arrays.stream(editor.getSite().getShell().getDisplay().getShells()… in testCompletionUsingViewerSelection() 75 this.completionShell= findNewShell(beforeShells, editor.getSite().getShell().getDisplay()); in testCompletionUsingViewerSelection() 90 …final Set<Shell> beforeShells = Arrays.stream(editor.getSite().getShell().getDisplay().getShells()… in testEnabledWhenCompletion() 93 Shell[] afterShells = Arrays.stream(editor.getSite().getShell().getDisplay().getShells()) in testEnabledWhenCompletion() 106 assertNotNull(findNewShell(beforeEnabledShells, editor.getSite().getShell().getDisplay())); in testEnabledWhenCompletion() 162 …final Set<Shell> beforeShells = Arrays.stream(editor.getSite().getShell().getDisplay().getShells()… in testCompletionFreeze_bug521484() 165 this.completionShell= findNewShell(beforeShells, editor.getSite().getShell().getDisplay()); in testCompletionFreeze_bug521484() 181 DisplayHelper.sleep(editor.getSite().getShell().getDisplay(), 200); //give time to process events in testCompletionFreeze_bug521484() [all …]
|
/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 D | WizardHandler.java | 96 Shell parent = activeWorkbenchWindow.getShell(); in executeHandler() 99 dialog.getShell().setSize(Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x), in executeHandler() 101 activeWorkbenchWindow.getWorkbench().getHelpSystem().setHelp(dialog.getShell(), in executeHandler() 144 Shell parent = activeWorkbenchWindow.getShell(); in executeHandler() 147 dialog.getShell().setSize(Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x), in executeHandler() 149 activeWorkbenchWindow.getWorkbench().getHelpSystem().setHelp(dialog.getShell(), in executeHandler() 253 Shell parent = activeWorkbenchWindow.getShell(); in executeHandler() 256 dialog.getShell().setSize(Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x), in executeHandler() 258 activeWorkbenchWindow.getWorkbench().getHelpSystem().setHelp(dialog.getShell(), in executeHandler() 298 Shell parent = activeWindow.getShell(); in execute()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ |
H A D | OverrideMethodsAction.java | 159 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.OverrideMethodsAction_n… in run() 163 …if (!ElementValidator.check(type, getShell(), getDialogTitle(), false) || !ActionUtil.isEditable(g… in run() 167 run(getShell(), type); in run() 169 …ExceptionHandler.handle(exception, getShell(), getDialogTitle(), ActionMessages.OverrideMethodsAct… in run() 181 …if (!ElementValidator.check(type, getShell(), getDialogTitle(), false) || !ActionUtil.isEditable(f… in run() 186 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.OverrideMethodsAction_a… in run() 190 run(getShell(), type); in run() 192 …MessageDialog.openInformation(getShell(), getDialogTitle(), ActionMessages.OverrideMethodsAction_n… in run() 195 ExceptionHandler.handle(e, getShell(), getDialogTitle(), null); in run() 197 …ExceptionHandler.handle(e, getShell(), getDialogTitle(), ActionMessages.OverrideMethodsAction_erro… in run()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.search/search/org/eclipse/search/internal/ui/util/ |
H A D | SWTUtil.java | 63 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 65 return ((Control)widget).getShell(); in getShell() 67 return ((Caret)widget).getParent().getShell(); in getShell() 69 return ((DragSource)widget).getControl().getShell(); in getShell() 71 return ((DropTarget)widget).getControl().getShell(); in getShell() 73 return ((Menu)widget).getParent().getShell(); in getShell() 75 return ((ScrollBar)widget).getParent().getShell(); in getShell()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ |
H A D | SWTUtil.java | 56 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 58 return ((Control)widget).getShell(); in getShell() 60 return ((Caret)widget).getParent().getShell(); in getShell() 62 return ((DragSource)widget).getControl().getShell(); in getShell() 64 return ((DropTarget)widget).getControl().getShell(); in getShell() 66 return ((Menu)widget).getParent().getShell(); in getShell() 68 return ((ScrollBar)widget).getParent().getShell(); in getShell()
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/util/ |
H A D | SWTUtil.java | 54 public static Shell getShell(Widget widget) { in getShell() method in SWTUtil 56 return ((Control) widget).getShell(); in getShell() 58 return ((Caret) widget).getParent().getShell(); in getShell() 60 return ((DragSource) widget).getControl().getShell(); in getShell() 62 return ((DropTarget) widget).getControl().getShell(); in getShell() 64 return ((Menu) widget).getParent().getShell(); in getShell() 66 return ((ScrollBar) widget).getParent().getShell(); in getShell()
|