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 31415 Details for
Bug 119617
[Wizards] Missing icon in New Class wizard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
patch.txt (text/plain), 2.51 KB, created by
Curtis d'Entremont
on 2005-12-08 15:56:17 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Curtis d'Entremont
Created:
2005-12-08 15:56:17 EST
Size:
2.51 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface >Index: src/org/eclipse/jface/dialogs/TitleAreaDialog.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java,v >retrieving revision 1.27 >diff -u -r1.27 TitleAreaDialog.java >--- src/org/eclipse/jface/dialogs/TitleAreaDialog.java 8 Dec 2005 19:55:13 -0000 1.27 >+++ src/org/eclipse/jface/dialogs/TitleAreaDialog.java 8 Dec 2005 20:50:45 -0000 >@@ -41,7 +41,7 @@ > * <p> > * This dialog class may be subclassed. > */ >-public class TitleAreaDialog extends Dialog { >+public class TitleAreaDialog extends TrayDialog { > /** > * Image registry key for error message image. > */ >@@ -133,22 +133,21 @@ > * @see Dialog.createContents(Composite) > */ > protected Control createContents(Composite parent) { >+ // create the overall composite >+ Composite contents = new Composite(parent, SWT.NONE); >+ contents.setLayoutData(new GridData(GridData.FILL_BOTH)); > // initialize the dialog units >- initializeDialogUnits(parent); >+ initializeDialogUnits(contents); > FormLayout layout = new FormLayout(); >- parent.setLayout(layout); >- FormData data = new FormData(); >- data.top = new FormAttachment(0, 0); >- data.bottom = new FormAttachment(100, 0); >- parent.setLayoutData(data); >+ contents.setLayout(layout); > //Now create a work area for the rest of the dialog >- workArea = new Composite(parent, SWT.NULL); >+ workArea = new Composite(contents, SWT.NONE); > GridLayout childLayout = new GridLayout(); > childLayout.marginHeight = 0; > childLayout.marginWidth = 0; > childLayout.verticalSpacing = 0; > workArea.setLayout(childLayout); >- Control top = createTitleArea(parent); >+ Control top = createTitleArea(contents); > resetWorkAreaAttachments(top); > workArea.setFont(JFaceResources.getDialogFont()); > // initialize the dialog units >@@ -156,7 +155,7 @@ > // create the dialog area and button bar > dialogArea = createDialogArea(workArea); > buttonBar = createButtonBar(workArea); >- return parent; >+ return contents; > } > > /** >@@ -459,6 +458,7 @@ > //to avoid incomplete calculations. > if (dialogArea != null) > getShell().layout(true); >+ workArea.getParent().layout(true); > } > > /**
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 119617
:
31289
|
31415
|
32711