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 20681 Details for
Bug 93654
Provide select all / deselect all buttons for JavaWorkingSetPage
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]
JavaWorkingSetPage patch
JavaWorkingSetPage-patch.txt (text/plain), 2.66 KB, created by
Troy Bishop
on 2005-05-04 10:49:28 EDT
(
hide
)
Description:
JavaWorkingSetPage patch
Filename:
MIME Type:
Creator:
Troy Bishop
Created:
2005-05-04 10:49:28 EDT
Size:
2.66 KB
patch
obsolete
>Index: JavaWorkingSetPage.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetPage.java,v >retrieving revision 1.30 >diff -u -r1.30 JavaWorkingSetPage.java >--- JavaWorkingSetPage.java 13 Apr 2005 17:35:11 -0000 1.30 >+++ JavaWorkingSetPage.java 4 May 2005 14:31:37 -0000 >@@ -13,18 +13,22 @@ > import java.util.ArrayList; > import java.util.List; > >+import org.eclipse.core.runtime.IAdaptable; >+ > import org.eclipse.core.resources.IContainer; > import org.eclipse.core.resources.IProject; > import org.eclipse.core.resources.IResource; > import org.eclipse.core.resources.ResourcesPlugin; >-import org.eclipse.core.runtime.IAdaptable; > > import org.eclipse.swt.SWT; > import org.eclipse.swt.custom.BusyIndicator; > import org.eclipse.swt.events.ModifyEvent; > import org.eclipse.swt.events.ModifyListener; >+import org.eclipse.swt.events.SelectionAdapter; >+import org.eclipse.swt.events.SelectionEvent; > import org.eclipse.swt.layout.GridData; > import org.eclipse.swt.layout.GridLayout; >+import org.eclipse.swt.widgets.Button; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Label; > import org.eclipse.swt.widgets.Text; >@@ -171,6 +175,31 @@ > } > }); > >+ // Add select / deselect all buttons for bug 46669 >+ Composite buttonComposite = new Composite(composite, SWT.NONE); >+ buttonComposite.setLayout(new GridLayout(2, false)); >+ buttonComposite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); >+ >+ Button selectAllButton = new Button(buttonComposite, SWT.PUSH); >+ selectAllButton.setText(WorkingSetMessages.WorkingSetConfigurationDialog_selectAll_label); >+ selectAllButton.setToolTipText(WorkingSetMessages.WorkingSetConfigurationDialog_selectAll_toolTip); >+ selectAllButton.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent selectionEvent) { >+ fTree.setCheckedElements(fTreeContentProvider.getElements(fTree.getInput())); >+ validateInput(); >+ } >+ }); >+ >+ Button deselectAllButton = new Button(buttonComposite, SWT.PUSH); >+ deselectAllButton.setText(WorkingSetMessages.WorkingSetConfigurationDialog_deselectAll_label); >+ deselectAllButton.setToolTipText(WorkingSetMessages.WorkingSetConfigurationDialog_deselectAll_toolTip); >+ deselectAllButton.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent selectionEvent) { >+ fTree.setCheckedElements(new Object[0]); >+ validateInput(); >+ } >+ }); >+ > if (fWorkingSet != null) > fWorkingSetName.setText(fWorkingSet.getName()); > initializeCheckedState();
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 93654
: 20681 |
20682
|
20683
|
20736