Search in sources :

Example 91 with Dialog

use of org.eclipse.jface.dialogs.Dialog in project eclipse.platform.ui by eclipse-platform.

the class DeprecatedUIPreferences method testDefaultTextEditorPref.

@Test
public void testDefaultTextEditorPref() {
    Dialog dialog = getPreferenceDialog("org.eclipse.ui.preferencePages.TextEditor");
    DialogCheck.assertDialog(dialog);
}
Also used : PropertyDialog(org.eclipse.ui.internal.dialogs.PropertyDialog) PreferenceDialog(org.eclipse.jface.preference.PreferenceDialog) Dialog(org.eclipse.jface.dialogs.Dialog) Test(org.junit.Test)

Example 92 with Dialog

use of org.eclipse.jface.dialogs.Dialog in project eclipse.platform.ui by eclipse-platform.

the class DeprecatedUIPreferences method testInfoProp.

@Test
public void testInfoProp() {
    Dialog dialog = getPropertyDialog("org.eclipse.ui.propertypages.info.file");
    DialogCheck.assertDialog(dialog);
}
Also used : PropertyDialog(org.eclipse.ui.internal.dialogs.PropertyDialog) PreferenceDialog(org.eclipse.jface.preference.PreferenceDialog) Dialog(org.eclipse.jface.dialogs.Dialog) Test(org.junit.Test)

Example 93 with Dialog

use of org.eclipse.jface.dialogs.Dialog in project eclipse.platform.ui by eclipse-platform.

the class DeprecatedUIPreferences method testWorkbenchPref.

@Test
public void testWorkbenchPref() {
    Dialog dialog = getPreferenceDialog("org.eclipse.ui.preferencePages.Workbench");
    DialogCheck.assertDialog(dialog);
}
Also used : PropertyDialog(org.eclipse.ui.internal.dialogs.PropertyDialog) PreferenceDialog(org.eclipse.jface.preference.PreferenceDialog) Dialog(org.eclipse.jface.dialogs.Dialog) Test(org.junit.Test)

Example 94 with Dialog

use of org.eclipse.jface.dialogs.Dialog in project eclipse.platform.ui by eclipse-platform.

the class DeprecatedUIPreferencesAuto method testFontEditorsPref.

// Only really checking if this opens without an exception
@Test
public void testFontEditorsPref() {
    Dialog dialog = getPreferenceDialog("org.eclipse.ui.tests.dialogs.FontFieldEditorTestPreferencePage");
    DialogCheck.assertDialogTexts(dialog);
}
Also used : Dialog(org.eclipse.jface.dialogs.Dialog) PreferenceDialog(org.eclipse.jface.preference.PreferenceDialog) Test(org.junit.Test)

Example 95 with Dialog

use of org.eclipse.jface.dialogs.Dialog in project eclipse.platform.ui by eclipse-platform.

the class DeprecatedUIPreferencesAuto method testPerspectivesPref.

@Test
public void testPerspectivesPref() {
    Dialog dialog = getPreferenceDialog("org.eclipse.ui.preferencePages.Perspectives");
    DialogCheck.assertDialogTexts(dialog);
}
Also used : Dialog(org.eclipse.jface.dialogs.Dialog) PreferenceDialog(org.eclipse.jface.preference.PreferenceDialog) Test(org.junit.Test)

Aggregations

Dialog (org.eclipse.jface.dialogs.Dialog)330 MessageDialog (org.eclipse.jface.dialogs.MessageDialog)138 Test (org.junit.Test)127 PreferenceDialog (org.eclipse.jface.preference.PreferenceDialog)59 Composite (org.eclipse.swt.widgets.Composite)48 Shell (org.eclipse.swt.widgets.Shell)38 SWT (org.eclipse.swt.SWT)37 GridData (org.eclipse.swt.layout.GridData)37 Control (org.eclipse.swt.widgets.Control)35 ProgressMonitorDialog (org.eclipse.jface.dialogs.ProgressMonitorDialog)32 Button (org.eclipse.swt.widgets.Button)31 WizardDialog (org.eclipse.jface.wizard.WizardDialog)28 GridLayout (org.eclipse.swt.layout.GridLayout)28 SelectPerspectiveDialog (org.eclipse.ui.internal.dialogs.SelectPerspectiveDialog)27 ShowViewDialog (org.eclipse.ui.internal.dialogs.ShowViewDialog)27 ArrayList (java.util.ArrayList)24 SaveAsDialog (org.eclipse.ui.dialogs.SaveAsDialog)24 ContainerSelectionDialog (org.eclipse.ui.dialogs.ContainerSelectionDialog)23 EditorSelectionDialog (org.eclipse.ui.dialogs.EditorSelectionDialog)23 ListSelectionDialog (org.eclipse.ui.dialogs.ListSelectionDialog)23