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 81137 Details for
Bug 72327
[WorkbenchLauncher] Workspace Launcher Dialog grows in width for long paths
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
ChooseWorkspaceDialogPatch
ChooseWorkspaceDialogPatch.txt (text/plain), 1.45 KB, created by
Janusz Lembicz
on 2007-10-25 04:21:07 EDT
(
hide
)
Description:
ChooseWorkspaceDialogPatch
Filename:
MIME Type:
Creator:
Janusz Lembicz
Created:
2007-10-25 04:21:07 EDT
Size:
1.45 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: src/org/eclipse/ui/internal/ide/ChooseWorkspaceDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/ChooseWorkspaceDialog.java,v >retrieving revision 1.30 >diff -u -r1.30 ChooseWorkspaceDialog.java >--- src/org/eclipse/ui/internal/ide/ChooseWorkspaceDialog.java 26 Apr 2007 18:51:37 -0000 1.30 >+++ src/org/eclipse/ui/internal/ide/ChooseWorkspaceDialog.java 25 Oct 2007 08:12:47 -0000 >@@ -221,8 +221,8 @@ > > text = new Combo(panel, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN); > text.setFocus(); >- text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL >- | GridData.FILL_HORIZONTAL)); >+ text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_HORIZONTAL)); >+ > text.addModifyListener(new ModifyListener(){ > public void modifyText(ModifyEvent e) { > Button okButton = getButton(Window.OK); >@@ -240,7 +240,11 @@ > } > }); > setInitialTextValues(text); >- >+ >+ if(text.getText().length()>50){ >+ text.setLayoutData(new GridData(300,SWT.DEFAULT)); >+ } >+ > Button browseButton = new Button(panel, SWT.PUSH); > browseButton.setText(IDEWorkbenchMessages.ChooseWorkspaceDialog_browseLabel); > setButtonLayoutData(browseButton);
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 72327
:
14086
|
81137
|
81331