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 64044 Details for
Bug 126876
[WorkingSets] working set selection dialog: Allows multi select when it shouldn't
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]
proposed fix
fix_126876.txt (text/plain), 1.18 KB, created by
Benno Baumgartner
on 2007-04-17 10:56:13 EDT
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Benno Baumgartner
Created:
2007-04-17 10:56:13 EDT
Size:
1.18 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java,v >retrieving revision 1.30 >diff -u -r1.30 WorkingSetSelectionDialog.java >--- Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java 10 Oct 2006 14:16:26 -0000 1.30 >+++ Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java 17 Apr 2007 14:56:45 -0000 >@@ -326,6 +326,16 @@ > void handleSelectionChanged() { > updateButtonAvailability(); > } >+ >+ /* (non-Javadoc) >+ * @see org.eclipse.ui.internal.dialogs.AbstractWorkingSetDialog#updateButtonAvailability() >+ */ >+ protected void updateButtonAvailability() { >+ super.updateButtonAvailability(); >+ >+ if (!multiSelect && buttonSelectedSets.getSelection() && listViewer.getCheckedElements().length > 1) >+ getOkButton().setEnabled(false); >+ } > > /** > * Sets the selected working sets as the dialog result.
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 126876
: 64044