Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 63002 Details for
Bug 169730
Dialog fonts should be used in TPTP preference pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for test plug-ins
169730_test_patch.txt (text/plain), 10.85 KB, created by
Eugene Chan
on 2007-04-05 00:24:43 EDT
(
hide
)
Description:
patch for test plug-ins
Filename:
MIME Type:
Creator:
Eugene Chan
Created:
2007-04-05 00:24:43 EDT
Size:
10.85 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.hyades.test.tools.ui >Index: src/org/eclipse/hyades/test/tools/ui/java/internal/junit/preferences/JUnitPreferencesPage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.tools.ui/src/org/eclipse/hyades/test/tools/ui/java/internal/junit/preferences/JUnitPreferencesPage.java,v >retrieving revision 1.4 >diff -u -r1.4 JUnitPreferencesPage.java >--- src/org/eclipse/hyades/test/tools/ui/java/internal/junit/preferences/JUnitPreferencesPage.java 22 Mar 2007 14:42:50 -0000 1.4 >+++ src/org/eclipse/hyades/test/tools/ui/java/internal/junit/preferences/JUnitPreferencesPage.java 5 Apr 2007 04:19:40 -0000 >@@ -19,6 +19,7 @@ > import org.eclipse.hyades.test.tools.ui.java.internal.JavaMessages; > import org.eclipse.hyades.test.tools.ui.java.internal.junit.controls.JUnitCodeUpdatePreviewOptionsControl; > import org.eclipse.hyades.test.tools.ui.java.internal.junit.controls.JUnitTestSuiteImportOptionsControl; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.preference.IPreferenceStore; > import org.eclipse.jface.preference.PreferencePage; > import org.eclipse.swt.SWT; >@@ -54,6 +55,7 @@ > codeupdate.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false)); > Control importoptions = createJUnitTestSuiteImportOptionsControl(composite); > importoptions.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false)); >+ Dialog.applyDialogFont( composite ); > return composite; > } > >Index: src-recorder-http/org/eclipse/hyades/execution/recorder/http/ui/preferences/HttpRecorderPreferencePage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.tools.ui/src-recorder-http/org/eclipse/hyades/execution/recorder/http/ui/preferences/HttpRecorderPreferencePage.java,v >retrieving revision 1.13 >diff -u -r1.13 HttpRecorderPreferencePage.java >--- src-recorder-http/org/eclipse/hyades/execution/recorder/http/ui/preferences/HttpRecorderPreferencePage.java 22 Mar 2007 14:42:47 -0000 1.13 >+++ src-recorder-http/org/eclipse/hyades/execution/recorder/http/ui/preferences/HttpRecorderPreferencePage.java 5 Apr 2007 04:19:40 -0000 >@@ -27,6 +27,7 @@ > import org.eclipse.hyades.test.tools.ui.ToolsUiPlugin; > import org.eclipse.hyades.test.tools.ui.internal.resources.ToolsUiPluginResourceBundle; > import org.eclipse.hyades.test.ui.UiPlugin; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.preference.IPreferenceStore; > import org.eclipse.jface.preference.PreferencePage; > import org.eclipse.swt.SWT; >@@ -126,6 +127,9 @@ > } > > setControl(grandParent); >+ >+ Dialog.applyDialogFont( grandParent ); >+ > return grandParent; > > } >Index: src/org/eclipse/hyades/test/tools/ui/http/internal/preferences/HttpPreferencePage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.tools.ui/src/org/eclipse/hyades/test/tools/ui/http/internal/preferences/HttpPreferencePage.java,v >retrieving revision 1.5 >diff -u -r1.5 HttpPreferencePage.java >--- src/org/eclipse/hyades/test/tools/ui/http/internal/preferences/HttpPreferencePage.java 22 Mar 2007 14:42:46 -0000 1.5 >+++ src/org/eclipse/hyades/test/tools/ui/http/internal/preferences/HttpPreferencePage.java 5 Apr 2007 04:19:40 -0000 >@@ -28,6 +28,7 @@ > import org.eclipse.swt.layout.GridLayout; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Control; >+import org.eclipse.swt.widgets.Display; > import org.eclipse.swt.widgets.Group; > import org.eclipse.swt.widgets.Label; > import org.eclipse.swt.widgets.Text; >@@ -254,6 +255,8 @@ > > > loadSavedValues(); >+ >+ org.eclipse.jface.dialogs.Dialog.applyDialogFont( composite ); > > return composite; > } >#P org.eclipse.hyades.test.ui >Index: src/org/eclipse/hyades/test/ui/internal/preference/TestPreferencePage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/internal/preference/TestPreferencePage.java,v >retrieving revision 1.9 >diff -u -r1.9 TestPreferencePage.java >--- src/org/eclipse/hyades/test/ui/internal/preference/TestPreferencePage.java 22 Mar 2007 14:42:09 -0000 1.9 >+++ src/org/eclipse/hyades/test/ui/internal/preference/TestPreferencePage.java 5 Apr 2007 04:19:41 -0000 >@@ -19,13 +19,18 @@ > import org.eclipse.hyades.test.ui.internal.resources.UiPluginResourceBundle; > import org.eclipse.hyades.test.ui.internal.util.ContextIds; > import org.eclipse.hyades.ui.internal.util.GridDataUtil; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.preference.IPreferenceStore; > import org.eclipse.jface.preference.PreferencePage; > import org.eclipse.swt.SWT; > import org.eclipse.swt.events.ModifyEvent; > import org.eclipse.swt.events.ModifyListener; > import org.eclipse.swt.layout.GridLayout; >-import org.eclipse.swt.widgets.*; >+import org.eclipse.swt.widgets.Button; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.swt.widgets.Control; >+import org.eclipse.swt.widgets.Label; >+import org.eclipse.swt.widgets.Text; > import org.eclipse.ui.IWorkbench; > import org.eclipse.ui.IWorkbenchPreferencePage; > import org.eclipse.ui.help.WorkbenchHelp; >@@ -115,6 +120,8 @@ > WorkbenchHelp.setHelp(openEditorAfterCreationCheckBox, UiPlugin.getID() + ContextIds.TEST_PREF_EDIT_CONT); > WorkbenchHelp.setHelp(saveManagerIntervalText, UiPlugin.getID() + ContextIds.TEST_PREF_SAVE_CONT); > >+ Dialog.applyDialogFont( composite ); >+ > return composite; > } > >Index: src/org/eclipse/hyades/test/ui/internal/preference/ReportGeneratorPage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/internal/preference/ReportGeneratorPage.java,v >retrieving revision 1.6 >diff -u -r1.6 ReportGeneratorPage.java >--- src/org/eclipse/hyades/test/ui/internal/preference/ReportGeneratorPage.java 16 Mar 2007 03:02:21 -0000 1.6 >+++ src/org/eclipse/hyades/test/ui/internal/preference/ReportGeneratorPage.java 5 Apr 2007 04:19:41 -0000 >@@ -547,7 +547,9 @@ > > createTable(composite); > >- WorkbenchHelp.setHelp(parent, UiPlugin.getID() + ContextIds.REP_GEN_PREF_CONT); >+ WorkbenchHelp.setHelp(parent, UiPlugin.getID() + ContextIds.REP_GEN_PREF_CONT); >+ >+ Dialog.applyDialogFont( composite ); > > return composite; > } >Index: src/org/eclipse/hyades/test/ui/internal/preference/TestSuiteAssociation.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/internal/preference/TestSuiteAssociation.java,v >retrieving revision 1.5 >diff -u -r1.5 TestSuiteAssociation.java >--- src/org/eclipse/hyades/test/ui/internal/preference/TestSuiteAssociation.java 22 Mar 2007 14:42:09 -0000 1.5 >+++ src/org/eclipse/hyades/test/ui/internal/preference/TestSuiteAssociation.java 5 Apr 2007 04:19:41 -0000 >@@ -20,6 +20,7 @@ > import org.eclipse.hyades.ui.extension.IAssociationMappingRegistry; > import org.eclipse.hyades.ui.internal.extension.AssociationMappingRegistry; > import org.eclipse.hyades.ui.internal.preference.AssociationMappingPreferencePage; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Control; > import org.eclipse.ui.help.WorkbenchHelp; >@@ -136,6 +137,8 @@ > > WorkbenchHelp.setHelp(parent, UiPlugin.getID() + ContextIds.ASSOC_PREF_CONT); > >+ Dialog.applyDialogFont( control ); >+ > return control; > } > >#P org.eclipse.tptp.test.samples >Index: src/org/eclipse/hyades/test/tools/ui/common/internal/report/ReportStylesPreferencePage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.tptp.test.samples/src/org/eclipse/hyades/test/tools/ui/common/internal/report/ReportStylesPreferencePage.java,v >retrieving revision 1.4 >diff -u -r1.4 ReportStylesPreferencePage.java >--- src/org/eclipse/hyades/test/tools/ui/common/internal/report/ReportStylesPreferencePage.java 26 Jul 2005 21:31:27 -0000 1.4 >+++ src/org/eclipse/hyades/test/tools/ui/common/internal/report/ReportStylesPreferencePage.java 5 Apr 2007 04:19:41 -0000 >@@ -1,5 +1,5 @@ > /* *********************************************************** >- * Copyright (c) 2005 IBM Corporation and others. >+ * Copyright (c) 2005, 2007 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -12,6 +12,7 @@ > package org.eclipse.hyades.test.tools.ui.common.internal.report; > > import org.eclipse.hyades.test.tools.ui.common.internal.report.jscrib.StylesInitializer; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.preference.PreferencePage; > import org.eclipse.swt.SWT; > import org.eclipse.swt.layout.GridData; >@@ -100,7 +101,7 @@ > this.recentStylesEditor.setPage(this); > > sig_asv_graphic_style_chgd.connect(this,"refreshView()"); //$NON-NLS-1$ >- >+ Dialog.applyDialogFont( composite ); > return composite; > } > >#P org.eclipse.hyades.test.ui.extensions >Index: src/org/eclipse/hyades/test/ui/extensions/internal/TestLogViewerPreferencePage.java >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.ui.extensions/src/org/eclipse/hyades/test/ui/extensions/internal/TestLogViewerPreferencePage.java,v >retrieving revision 1.2 >diff -u -r1.2 TestLogViewerPreferencePage.java >--- src/org/eclipse/hyades/test/ui/extensions/internal/TestLogViewerPreferencePage.java 15 Mar 2007 19:53:10 -0000 1.2 >+++ src/org/eclipse/hyades/test/ui/extensions/internal/TestLogViewerPreferencePage.java 5 Apr 2007 04:19:42 -0000 >@@ -15,10 +15,13 @@ > import org.eclipse.hyades.test.ui.extensions.ExtensionsConstants; > import org.eclipse.hyades.test.ui.extensions.ExtensionsPlugin; > import org.eclipse.hyades.test.ui.extensions.internal.resources.ExtensionsPluginResourceBundle; >+import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.preference.FieldEditorPreferencePage; > import org.eclipse.jface.preference.StringFieldEditor; > import org.eclipse.swt.SWT; > import org.eclipse.swt.layout.GridData; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.swt.widgets.Control; > import org.eclipse.swt.widgets.Group; > import org.eclipse.ui.IWorkbench; > import org.eclipse.ui.IWorkbenchPreferencePage; >@@ -52,5 +55,13 @@ > addField(openURL); > } > >+ protected Control createContents(Composite parent) { >+ >+ Control composite = super.createContents( parent ); >+ Dialog.applyDialogFont( composite ); >+ >+ return composite; >+ } >+ > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169730
:
62968
| 63002